Go to the source code of this file.
|
| static enum AVPixelFormat | get_pixel_format (AVCodecContext *avctx, enum AVPixelFormat pix_fmt) |
| |
| static int | apv_decode_check_format (AVCodecContext *avctx, const APVRawFrameHeader *header) |
| |
| static av_cold void | apv_entropy_build_decode_lut (void) |
| |
| static av_cold int | apv_decode_init (AVCodecContext *avctx) |
| |
| static av_cold void | apv_decode_flush (AVCodecContext *avctx) |
| |
| static av_cold int | apv_decode_close (AVCodecContext *avctx) |
| |
| static int | apv_decode_block (AVCodecContext *avctx, void *output, ptrdiff_t pitch, GetBitContext *gbc, APVEntropyState *entropy_state, int bit_depth, int qp_shift, const uint16_t *qmatrix) |
| |
| static int | apv_decode_tile_component (AVCodecContext *avctx, void *data, int job, int thread) |
| |
| static void | apv_derive_tile_info (APVDerivedTileInfo *ti, const APVRawFrameHeader *fh) |
| |
| static int | apv_decode (AVCodecContext *avctx, AVFrame *output, APVRawFrame *input) |
| |
| static int | apv_decode_metadata (AVCodecContext *avctx, AVFrame *frame, const APVRawMetadata *md) |
| |
| static int | apv_receive_frame_internal (AVCodecContext *avctx, AVFrame *frame) |
| |
| static int | apv_receive_frame (AVCodecContext *avctx, AVFrame *frame) |
| |
◆ get_pixel_format()
◆ apv_decode_check_format()
◆ apv_entropy_build_decode_lut()
| static av_cold void apv_entropy_build_decode_lut |
( |
void |
| ) |
|
|
static |
◆ apv_decode_init()
◆ apv_decode_flush()
◆ apv_decode_close()
◆ apv_decode_block()
◆ apv_decode_tile_component()
| static int apv_decode_tile_component |
( |
AVCodecContext * |
avctx, |
|
|
void * |
data, |
|
|
int |
job, |
|
|
int |
thread |
|
) |
| |
|
static |
◆ apv_derive_tile_info()
◆ apv_decode()
◆ apv_decode_metadata()
◆ apv_receive_frame_internal()
◆ apv_receive_frame()
◆ apv_format_table
◆ ff_apv_decode_lut
◆ apv_decompose_unit_types
◆ apv_entropy_once
◆ ff_apv_decoder
Initial value:= {
.p.name = "apv",
},
}
Definition at line 606 of file apv_decode.c.
static int apv_receive_frame(AVCodecContext *avctx, AVFrame *frame)
static av_cold void close(AVCodecParserContext *s)
#define AV_PIX_FMT_YUVA444P16
static av_cold int apv_decode_init(AVCodecContext *avctx)
#define AV_PIX_FMT_GRAY16
#define AV_PIX_FMT_YUV444P10
#define AV_PIX_FMT_YUV422P16
#define AV_PIX_FMT_YUV444P16
#define AV_PIX_FMT_YUVA444P12
#define AV_PIX_FMT_GRAY14
static av_cold void apv_decode_flush(AVCodecContext *avctx)
#define CODEC_LONG_NAME(str)
#define AV_PIX_FMT_GRAY10
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
void(* flush)(AVBSFContext *ctx)
#define UPDATE_THREAD_CONTEXT(func)
#define AV_PIX_FMT_YUV422P10
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define AV_PIX_FMT_YUV422P12
#define FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM
The decoder extracts and fills its parameters even if the frame is skipped due to the skip_frame sett...
#define AV_PIX_FMT_YUV444P12
#define AV_CODEC_CAP_SLICE_THREADS
Codec supports slice-based (or partition-based) multithreading.
#define AV_PIX_FMT_YUVA444P10
static av_cold int apv_decode_close(AVCodecContext *avctx)
#define AV_PIX_FMT_YUV422P14
#define FF_CODEC_RECEIVE_FRAME_CB(func)
the pkt_dts and pkt_pts fields in AVFrame will work as usual Restrictions on codec whose streams don t reset across will not work because their bitstreams cannot be decoded in parallel *The contents of buffers must not be read before as well as code calling up to before the decode process starts Call have update_thread_context() run it in the next thread. Add AV_CODEC_CAP_FRAME_THREADS to the codec capabilities. There will be very little speed gain at this point but it should work. Use ff_thread_get_buffer()(or ff_progress_frame_get_buffer() in case you have inter-frame dependencies and use the ProgressFrame API) to allocate frame buffers. Call ff_progress_frame_report() after some part of the current picture has decoded. A good place to put this is where draw_horiz_band() is called - add this if it isn 't called anywhere
#define AV_PIX_FMT_YUV444P14
#define AV_PIX_FMT_GRAY12