FFmpeg  4.0
Data Fields
ProresContext Struct Reference

#include <libavcodec/proresdec.h>

Data Fields

BlockDSPContext bdsp
 
ProresDSPContext prodsp
 
AVFrameframe
 
int frame_type
 0 = progressive, 1 = tff, 2 = bff More...
 
uint8_t qmat_luma [64]
 dequantization matrix for luma More...
 
uint8_t qmat_chroma [64]
 dequantization matrix for chroma More...
 
SliceContextslices
 
int slice_count
 number of slices in the current picture More...
 
unsigned mb_width
 width of the current picture in mb More...
 
unsigned mb_height
 height of the current picture in mb More...
 
uint8_t progressive_scan [64]
 
uint8_t interlaced_scan [64]
 
const uint8_tscan
 
int first_field
 
int alpha_info
 
ProresDSPContext dsp
 
ScanTable scantable
 
int scantable_type
 -1 = uninitialized, 0 = progressive, 1/2 = interlaced More...
 
int pic_format
 2 = 422, 3 = 444 More...
 
int qmat_changed
 1 - global quantization matrices changed More...
 
int total_slices
 total number of slices in a picture More...
 
ProresThreadDataslice_data
 
int pic_num
 
int chroma_factor
 
int mb_chroma_factor
 
int num_chroma_blocks
 number of chrominance blocks in a macroblock More...
 
int num_x_slices
 
int num_y_slices
 
int slice_width_factor
 
int slice_height_factor
 
int num_x_mbs
 
int num_y_mbs
 
FDCTDSPContext fdsp
 
uint8_tfill_y
 
uint8_tfill_u
 
uint8_tfill_v
 
int qmat_luma [16][64]
 
int qmat_chroma [16][64]
 
AVClassclass
 
int16_t blocks [MAX_PLANES][64 *4 *MAX_MBS_PER_SLICE]
 
uint16_t emu_buf [16 *16]
 
int16_t quants [MAX_STORED_Q][64]
 
int16_t custom_q [64]
 
const uint8_tquant_mat
 
const uint8_tscantable
 
void(* fdct )(FDCTDSPContext *fdsp, const uint16_t *src, ptrdiff_t linesize, int16_t *block)
 
const AVFramepic
 
int mb_width
 
int mb_height
 
int mbs_per_slice
 
int slices_width
 
int slices_per_picture
 
int pictures_per_frame
 
int cur_picture_idx
 
int num_planes
 
int bits_per_mb
 
int force_quant
 
int alpha_bits
 
int warn
 
char * vendor
 
int quant_sel
 
int frame_size_upper_bound
 
int profile
 
const struct prores_profileprofile_info
 
intslice_q
 
ProresThreadDatatdata
 

Detailed Description

Definition at line 37 of file proresdec.h.

Field Documentation

◆ bdsp

BlockDSPContext ProresContext::bdsp

◆ prodsp

ProresDSPContext ProresContext::prodsp

◆ frame

AVFrame * ProresContext::frame

◆ frame_type

int ProresContext::frame_type

0 = progressive, 1 = tff, 2 = bff

0 = progressive, 1 = top-field first, 2 = bottom-field first

Definition at line 41 of file proresdec.h.

Referenced by decode_frame(), decode_frame_header(), decode_picture_header(), and decode_slice_thread().

◆ qmat_luma [1/2]

uint8_t ProresContext::qmat_luma

dequantization matrix for luma

Definition at line 42 of file proresdec.h.

Referenced by decode_frame_header(), decode_init(), decode_slice(), decode_slice_thread(), encode_slice_data(), and prores_encode_init().

◆ qmat_chroma [1/2]

uint8_t ProresContext::qmat_chroma

dequantization matrix for chroma

Definition at line 43 of file proresdec.h.

Referenced by decode_frame_header(), decode_init(), decode_slice(), decode_slice_thread(), encode_slice_data(), and prores_encode_init().

◆ slices

SliceContext* ProresContext::slices

◆ slice_count

int ProresContext::slice_count

number of slices in the current picture

Definition at line 45 of file proresdec.h.

Referenced by decode_picture(), and decode_picture_header().

◆ mb_width [1/2]

unsigned ProresContext::mb_width

width of the current picture in mb

Definition at line 46 of file proresdec.h.

Referenced by decode_picture_header(), encode_frame(), encode_init(), and find_quant_thread().

◆ mb_height [1/2]

unsigned ProresContext::mb_height

height of the current picture in mb

Definition at line 47 of file proresdec.h.

