24#ifndef AVCODEC_PRORESENC_KOSTYA_COMMON_H
25#define AVCODEC_PRORESENC_KOSTYA_COMMON_H
40#define MAX_MBS_PER_SLICE 8
44#define NUM_MB_LIMITS 4
46#define MAX_STORED_Q 16
94 ptrdiff_t linesize, int16_t *
block);
128 uint8_t **orig_buf,
int flags,
#define FF_VISIBILITY_PUSH_HIDDEN
#define FF_VISIBILITY_POP_HIDDEN
#define flags(name, subs,...)
static const AVColorPrimariesDesc color_primaries[AVCOL_PRI_NB]
enum AVPixelFormat pixfmt
#define DECLARE_ALIGNED(n, t, v)
Declare a variable that is aligned in memory.
AVPixelFormat
Pixel format.
AVColorPrimaries
Chromaticity coordinates of the source primaries.
AVColorTransferCharacteristic
Color Transfer Characteristic.
AVColorSpace
YUV colorspace type.
av_cold int ff_prores_kostya_encode_init(struct AVCodecContext *avctx, ProresContext *ctx, enum AVPixelFormat pixfmt)
uint8_t * ff_prores_kostya_write_picture_header(ProresContext *ctx, uint8_t *buf)
uint8_t * ff_prores_kostya_write_frame_header(struct AVCodecContext *avctx, ProresContext *ctx, uint8_t **orig_buf, int flags, enum AVColorPrimaries color_primaries, enum AVColorTransferCharacteristic color_trc, enum AVColorSpace colorspace)
@ PRORES_PROFILE_STANDARD
#define MAX_MBS_PER_SLICE
Describe the class of an AVClass context structure.
main external API structure.
This structure describes decoded (raw) audio or video data.
unsigned mb_height
height of the current picture in mb
const struct prores_profile * profile_info
struct ProresThreadData * tdata
int16_t quants[MAX_STORED_Q][64]
const uint8_t * quant_mat
int16_t blocks[MAX_PLANES][64 *4 *MAX_MBS_PER_SLICE]
int16_t quants_chroma[MAX_STORED_Q][64]
int frame_size_upper_bound
const uint8_t * quant_chroma_mat
const uint8_t * scantable
void(* fdct)(FDCTDSPContext *fdsp, const uint16_t *src, ptrdiff_t linesize, int16_t *block)
unsigned mb_width
width of the current picture in mb
int16_t custom_chroma_q[64]
const struct AVFrame * pic
int br_tab[NUM_MB_LIMITS]
static AVFormatContext * ctx