Lines Matching refs:AVCodecContext

97  * - Set up and open the AVCodecContext as usual.
204 These flags can be passed in AVCodecContext.flags before initialization.
343 These flags can be passed in AVCodecContext.export_side_data before initialization.
387 * sizeof(AVCodecContext) must not be used outside libav*.
389 typedef struct AVCodecContext {
624 void (*draw_horiz_band)(struct AVCodecContext *s,
653 enum AVPixelFormat (*get_format)(struct AVCodecContext *s, const enum AVPixelFormat * fmt);
1101 * AVCodecContext. This callback must use the frame values, not the codec
1167 int (*get_buffer2)(struct AVCodecContext *s, AVFrame *frame, int flags);
1514 int (*execute)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg), void *arg2, int *ret, int count, int size);
1533 int (*execute2)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg, int jobnr, int threadnr), void *arg2, int *ret, int count);
1876 * AVCodecContext.pix_fmt.
1937 * AVCodecContext.get_format callback)
1961 * AVCodecContext and output AVFrames have different meanings. The codec
2048 int (*get_encode_buffer)(struct AVCodecContext *s, AVPacket *pkt, int flags);
2057 } AVCodecContext;
2113 int (*alloc_frame)(AVCodecContext *avctx, AVFrame *frame);
2129 int (*start_frame)(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size);
2143 int (*decode_params)(AVCodecContext *avctx, int type, const uint8_t *buf, uint32_t buf_size);
2156 int (*decode_slice)(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size);
2167 int (*end_frame)(AVCodecContext *avctx);
2173 * AVCodecContext.get_buffer() and deallocated after
2174 * AVCodecContext.release_buffer().
2185 int (*init)(AVCodecContext *avctx);
2193 int (*uninit)(AVCodecContext *avctx);
2214 int (*frame_params)(AVCodecContext *avctx, AVBufferRef *hw_frames_ctx);
2330 * Allocate an AVCodecContext and set its fields to default values. The
2340 * @return An AVCodecContext filled with default values or NULL on failure.
2342 AVCodecContext *avcodec_alloc_context3(const AVCodec *codec);
2348 void avcodec_free_context(AVCodecContext **avctx);
2351 * Get the AVClass for AVCodecContext. It can be used in combination with
2382 const AVCodecContext *codec);
2392 int avcodec_parameters_to_context(AVCodecContext *codec,
2396 * Initialize the AVCodecContext to use the given AVCodec. Prior to using this
2423 * @param options A dictionary filled with AVCodecContext and codec-private options.
2430 int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options);
2433 * Close a given AVCodecContext and free all the data associated with it
2434 * (but not the AVCodecContext itself).
2436 * Calling this function on an AVCodecContext that hasn't been opened will free
2445 int avcodec_close(AVCodecContext *avctx);
2464 * The default callback for AVCodecContext.get_buffer2(). It is made public so
2468 int avcodec_default_get_buffer2(AVCodecContext *s, AVFrame *frame, int flags);
2471 * The default callback for AVCodecContext.get_encode_buffer(). It is made public so
2475 int avcodec_default_get_encode_buffer(AVCodecContext *s, AVPacket *pkt, int flags);
2484 void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height);
2493 void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,
2536 * @note The AVCodecContext MUST have been opened with @ref avcodec_open2()
2545 int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub,
2552 * Internally, this call will copy relevant AVCodecContext fields, which can
2554 * decoded. (For example AVCodecContext.skip_frame, which might direct the
2561 * @note The AVCodecContext MUST have been opened with @ref avcodec_open2()
2595 int avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt);
2618 int avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame);
2654 int avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame);
2671 int avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt);
2676 * a helper for preparing a AVHWFramesContext for AVCodecContext.hw_frames_ctx.
2685 * Alternatively to this, an API user can set AVCodecContext.hw_device_ctx,
2686 * which sets up AVCodecContext.hw_frames_ctx fully automatically, and makes
2706 * and to set AVCodecContext.hw_frames_ctx to it. If done, this must be done
2708 * AVCodecContext.hw_frames_ctx API rules).
2710 * called. Also, AVCodecContext.hw_frames_ctx is reset before get_format. So
2747 * The function is stateless, and does not change the AVCodecContext or the
2764 * support setting AVCodecContext.hw_frames_ctx at all,
2770 int avcodec_get_hw_frames_parameters(AVCodecContext *avctx,
2797 int pict_type; /* XXX: Put it back in AVCodecContext. */
2807 int repeat_pict; /* XXX: Put it back in AVCodecContext. */
2854 * units of AVCodecContext.time_base.
2868 * Presentation delay of current frame in units of AVCodecContext.time_base.
2900 * For audio, this is in units of 1 / AVCodecContext.sample_rate.
2901 * For all other types, this is in units of AVCodecContext.time_base.
2955 AVCodecContext *avctx,
2959 int (*split)(AVCodecContext *avctx, const uint8_t *buf, int buf_size);
2995 * len = av_parser_parse2(myparser, AVCodecContext, &data, &size,
3007 AVCodecContext *avctx,
3025 int avcodec_encode_subtitle(AVCodecContext *avctx, uint8_t *buf, int buf_size,
3077 enum AVPixelFormat avcodec_default_get_format(struct AVCodecContext *s, const enum AVPixelFormat * fmt);
3083 void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode);
3085 int avcodec_default_execute(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2),void *arg, int *ret, int count, int size);
3086 int avcodec_default_execute2(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2, int, int),void *arg, int *ret, int count);
3130 void avcodec_flush_buffers(AVCodecContext *avctx);
3140 int av_get_audio_frame_duration(AVCodecContext *avctx, int frame_bytes);
3163 int avcodec_is_open(AVCodecContext *s);