Referenced by decode_picture_header(), encode_frame(), and encode_init().

◆ progressive_scan

uint8_t ProresContext::progressive_scan[64]

Definition at line 48 of file proresdec.h.

Referenced by decode_frame_header(), and decode_init().

◆ interlaced_scan

uint8_t ProresContext::interlaced_scan[64]

Definition at line 49 of file proresdec.h.

Referenced by decode_frame_header(), and decode_init().

◆ scan

const uint8_t* ProresContext::scan

Definition at line 50 of file proresdec.h.

Referenced by decode_ac_coeffs(), and decode_frame_header().

◆ first_field

int ProresContext::first_field

Definition at line 51 of file proresdec.h.

Referenced by decode_frame(), and decode_slice_thread().

◆ alpha_info

int ProresContext::alpha_info

◆ dsp

ProresDSPContext ProresContext::dsp

◆ scantable [1/2]

ScanTable ProresContext::scantable

◆ scantable_type

int ProresContext::scantable_type

-1 = uninitialized, 0 = progressive, 1/2 = interlaced

Definition at line 58 of file proresdec_lgpl.c.

Referenced by decode_frame_header(), and decode_init().

◆ pic_format

int ProresContext::pic_format

2 = 422, 3 = 444

Definition at line 61 of file proresdec_lgpl.c.

Referenced by decode_frame_header().

◆ qmat_changed

int ProresContext::qmat_changed

1 - global quantization matrices changed

Definition at line 64 of file proresdec_lgpl.c.

Referenced by decode_frame_header(), and decode_slice().

◆ total_slices

int ProresContext::total_slices

total number of slices in a picture

Definition at line 65 of file proresdec_lgpl.c.

Referenced by decode_init(), and decode_picture_header().

◆ slice_data

ProresThreadData* ProresContext::slice_data

◆ pic_num

int ProresContext::pic_num

Definition at line 67 of file proresdec_lgpl.c.

Referenced by decode_picture(), and decode_slice().

◆ chroma_factor

int ProresContext::chroma_factor

◆ mb_chroma_factor

int ProresContext::mb_chroma_factor

Definition at line 69 of file proresdec_lgpl.c.

Referenced by decode_frame_header(), and decode_slice().

◆ num_chroma_blocks

int ProresContext::num_chroma_blocks

number of chrominance blocks in a macroblock

Definition at line 70 of file proresdec_lgpl.c.

Referenced by decode_frame_header(), and decode_slice().

◆ num_x_slices

int ProresContext::num_x_slices

Definition at line 71 of file proresdec_lgpl.c.

◆ num_y_slices

int ProresContext::num_y_slices

Definition at line 72 of file proresdec_lgpl.c.

◆ slice_width_factor

int ProresContext::slice_width_factor

Definition at line 73 of file proresdec_lgpl.c.

Referenced by decode_picture(), and decode_picture_header().

◆ slice_height_factor

int ProresContext::slice_height_factor

Definition at line 74 of file proresdec_lgpl.c.

Referenced by decode_picture_header().

◆ num_x_mbs

int ProresContext::num_x_mbs

Definition at line 75 of file proresdec_lgpl.c.

Referenced by decode_picture(), and decode_picture_header().

◆ num_y_mbs

int ProresContext::num_y_mbs

Definition at line 76 of file proresdec_lgpl.c.

Referenced by decode_picture(), and decode_picture_header().

◆ fdsp

FDCTDSPContext ProresContext::fdsp

◆ fill_y

uint8_t* ProresContext::fill_y

Definition at line 149 of file proresenc_anatoliy.c.

Referenced by encode_slice(), prores_encode_close(), and prores_encode_init().

◆ fill_u

uint8_t* ProresContext::fill_u

Definition at line 150 of file proresenc_anatoliy.c.

Referenced by encode_slice(), and prores_encode_init().

◆ fill_v

uint8_t* ProresContext::fill_v

Definition at line 151 of file proresenc_anatoliy.c.

Referenced by encode_slice(), and prores_encode_init().

◆ qmat_luma [2/2]

int ProresContext::qmat_luma[16][64]

Definition at line 153 of file proresenc_anatoliy.c.

◆ qmat_chroma [2/2]

int ProresContext::qmat_chroma[16][64]

Definition at line 154 of file proresenc_anatoliy.c.

◆ class

AVClass* ProresContext::class

Definition at line 199 of file proresenc_kostya.c.

◆ blocks

int16_t ProresContext::blocks[MAX_PLANES][64 *4 *MAX_MBS_PER_SLICE]

