Lines Matching defs:codec

40 #include "codec.h"
118 * input frame/packet, the codec will typically return 1 output frame/packet,
121 * At the beginning of decoding or encoding, the codec might accept multiple
132 * End of stream situations. These require "flushing" (aka draining) the codec,
133 * as the codec might buffer multiple frames or packets internally for
142 * - Before decoding can be resumed again, the codec has to be reset with
149 * until the codec's internal buffer has been filled up (which is typically of
157 * at least will not fail with AVERROR(EAGAIN). In general, no codec will
160 * A codec is not allowed to return AVERROR(EAGAIN) for both sending and receiving. This
161 * would be an invalid state, which could put the codec user into an endless
171 * the codec randomly decides that it actually wants to consume a packet now
259 * @deprecated use codec parsers for packetizing input
340 /* codec capabilities */
398 const struct AVCodec *codec;
404 * A demuxer should set this to what is stored in the field used to identify the codec.
406 * which maximizes the information about the used codec.
407 * If the codec tag field in a container is larger than 32 bits then the demuxer should
421 * Unlike priv_data, this is not codec-specific. It is used in general
504 * As example of such codec time base see ISO/IEC 14496-2:2001(E)
604 * all codecs can do that. You must check the codec capabilities
1022 * May be 0 when the codec has AV_CODEC_CAP_VARIABLE_FRAME_SIZE set, then the
1066 * @deprecated use "downmix" codec private option
1101 * AVCodecContext. This callback must use the frame values, not the codec
1348 * decoded data, depending on the codec) and print an error message on mismatch.
1478 * Which multithreading methods are in use by the codec.
1506 * The codec may call this to execute several independent things.
1517 * The codec may call this to execute several independent things.
1779 #define FF_SUB_CHARENC_MODE_DO_NOTHING -1 ///< do nothing (demuxer outputs a stream supposed to be already in UTF-8, or the codec is bitmap for instance)
1785 * Skip processing alpha if supported by codec.
1915 * This should be used if either the codec device does not require
1961 * AVCodecContext and output AVFrames have different meanings. The codec
2069 * Name of the hardware accelerated codec.
2076 * Type of codec implemented by the hardware accelerator.
2097 * Hardware accelerated codec capabilities.
2118 * Meaningful frame information (codec specific) is guaranteed to
2124 * @param avctx the codec context
2137 * @param avctx the codec context
2148 * Meaningful slice information (codec specific) is guaranteed to
2151 * @param avctx the codec context
2164 * @param avctx the codec context
2207 * Fill the given hw_frames context with current codec parameters. Called
2224 * Hardware acceleration should be used for decoding even if the codec level
2241 * codec profile does not match the reported capabilities of the hardware.
2333 * @param codec if non-NULL, allocate private data and initialize defaults
2334 * for the given codec. It is illegal to then call avcodec_open2()
2335 * with a different codec.
2336 * If NULL, then the codec-specific defaults won't be initialized,
2342 AVCodecContext *avcodec_alloc_context3(const AVCodec *codec);
2345 * Free the codec context and everything associated with it and write NULL to
2375 * Fill the parameters struct based on the values from the supplied codec
2377 * of the corresponding fields in codec.
2382 const AVCodecContext *codec);
2385 * Fill the codec context based on the values from the supplied codec
2386 * parameters. Any allocated fields in codec that have a corresponding field in
2388 * Fields in codec that do not have a counterpart in par are not touched.
2392 int avcodec_parameters_to_context(AVCodecContext *codec,
2401 * retrieving a codec.
2408 * codec = avcodec_find_decoder(AV_CODEC_ID_H264);
2409 * if (!codec)
2412 * context = avcodec_alloc_context3(codec);
2414 * if (avcodec_open2(context, codec, opts) < 0)
2419 * @param codec The codec to open this context for. If a non-NULL codec has been
2422 * equal to the previously passed codec.
2423 * @param options A dictionary filled with AVCodecContext and codec-private options.
2430 int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options);
2437 * the codec-specific data allocated in avcodec_alloc_context3() with a non-NULL
2438 * codec. Subsequent calls will do nothing.
2441 * codec context (either open or closed). Opening and closing a codec context
2442 * multiple times is not supported anymore -- use multiple codec contexts
2479 * buffer that is acceptable for the codec if you do not use any horizontal
2482 * May only be used if a codec with AV_CODEC_CAP_DR1 has been opened.
2488 * buffer that is acceptable for the codec if you also ensure that all
2491 * May only be used if a codec with AV_CODEC_CAP_DR1 has been opened.
2539 * @param avctx the codec context
2564 * @param avctx codec context
2591 * AVERROR(EINVAL): codec not opened, it is an encoder, or requires flush
2600 * @param avctx codec context
2612 * AVERROR(EINVAL): codec not opened, or it is an encoder
2624 * @param avctx codec context
2650 * AVERROR(EINVAL): codec not opened, it is a decoder, or requires flush
2659 * @param avctx codec context
2668 * AVERROR(EINVAL): codec not opened, or it is a decoder
2683 * codec or hardware API specific details when manually allocating frames.
2735 * field to the number of maximum reference surfaces possible with the codec,
2949 int codec_ids[7]; /* several codec IDs are permitted */
2963 * Iterate over all registered codec parsers.
2968 * @return the next registered codec parser or NULL when the iteration is
2979 * @param avctx codec context.
3117 * Reset the internal codec state / flush internal buffers. Should be called
3135 * @param avctx codec context