FFmpeg
|
pcmdec.c
Go to the documentation of this file.
63 { "sample_rate", "", offsetof(PCMAudioDemuxerContext, sample_rate), AV_OPT_TYPE_INT, {.i64 = 44100}, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM },
64 { "channels", "", offsetof(PCMAudioDemuxerContext, channels), AV_OPT_TYPE_INT, {.i64 = 1}, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM },
Definition: libavcodec/avcodec.h:312
Definition: libavcodec/avcodec.h:303
Definition: libavcodec/avcodec.h:301
void avpriv_set_pts_info(AVStream *s, int pts_wrap_bits, unsigned int pts_num, unsigned int pts_den)
Set the time base and wrapping info for a given stream.
Definition: libavformat/utils.c:3952
Definition: opt.h:222
int block_align
number of bytes per packet if constant and known or 0 Used by some WAV based audio codecs...
Definition: libavcodec/avcodec.h:1898
AVOptions.
AVStream * avformat_new_stream(AVFormatContext *s, const AVCodec *c)
Add a new stream to a media file.
Definition: libavformat/utils.c:3362
Definition: libavcodec/avcodec.h:313
int bits_per_coded_sample
bits per sample/pixel from the demuxer (needed for huffyuv).
Definition: libavcodec/avcodec.h:2546
Definition: libavcodec/avcodec.h:306
int av_get_bits_per_sample(enum AVCodecID codec_id)
Return codec bits per sample.
Definition: libavcodec/utils.c:2690
Definition: avutil.h:144
simple assert() macros that are a bit more flexible than ISO C assert().
Definition: pcmdec.c:29
Definition: libavcodec/avcodec.h:314
Definition: libavcodec/avcodec.h:302
Definition: libavcodec/avcodec.h:321
Definition: libavcodec/avcodec.h:300
Definition: libavcodec/avcodec.h:304
Definition: libavcodec/avcodec.h:305
Definition: libavcodec/avcodec.h:309
Definition: libavcodec/avcodec.h:319
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
Definition: opt.h:282
Definition: libavcodec/avcodec.h:311
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFilterBuffer structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining all references to the list are updated That means that if a filter requires that its input and output have the same format amongst a supported all it has to do is use a reference to the same list of formats query_formats can leave some formats unset and return AVERROR(EAGAIN) to cause the negotiation mechanism toagain later.That can be used by filters with complex requirements to use the format negotiated on one link to set the formats supported on another.Buffer references ownership and permissions
Definition: libavcodec/avcodec.h:322
Definition: libavcodec/avcodec.h:320
Main libavformat public API header.
Definition: libavcodec/avcodec.h:310
Definition: libavcodec/avcodec.h:299
struct PCMAudioDemuxerContext PCMAudioDemuxerContext
struct AVInputFormat * iformat
Can only be iformat or oformat, not both at the same time.
Definition: avformat.h:957
Definition: libavcodec/avcodec.h:307
or the Software in violation of any applicable export control laws in any jurisdiction Except as provided by mandatorily applicable law
Definition: MELODIA - License.txt:24
Definition: libavcodec/avcodec.h:308
Generated on Fri Dec 20 2024 06:56:05 for FFmpeg by 1.8.11