MJpegDecodeContext Struct Reference

#include <mjpegdec.h>

Collaboration diagram for MJpegDecodeContext:
Collaboration graph

Public Member Functions

 DECLARE_ALIGNED (16, int16_t, block)[64]
 

Data Fields

AVClassclass
 
AVCodecContextavctx
 
GetBitContext gb
 
int start_code
 
int buffer_size
 
uint8_tbuffer
 
int16_t quant_matrixes [4][64]
 
VLC vlcs [3][4]
 
int qscale [4]
 quantizer scale calculated from quant_matrixes More...
 
int org_height
 
int first_picture
 
int interlaced
 
int bottom_field
 
int lossless
 
int ls
 
int progressive
 
int rgb
 
int upscale_h
 
int chroma_height
 
int upscale_v
 
int rct
 
int pegasus_rct
 
int bits
 
int maxval
 
int near
 near lossless bound (si 0 for lossless) More...
 
int t1
 
int t2
 
int t3
 
int reset
 context halfing interval ?rename More...
 
int width
 
int height
 
int mb_width
 
int mb_height
 
int nb_components
 
int block_stride [MAX_COMPONENTS]
 
int component_id [MAX_COMPONENTS]
 
int h_count [MAX_COMPONENTS]
 
int v_count [MAX_COMPONENTS]
 
int comp_index [MAX_COMPONENTS]
 
int dc_index [MAX_COMPONENTS]
 
int ac_index [MAX_COMPONENTS]
 
int nb_blocks [MAX_COMPONENTS]
 
int h_scount [MAX_COMPONENTS]
 
int v_scount [MAX_COMPONENTS]
 
int h_max
 
int v_max
 
int quant_index [4]
 
int last_dc [MAX_COMPONENTS]
 
AVFrame picture
 
AVFramepicture_ptr
 
int got_picture
 we found a SOF and picture is valid, too. More...
 
int linesize [MAX_COMPONENTS]
 linesize << interlaced More...
 
int8_t * qscale_table
 
int16_t(*[MAX_COMPONENTSblocks )[64]
 intermediate sums (progressive mode) More...
 
uint8_tlast_nnz [MAX_COMPONENTS]
 
uint64_t coefs_finished [MAX_COMPONENTS]
 bitmask of which coefs have been completely decoded (progressive mode) More...
 
ScanTable scantable
 
DSPContext dsp
 
HpelDSPContext hdsp
 
int restart_interval
 
int restart_count
 
int buggy_avid
 
int cs_itu601
 
int interlace_polarity
 
int mjpb_skiptosod
 
int cur_scan
 
int flipped
 
uint16_t(* ljpeg_buffer )[4]
 
unsigned int ljpeg_buffer_size
 
int extern_huff
 

Detailed Description

Definition at line 41 of file mjpegdec.h.

Member Function Documentation

MJpegDecodeContext::DECLARE_ALIGNED ( 16  ,
int16_t  ,
block   
)

Field Documentation

int MJpegDecodeContext::ac_index[MAX_COMPONENTS]
int MJpegDecodeContext::bits
int MJpegDecodeContext::block_stride[MAX_COMPONENTS]
int16_t(*[MAX_COMPONENTS] MJpegDecodeContext::blocks)[64]

intermediate sums (progressive mode)

Definition at line 96 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_end(), ff_mjpeg_decode_sof(), mjpeg_decode_scan(), and mjpeg_decode_scan_progressive_ac().

uint8_t* MJpegDecodeContext::buffer

Definition at line 48 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_end(), ff_mjpeg_decode_init(), and ff_mjpeg_find_marker().

int MJpegDecodeContext::buffer_size

Definition at line 47 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init(), and ff_mjpeg_find_marker().

int MJpegDecodeContext::buggy_avid

Definition at line 106 of file mjpegdec.h.

Referenced by mjpeg_decode_app(), and mjpeg_decode_com().

int MJpegDecodeContext::chroma_height

Definition at line 63 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), and ff_mjpeg_decode_sof().

AVClass* MJpegDecodeContext::class

Definition at line 42 of file mjpegdec.h.

uint64_t MJpegDecodeContext::coefs_finished[MAX_COMPONENTS]

bitmask of which coefs have been completely decoded (progressive mode)

Definition at line 98 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), mjpeg_decode_scan(), and mjpeg_decode_scan_progressive_ac().

int MJpegDecodeContext::component_id[MAX_COMPONENTS]

Definition at line 78 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), and ff_mjpeg_decode_sos().

int MJpegDecodeContext::cs_itu601

Definition at line 107 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), and mjpeg_decode_com().

int MJpegDecodeContext::cur_scan
int MJpegDecodeContext::dc_index[MAX_COMPONENTS]
DSPContext MJpegDecodeContext::dsp
int MJpegDecodeContext::extern_huff

Definition at line 118 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init().

int MJpegDecodeContext::first_picture

