FFmpeg  4.0
Data Fields
MagicYUVContext Struct Reference

Data Fields

AVFramep
 
int max
 
int bps
 
int slice_height
 
int nb_slices
 
int planes
 
int decorrelate
 
int color_matrix
 
int flags
 
int interlaced
 
uint8_tbuf
 
int hshift [4]
 
int vshift [4]
 
Sliceslices [4]
 
unsigned int slices_size [4]
 
uint8_t len [4][4096]
 
VLC vlc [4]
 
int(* huff_build )(VLC *vlc, uint8_t *len)
 
int(* magy_decode_slice )(AVCodecContext *avctx, void *tdata, int j, int threadnr)
 
LLVidDSPContext llviddsp
 
const AVClassclass
 
int frame_pred
 
PutBitContext pb
 
uint8_t format
 
int correlate
 
uint8_tslices [4]
 
unsigned slice_pos [4]
 
unsigned tables_size
 
HuffEntry he [4][256]
 
LLVidEncDSPContext llvidencdsp
 
void(* predict )(struct MagicYUVContext *s, uint8_t *src, uint8_t *dst, ptrdiff_t stride, int width, int height)
 

Detailed Description

Definition at line 53 of file magicyuv.c.

Field Documentation

◆ p

AVFrame * MagicYUVContext::p

Definition at line 54 of file magicyuv.c.

Referenced by magy_decode_frame(), magy_decode_slice(), and magy_decode_slice10().

◆ max

int MagicYUVContext::max

Definition at line 55 of file magicyuv.c.

Referenced by magy_decode_frame(), and magy_decode_slice10().

◆ bps

int MagicYUVContext::bps

Definition at line 56 of file magicyuv.c.

Referenced by magy_decode_frame(), and magy_decode_slice10().

◆ slice_height

int MagicYUVContext::slice_height

Definition at line 57 of file magicyuv.c.

Referenced by magy_decode_frame(), magy_decode_slice(), and magy_decode_slice10().

◆ nb_slices

int MagicYUVContext::nb_slices

Definition at line 58 of file magicyuv.c.

Referenced by magy_decode_frame(), magy_encode_frame(), and magy_encode_init().

◆ planes

int MagicYUVContext::planes

◆ decorrelate

int MagicYUVContext::decorrelate

Definition at line 60 of file magicyuv.c.

Referenced by magy_decode_frame(), magy_decode_slice(), and magy_decode_slice10().

◆ color_matrix

int MagicYUVContext::color_matrix

Definition at line 61 of file magicyuv.c.

Referenced by magy_decode_frame().

◆ flags

int MagicYUVContext::flags

Definition at line 62 of file magicyuv.c.

Referenced by magy_decode_frame().

◆ interlaced

int MagicYUVContext::interlaced

Definition at line 63 of file magicyuv.c.

Referenced by magy_decode_frame(), magy_decode_slice(), and magy_decode_slice10().

◆ buf

uint8_t* MagicYUVContext::buf

Definition at line 64 of file magicyuv.c.

Referenced by magy_decode_frame(), magy_decode_slice(), and magy_decode_slice10().

◆ hshift

int MagicYUVContext::hshift

◆ vshift

int MagicYUVContext::vshift

◆ slices [1/2]

Slice* MagicYUVContext::slices[4]

◆ slices_size

unsigned int MagicYUVContext::slices_size[4]

Definition at line 68 of file magicyuv.c.

Referenced by magy_decode_end(), and magy_decode_frame().

◆ len

uint8_t MagicYUVContext::len[4][4096]

Definition at line 69 of file magicyuv.c.

Referenced by build_huffman().

◆ vlc

VLC MagicYUVContext::vlc[4]

Definition at line 70 of file magicyuv.c.

Referenced by build_huffman(), magy_decode_end(), magy_decode_slice(), and magy_decode_slice10().

◆ huff_build

int(* MagicYUVContext::huff_build) (VLC *vlc, uint8_t *len)

Definition at line 71 of file magicyuv.c.

Referenced by build_huffman(), and magy_decode_frame().

◆ magy_decode_slice

int(* MagicYUVContext::magy_decode_slice) (AVCodecContext *avctx, void *tdata, int j, int threadnr)

Definition at line 72 of file magicyuv.c.

Referenced by magy_decode_frame().

◆ llviddsp

LLVidDSPContext MagicYUVContext::llviddsp

Definition at line 74 of file magicyuv.c.

Referenced by magy_decode_init(), magy_decode_slice(), and magy_decode_slice10().

◆ class

const AVClass* MagicYUVContext::class

Definition at line 54 of file magicyuvenc.c.

◆ frame_pred

int MagicYUVContext::frame_pred

Definition at line 55 of file magicyuvenc.c.

Referenced by magy_encode_frame(), and magy_encode_init().

◆ pb

PutBitContext MagicYUVContext::pb

Definition at line 56 of file magicyuvenc.c.

Referenced by magy_encode_frame().

◆ format

uint8_t MagicYUVContext::format

Definition at line 58 of file magicyuvenc.c.

Referenced by magy_encode_frame(), and magy_encode_init().

◆ correlate

int MagicYUVContext::correlate

Definition at line 63 of file magicyuvenc.c.

Referenced by magy_encode_frame(), and magy_encode_init().

◆ slices [2/2]

uint8_t* MagicYUVContext::slices[4]

Definition at line 66 of file magicyuvenc.c.

◆ slice_pos

unsigned MagicYUVContext::slice_pos[4]

Definition at line 67 of file magicyuvenc.c.

Referenced by magy_encode_frame().

◆ tables_size

unsigned MagicYUVContext::tables_size

Definition at line 68 of file magicyuvenc.c.

Referenced by magy_encode_frame().

◆ he

HuffEntry MagicYUVContext::he[4][256]

Definition at line 69 of file magicyuvenc.c.

Referenced by magy_encode_frame().

◆ llvidencdsp

LLVidEncDSPContext MagicYUVContext::llvidencdsp

Definition at line 70 of file magicyuvenc.c.

Referenced by magy_encode_frame(), magy_encode_init(), and median_predict().

◆ predict

void(* MagicYUVContext::predict) (struct MagicYUVContext *s, uint8_t *src, uint8_t *dst, ptrdiff_t stride, int width, int height)

Definition at line 71 of file magicyuvenc.c.

Referenced by magy_encode_frame(), and magy_encode_init().


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