Home | History | Annotate | Download | only in libavcodec

Lines Matching refs:AVCodecContext

692    These flags can be passed in AVCodecContext.flags before initialization.
1151 * sizeof(AVCodecContext) must not be used outside libav*.
1153 typedef struct AVCodecContext {
1383 void (*draw_horiz_band)(struct AVCodecContext *s,
1396 enum AVPixelFormat (*get_format)(struct AVCodecContext *s, const enum AVPixelFormat * fmt);
2029 int (*get_buffer)(struct AVCodecContext *c, AVFrame *pic);
2043 void (*release_buffer)(struct AVCodecContext *c, AVFrame *pic);
2058 int (*reget_buffer)(struct AVCodecContext *c, AVFrame *pic);
2075 * AVCodecContext. This callback must use the frame values, not the codec
2142 int (*get_buffer2)(struct AVCodecContext *s, AVFrame *frame, int flags);
2352 void (*rtp_callback)(struct AVCodecContext *avctx, void *data, int size, int mb_nb);
2643 int (*execute)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg), void *arg2, int *ret, int count, int size);
2663 int (*execute2)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg, int jobnr, int threadnr), void *arg2, int *ret, int count);
2667 * Can be used by execute() to store some per AVCodecContext stuff.
2879 } AVCodecContext;
2881 AVRational av_codec_get_pkt_timebase (const AVCodecContext *avctx);
2882 void av_codec_set_pkt_timebase (AVCodecContext *avctx, AVRational val);
2884 const AVCodecDescriptor *av_codec_get_codec_descriptor(const AVCodecContext *avctx);
2885 void av_codec_set_codec_descriptor(AVCodecContext *avctx, const AVCodecDescriptor *desc);
2887 int av_codec_get_lowres(const AVCodecContext *avctx);
2888 void av_codec_set_lowres(AVCodecContext *avctx, int val);
2952 int (*init_thread_copy)(AVCodecContext *);
2960 int (*update_thread_context)(AVCodecContext *dst, const AVCodecContext *src);
2973 int (*init)(AVCodecContext *);
2974 int (*encode_sub)(AVCodecContext *, uint8_t *buf, int buf_size,
2986 int (*encode2)(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame,
2988 int (*decode)(AVCodecContext *, void *outdata, int *outdata_size, AVPacket *avpkt);
2989 int (*close)(AVCodecContext *);
2994 void (*flush)(AVCodecContext *);
3051 int (*start_frame)(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size);
3064 int (*decode_slice)(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size);
3075 int (*end_frame)(AVCodecContext *avctx);
3081 * AVCodecContext.get_buffer() and deallocated after
3082 * AVCodecContext.release_buffer().
3209 * Allocate an AVCodecContext and set its fields to default values. The
3212 * @return An AVCodecContext filled with default values or NULL on failure.
3218 AVCodecContext *avcodec_alloc_context(void);
3223 AVCodecContext *avcodec_alloc_context2(enum AVMediaType);
3226 * Set the fields of the given AVCodecContext to default values.
3228 * @param s The AVCodecContext of which the fields should be set to default values.
3232 void avcodec_get_context_defaults(AVCodecContext *s);
3237 void avcodec_get_context_defaults2(AVCodecContext *s, enum AVMediaType);
3241 * Allocate an AVCodecContext and set its fields to default values. The
3252 * @return An AVCodecContext filled with default values or NULL on failure.
3255 AVCodecContext *avcodec_alloc_context3(const AVCodec *codec);
3258 * Set the fields of the given AVCodecContext to default values corresponding
3262 * to avcodec_alloc_context3() that allocated this AVCodecContext.
3264 * different codec on this AVCodecContext.
3266 int avcodec_get_context_defaults3(AVCodecContext *s, const AVCodec *codec);
3269 * Get the AVClass for AVCodecContext. It can be used in combination with
3293 * Copy the settings of the source AVCodecContext into the destination
3294 * AVCodecContext. The resulting destination codec context will be
3296 * can use this AVCodecContext to decode/encode video/audio data.
3303 int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src);
3335 * Initialize the AVCodecContext to use the given AVCodec. Prior to using this
3364 int avcodec_open(AVCodecContext *avctx, AVCodec *codec);
3368 * Initialize the AVCodecContext to use the given AVCodec. Prior to using this
3396 * @param options A dictionary filled with AVCodecContext and codec-private options.
3403 int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options);
3406 * Close a given AVCodecContext and free all the data associated with it
3407 * (but not the AVCodecContext itself).
3409 * Calling this function on an AVCodecContext that hasn't been opened will free
3414 int avcodec_close(AVCodecContext *avctx);
3583 attribute_deprecated int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic);
3584 attribute_deprecated void avcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic);
3585 attribute_deprecated int avcodec_default_reget_buffer(AVCodecContext *s, AVFrame *pic);
3589 * The default callback for AVCodecContext.get_buffer2(). It is made public so
3593 int avcodec_default_get_buffer2(AVCodecContext *s, AVFrame *frame, int flags);
3613 void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height);
3624 void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,
3682 attribute_deprecated int avcodec_decode_audio3(AVCodecContext *avctx, int16_t *samples,
3707 * calling the AVCodecContext.get_buffer2() callback.
3708 * When AVCodecContext.refcounted_frames is set to 1, the frame is
3713 * When AVCodecContext.refcounted_frames is set to 0, the returned
3726 int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
3756 * AVCodecContext.get_buffer2() callback.
3757 * When AVCodecContext.refcounted_frames is set to 1, the frame is
3762 * When AVCodecContext.refcounted_frames is set to 0, the returned
3776 int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
3796 int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub,
3820 int pict_type; /* XXX: Put it back in AVCodecContext. */
3830 int repeat_pict; /* XXX: Put it back in AVCodecContext. */
3896 * units of AVCodecContext.time_base.
3910 * Presentation delay of current frame in units of AVCodecContext.time_base.
3942 * For audio, this is in units of 1 / AVCodecContext.sample_rate.
3943 * For all other types, this is in units of AVCodecContext.time_base.
3965 AVCodecContext *avctx,
3969 int (*split)(AVCodecContext *avctx, const uint8_t *buf, int buf_size);
3995 * len = av_parser_parse2(myparser, AVCodecContext, &data, &size,
4007 AVCodecContext *avctx,
4018 AVCodecContext *avctx,
4074 int attribute_deprecated avcodec_encode_audio(AVCodecContext *avctx,
4118 int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
4137 int avcodec_encode_video(AVCodecContext *avctx, uint8_t *buf, int buf_size,
4175 int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
4178 int avcodec_encode_subtitle(AVCodecContext *avctx, uint8_t *buf, int buf_size,
4503 enum AVPixelFormat avcodec_default_get_format(struct AVCodecContext *s, const enum AVPixelFormat * fmt);
4509 void avcodec_set_dimensions(AVCodecContext *s, int width, int height);
4520 void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode);
4531 int avcodec_default_execute(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2),void *arg, int *ret, int count, int size);
4532 int avcodec_default_execute2(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2, int, int),void *arg, int *ret, int count);
4565 void avcodec_flush_buffers(AVCodecContext *avctx);
4601 int av_get_audio_frame_duration(AVCodecContext *avctx, int frame_bytes);
4616 AVCodecContext *avctx, const char *args,
4655 * @param avctx AVCodecContext accessed by the filter, may be NULL.
4675 AVCodecContext *avctx, const char *args,
4827 int avcodec_is_open(AVCodecContext *s);