Definition at line 55 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init(), ff_mjpeg_decode_sof(), and mxpeg_decode_frame().

int MJpegDecodeContext::flipped
int MJpegDecodeContext::got_picture

we found a SOF and picture is valid, too.

Definition at line 92 of file mjpegdec.h.

Referenced by decode_flush(), ff_mjpeg_decode_frame(), ff_mjpeg_decode_init(), ff_mjpeg_decode_sof(), ff_mjpeg_decode_sos(), mjpegb_decode_frame(), and mxpeg_decode_frame().

int MJpegDecodeContext::h_count[MAX_COMPONENTS]

Definition at line 79 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), and ff_mjpeg_decode_sos().

int MJpegDecodeContext::h_max

Definition at line 87 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), and ff_mjpeg_decode_sos().

int MJpegDecodeContext::h_scount[MAX_COMPONENTS]

Definition at line 85 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sos(), ljpeg_decode_yuv_scan(), and mjpeg_decode_scan().

HpelDSPContext MJpegDecodeContext::hdsp

Definition at line 101 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init(), and mjpeg_copy_block().

int MJpegDecodeContext::interlace_polarity
int MJpegDecodeContext::last_dc[MAX_COMPONENTS]

Definition at line 89 of file mjpegdec.h.

Referenced by decode_block(), decode_dc_progressive(), ff_mjpeg_decode_sos(), and handle_rstn().

uint8_t* MJpegDecodeContext::last_nnz[MAX_COMPONENTS]
int MJpegDecodeContext::linesize[MAX_COMPONENTS]
uint16_t(* MJpegDecodeContext::ljpeg_buffer)[4]

Definition at line 115 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_end(), and ljpeg_decode_rgb_scan().

unsigned int MJpegDecodeContext::ljpeg_buffer_size

Definition at line 116 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_end(), and ljpeg_decode_rgb_scan().

int MJpegDecodeContext::lossless
int MJpegDecodeContext::ls
int MJpegDecodeContext::maxval

Definition at line 69 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_jpegls_decode_picture().

int MJpegDecodeContext::mb_height
int MJpegDecodeContext::mb_width
int MJpegDecodeContext::mjpb_skiptosod

Definition at line 110 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sos(), and mjpegb_decode_frame().

int MJpegDecodeContext::nb_blocks[MAX_COMPONENTS]

Definition at line 84 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sos(), ljpeg_decode_yuv_scan(), and mjpeg_decode_scan().

int MJpegDecodeContext::nb_components

Definition at line 76 of file mjpegdec.h.

Referenced by ff_jpegls_decode_picture(), ff_mjpeg_decode_sof(), and ff_mjpeg_decode_sos().

int MJpegDecodeContext::near

near lossless bound (si 0 for lossless)

Definition at line 70 of file mjpegdec.h.

int MJpegDecodeContext::org_height

Definition at line 54 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init(), and ff_mjpeg_decode_sof().

int MJpegDecodeContext::pegasus_rct
int MJpegDecodeContext::progressive
int MJpegDecodeContext::qscale[4]

quantizer scale calculated from quant_matrixes

Definition at line 52 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_dqt(), ff_mjpeg_decode_frame(), and mjpegb_decode_frame().

int8_t* MJpegDecodeContext::qscale_table

Definition at line 94 of file mjpegdec.h.

int MJpegDecodeContext::quant_index[4]
int16_t MJpegDecodeContext::quant_matrixes[4][64]
int MJpegDecodeContext::rct

Definition at line 65 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), ff_mjpeg_decode_sos(), and ljpeg_decode_rgb_scan().

int MJpegDecodeContext::reset

context halfing interval ?rename

Definition at line 72 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_jpegls_decode_picture().

int MJpegDecodeContext::rgb

Definition at line 61 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), ff_mjpeg_decode_sos(), and mjpeg_decode_app().

ScanTable MJpegDecodeContext::scantable
int MJpegDecodeContext::start_code
int MJpegDecodeContext::t1

Definition at line 71 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_jpegls_decode_picture().

int MJpegDecodeContext::t2

Definition at line 71 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_jpegls_decode_picture().

int MJpegDecodeContext::t3

Definition at line 71 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_jpegls_decode_picture().

int MJpegDecodeContext::upscale_h

Definition at line 62 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), and ff_mjpeg_decode_sof().

int MJpegDecodeContext::upscale_v

Definition at line 64 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), and ff_mjpeg_decode_sof().

int MJpegDecodeContext::v_count[MAX_COMPONENTS]

Definition at line 80 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), and ff_mjpeg_decode_sos().

int MJpegDecodeContext::v_max

Definition at line 87 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), ff_mjpeg_decode_sos(), and mjpeg_decode_scan().

int MJpegDecodeContext::v_scount[MAX_COMPONENTS]

Definition at line 86 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sos(), ljpeg_decode_yuv_scan(), and mjpeg_decode_scan().

int MJpegDecodeContext::width

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