FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
MJpegDecodeContext Struct Reference

#include <mjpegdec.h>

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
 
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)
 
int t1
 
int t2
 
int t3
 
int reset
 context halfing interval ?rename
 
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.
 
int linesize [MAX_COMPONENTS]
 linesize << interlaced
 
int8_t * qscale_table
 
DCTELEM block [64]
 
DCTELEM(*[MAX_COMPONENTSblocks )[64]
 intermediate sums (progressive mode)
 
uint8_tlast_nnz [MAX_COMPONENTS]
 
uint64_t coefs_finished [MAX_COMPONENTS]
 bitmask of which coefs have been completely decoded (progressive mode)
 
ScanTable scantable
 
DSPContext dsp
 
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 40 of file mjpegdec.h.

Field Documentation

AVClass* MJpegDecodeContext::class

Definition at line 41 of file mjpegdec.h.

AVCodecContext* MJpegDecodeContext::avctx
GetBitContext MJpegDecodeContext::gb
int MJpegDecodeContext::start_code
int MJpegDecodeContext::buffer_size

Definition at line 46 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init(), and ff_mjpeg_find_marker().

uint8_t* MJpegDecodeContext::buffer

Definition at line 47 of file mjpegdec.h.

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

int16_t MJpegDecodeContext::quant_matrixes[4][64]
VLC MJpegDecodeContext::vlcs[3][4]
int MJpegDecodeContext::qscale[4]

quantizer scale calculated from quant_matrixes

Definition at line 51 of file mjpegdec.h.

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

int MJpegDecodeContext::org_height

Definition at line 53 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init(), and ff_mjpeg_decode_sof().

int MJpegDecodeContext::first_picture

Definition at line 54 of file mjpegdec.h.

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

int MJpegDecodeContext::interlaced
int MJpegDecodeContext::bottom_field
int MJpegDecodeContext::lossless
int MJpegDecodeContext::ls
int MJpegDecodeContext::progressive
int MJpegDecodeContext::rgb

Definition at line 60 of file mjpegdec.h.

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

int MJpegDecodeContext::upscale_h

Definition at line 61 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), and ff_mjpeg_decode_sof().

int MJpegDecodeContext::chroma_height

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 63 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), and ff_mjpeg_decode_sof().

int MJpegDecodeContext::rct

Definition at line 64 of file mjpegdec.h.

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

int MJpegDecodeContext::pegasus_rct
int MJpegDecodeContext::bits
int MJpegDecodeContext::maxval

Definition at line 68 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_jpegls_decode_picture().

int MJpegDecodeContext::near

near lossless bound (si 0 for lossless)

Definition at line 69 of file mjpegdec.h.

int MJpegDecodeContext::t1

Definition at line 70 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_jpegls_decode_picture().

int MJpegDecodeContext::t2

Definition at line 70 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_jpegls_decode_picture().

int MJpegDecodeContext::t3

Definition at line 70 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_jpegls_decode_picture().

int MJpegDecodeContext::reset

context halfing interval ?rename

Definition at line 71 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_jpegls_decode_picture().

int MJpegDecodeContext::width
int MJpegDecodeContext::height
int MJpegDecodeContext::mb_width
int MJpegDecodeContext::mb_height
int MJpegDecodeContext::nb_components
int MJpegDecodeContext::block_stride[MAX_COMPONENTS]
int MJpegDecodeContext::component_id[MAX_COMPONENTS]

Definition at line 77 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), and ff_mjpeg_decode_sos().

int MJpegDecodeContext::h_count[MAX_COMPONENTS]

Definition at line 78 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), and ff_mjpeg_decode_sos().

int MJpegDecodeContext::v_count[MAX_COMPONENTS]

Definition at line 79 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), and ff_mjpeg_decode_sos().

int MJpegDecodeContext::comp_index[MAX_COMPONENTS]
int MJpegDecodeContext::dc_index[MAX_COMPONENTS]
int MJpegDecodeContext::ac_index[MAX_COMPONENTS]
int MJpegDecodeContext::nb_blocks[MAX_COMPONENTS]

Definition at line 83 of file mjpegdec.h.

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

int MJpegDecodeContext::h_scount[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::v_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().

int MJpegDecodeContext::h_max

Definition at line 86 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), and ff_mjpeg_decode_sos().

int MJpegDecodeContext::v_max

Definition at line 86 of file mjpegdec.h.

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

int MJpegDecodeContext::quant_index[4]
int MJpegDecodeContext::last_dc[MAX_COMPONENTS]

Definition at line 88 of file mjpegdec.h.

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

AVFrame MJpegDecodeContext::picture
AVFrame* MJpegDecodeContext::picture_ptr
int MJpegDecodeContext::got_picture

we found a SOF and picture is valid, too.

Definition at line 91 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::linesize[MAX_COMPONENTS]
int8_t* MJpegDecodeContext::qscale_table
DCTELEM MJpegDecodeContext::block[64]

Definition at line 94 of file mjpegdec.h.

Referenced by mjpeg_decode_scan().

DCTELEM(*[MAX_COMPONENTS] MJpegDecodeContext::blocks)[64]

intermediate sums (progressive mode)

Definition at line 95 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::last_nnz[MAX_COMPONENTS]
uint64_t MJpegDecodeContext::coefs_finished[MAX_COMPONENTS]

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

Definition at line 97 of file mjpegdec.h.

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

ScanTable MJpegDecodeContext::scantable
DSPContext MJpegDecodeContext::dsp
int MJpegDecodeContext::restart_interval
int MJpegDecodeContext::restart_count
int MJpegDecodeContext::buggy_avid

Definition at line 104 of file mjpegdec.h.

Referenced by mjpeg_decode_app(), and mjpeg_decode_com().

int MJpegDecodeContext::cs_itu601

Definition at line 105 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), and mjpeg_decode_com().

int MJpegDecodeContext::interlace_polarity
int MJpegDecodeContext::mjpb_skiptosod

Definition at line 108 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sos(), and mjpegb_decode_frame().

int MJpegDecodeContext::cur_scan
int MJpegDecodeContext::flipped
uint16_t(* MJpegDecodeContext::ljpeg_buffer)[4]

Definition at line 113 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_end(), and ljpeg_decode_rgb_scan().

unsigned int MJpegDecodeContext::ljpeg_buffer_size

Definition at line 114 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_end(), and ljpeg_decode_rgb_scan().

int MJpegDecodeContext::extern_huff

Definition at line 116 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init().


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