#include <stdatomic.h>
#include "libavutil/mastering_display_metadata.h"
#include "libavutil/mem_internal.h"
#include "libavutil/pixdesc.h"
#include "libavutil/thread.h"
#include "apv.h"
#include "apv_decode.h"
#include "apv_dsp.h"
#include "avcodec.h"
#include "cbs.h"
#include "cbs_apv.h"
#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
#include "thread.h"
Go to the source code of this file.
|
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 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 int | apv_decode (AVCodecContext *avctx, AVFrame *output, APVRawFrame *input) |
|
static int | apv_decode_metadata (AVCodecContext *avctx, AVFrame *frame, const APVRawMetadata *md) |
|
static int | apv_decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *packet) |
|
◆ 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_close()
◆ apv_decode_block()
◆ apv_decode_tile_component()
static int apv_decode_tile_component |
( |
AVCodecContext * |
avctx, |
|
|
void * |
data, |
|
|
int |
job, |
|
|
int |
thread |
|
) |
| |
|
static |
◆ apv_decode()
◆ apv_decode_metadata()
◆ apv_decode_frame()
◆ apv_format_table
◆ decode_lut
◆ apv_decompose_unit_types
◆ apv_entropy_once
◆ ff_apv_decoder
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 FF_CODEC_DECODE_CB(func)
#define AV_PIX_FMT_YUV444P16
static int apv_decode_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *packet)
#define AV_PIX_FMT_YUVA444P12
#define AV_PIX_FMT_GRAY14
#define CODEC_LONG_NAME(str)
#define AV_PIX_FMT_GRAY10
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
#define AV_PIX_FMT_YUV422P10
@ AV_PIX_FMT_GRAY8
Y , 8bpp.
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 AV_PIX_FMT_YUV444P12
@ AV_PIX_FMT_YUVA444P
planar YUV 4:4:4 32bpp, (1 Cr & Cb sample per 1x1 Y & A samples)
#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)
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
@ AV_PIX_FMT_YUV422P
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
#define AV_PIX_FMT_GRAY12