Definition at line 200 of file proresenc_kostya.c.

Referenced by encode_slice().

◆ emu_buf

uint16_t ProresContext::emu_buf[16 *16]

Definition at line 201 of file proresenc_kostya.c.

Referenced by encode_slice().

◆ quants

int16_t ProresContext::quants[MAX_STORED_Q][64]

Definition at line 202 of file proresenc_kostya.c.

Referenced by encode_init(), encode_slice(), and find_slice_quant().

◆ custom_q

int16_t ProresContext::custom_q[64]

Definition at line 203 of file proresenc_kostya.c.

Referenced by encode_slice().

◆ quant_mat

const uint8_t* ProresContext::quant_mat

Definition at line 204 of file proresenc_kostya.c.

Referenced by encode_frame(), encode_init(), encode_slice(), and find_slice_quant().

◆ scantable [2/2]

const uint8_t* ProresContext::scantable

Definition at line 205 of file proresenc_kostya.c.

◆ fdct

void(* ProresContext::fdct) (FDCTDSPContext *fdsp, const uint16_t *src, ptrdiff_t linesize, int16_t *block)

Definition at line 207 of file proresenc_kostya.c.

Referenced by encode_init(), and get_slice_data().

◆ pic

const AVFrame* ProresContext::pic

Definition at line 211 of file proresenc_kostya.c.

Referenced by encode_frame(), and find_slice_quant().

◆ mb_width [2/2]

int ProresContext::mb_width

Definition at line 212 of file proresenc_kostya.c.

◆ mb_height [2/2]

int ProresContext::mb_height

Definition at line 212 of file proresenc_kostya.c.

◆ mbs_per_slice

int ProresContext::mbs_per_slice

Definition at line 213 of file proresenc_kostya.c.

Referenced by encode_frame(), encode_init(), and find_quant_thread().

◆ slices_width

int ProresContext::slices_width

Definition at line 215 of file proresenc_kostya.c.

Referenced by encode_frame(), encode_init(), and find_quant_thread().

◆ slices_per_picture

int ProresContext::slices_per_picture

Definition at line 216 of file proresenc_kostya.c.

Referenced by encode_frame(), and encode_init().

◆ pictures_per_frame

int ProresContext::pictures_per_frame

Definition at line 217 of file proresenc_kostya.c.

Referenced by encode_frame(), encode_init(), encode_slice(), and find_slice_quant().

◆ cur_picture_idx

int ProresContext::cur_picture_idx

Definition at line 218 of file proresenc_kostya.c.

Referenced by encode_frame(), encode_slice(), and find_slice_quant().

◆ num_planes

int ProresContext::num_planes

Definition at line 219 of file proresenc_kostya.c.

Referenced by encode_frame(), encode_init(), encode_slice(), and find_slice_quant().

◆ bits_per_mb

int ProresContext::bits_per_mb

Definition at line 220 of file proresenc_kostya.c.

Referenced by encode_init(), and find_slice_quant().

◆ force_quant

int ProresContext::force_quant

Definition at line 221 of file proresenc_kostya.c.

Referenced by encode_frame(), encode_init(), and encode_slice().

◆ alpha_bits

int ProresContext::alpha_bits

◆ warn

int ProresContext::warn

Definition at line 223 of file proresenc_kostya.c.

Referenced by encode_frame().

◆ vendor

char* ProresContext::vendor

Definition at line 225 of file proresenc_kostya.c.

Referenced by encode_frame(), and encode_init().

◆ quant_sel

int ProresContext::quant_sel

Definition at line 226 of file proresenc_kostya.c.

Referenced by encode_frame(), and encode_init().

◆ frame_size_upper_bound

int ProresContext::frame_size_upper_bound

Definition at line 228 of file proresenc_kostya.c.

Referenced by encode_frame(), and encode_init().

◆ profile

int ProresContext::profile

Definition at line 230 of file proresenc_kostya.c.

Referenced by encode_init().

◆ profile_info

const struct prores_profile* ProresContext::profile_info

Definition at line 231 of file proresenc_kostya.c.

Referenced by encode_init(), and find_slice_quant().

◆ slice_q

int* ProresContext::slice_q

Definition at line 233 of file proresenc_kostya.c.

Referenced by encode_close(), encode_frame(), encode_init(), and find_quant_thread().

◆ tdata

ProresThreadData* ProresContext::tdata

Definition at line 235 of file proresenc_kostya.c.

Referenced by encode_close(), encode_init(), and find_quant_thread().


The documentation for this struct was generated from the following files: