Lines Matching defs:get_format
653 enum AVPixelFormat (*get_format)(struct AVCodecContext *s, const enum AVPixelFormat * fmt);
1737 * - decoding: Set by libavcodec before calling get_format()
1864 * - decoding: This field should be set by the caller from the get_format()
1866 * unreffed by libavcodec before the get_format() call.
1919 * instead. When hw_frames_ctx is set in get_format() for a decoder, this
1921 * may again be used on a following one after another get_format() call.
1937 * AVCodecContext.get_format callback)
2190 * This will be called from get_format() or avcodec_close(), after hwaccel
2208 * from get_format. Refer to avcodec_get_hw_frames_parameters() for
2675 * decoding. This is meant to get called from the get_format callback, and is
2692 * - It must be called from get_format with the same avctx parameter that was
2693 * passed to get_format. Calling it outside of get_format is not allowed, and
2699 * get_format callback returns.)
2700 * - The hw_pix_fmt must be one of the choices suggested by get_format. If the
2702 * the user must return the same hw_pix_fmt from get_format.
2707 * before returning from get_format (this is implied by the normal
2709 * - The AVHWFramesContext parameters may change every time time get_format is
2710 * called. Also, AVCodecContext.hw_frames_ctx is reset before get_format. So
2712 * get_format call.
2750 * @param avctx The context which is currently calling get_format, and which
2755 * @param hw_pix_fmt The hwaccel format you are going to return from get_format.