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

#include <mjpegdec.h>

Data Fields

AVClassclass
 
AVCodecContextavctx
 
GetBitContext gb
 
int buf_size
 
int start_code
 
int buffer_size
 
uint8_tbuffer
 
uint16_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
 
uint8_t upscale_h [4]
 
uint8_t upscale_v [4]
 
int rct
 
int pegasus_rct
 
int bits
 
int colr
 
int xfrm
 
int adobe_transform
 
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 quant_sindex [MAX_COMPONENTS]
 
int h_max
 
int v_max
 
int quant_index [4]
 
int last_dc [MAX_COMPONENTS]
 
AVFramepicture
 
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 block [64]
 
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...
 
int palette_index
 
ScanTable scantable
 
BlockDSPContext bdsp
 
HpelDSPContext hdsp
 
IDCTDSPContext idsp
 
int restart_interval
 
int restart_count
 
int buggy_avid
 
int cs_itu601
 
int interlace_polarity
 
int multiscope
 
int mjpb_skiptosod
 
int cur_scan
 
int flipped
 
uint16_t(* ljpeg_buffer )[4]
 
unsigned int ljpeg_buffer_size
 
int extern_huff
 
AVDictionaryexif_metadata
 
AVStereo3Dstereo3d
 
const AVPixFmtDescriptorpix_desc
 !< stereoscopic information (cached, since it is read before frame allocation) More...
 
uint8_t ** iccdata
 
inticcdatalens
 
int iccnum
 
int iccread
 
const uint8_traw_image_buffer
 
size_t raw_image_buffer_size
 
const uint8_traw_scan_buffer
 
size_t raw_scan_buffer_size
 
uint8_t raw_huffman_lengths [2][4][16]
 
uint8_t raw_huffman_values [2][4][256]
 
enum AVPixelFormat hwaccel_sw_pix_fmt
 
enum AVPixelFormat hwaccel_pix_fmt
 
voidhwaccel_picture_private
 

Detailed Description

Definition at line 46 of file mjpegdec.h.

Field Documentation

AVClass* MJpegDecodeContext::class

Definition at line 47 of file mjpegdec.h.

AVCodecContext* MJpegDecodeContext::avctx
GetBitContext MJpegDecodeContext::gb
int MJpegDecodeContext::buf_size

Definition at line 50 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), and ff_mjpeg_decode_sof().

int MJpegDecodeContext::start_code
int MJpegDecodeContext::buffer_size

Definition at line 53 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init(), and ff_mjpeg_find_marker().

uint8_t* MJpegDecodeContext::buffer

Definition at line 54 of file mjpegdec.h.

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

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

quantizer scale calculated from quant_matrixes

Definition at line 58 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 60 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init(), and ff_mjpeg_decode_sof().

int MJpegDecodeContext::first_picture

Definition at line 61 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
uint8_t MJpegDecodeContext::upscale_h[4]

Definition at line 68 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), and ff_mjpeg_decode_sof().

uint8_t MJpegDecodeContext::upscale_v[4]

Definition at line 69 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), and ff_mjpeg_decode_sof().

int MJpegDecodeContext::rct

Definition at line 70 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::colr

Definition at line 73 of file mjpegdec.h.

Referenced by mjpeg_decode_app().

int MJpegDecodeContext::xfrm

Definition at line 74 of file mjpegdec.h.

Referenced by ff_jpegls_decode_picture(), and mjpeg_decode_app().

int MJpegDecodeContext::adobe_transform

Definition at line 75 of file mjpegdec.h.

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

int MJpegDecodeContext::maxval

Definition at line 77 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 78 of file mjpegdec.h.

int MJpegDecodeContext::t1

Definition at line 79 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_jpegls_decode_picture().

int MJpegDecodeContext::t2

Definition at line 79 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_jpegls_decode_picture().

int MJpegDecodeContext::t3

Definition at line 79 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 80 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]
int MJpegDecodeContext::h_count[MAX_COMPONENTS]
int MJpegDecodeContext::v_count[MAX_COMPONENTS]
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 92 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 93 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 94 of file mjpegdec.h.

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

int MJpegDecodeContext::quant_sindex[MAX_COMPONENTS]
int MJpegDecodeContext::h_max
int MJpegDecodeContext::v_max
int MJpegDecodeContext::quant_index[4]

Definition at line 97 of file mjpegdec.h.

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

int MJpegDecodeContext::last_dc[MAX_COMPONENTS]

Definition at line 98 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
int MJpegDecodeContext::linesize[MAX_COMPONENTS]
int8_t* MJpegDecodeContext::qscale_table

Definition at line 103 of file mjpegdec.h.

int16_t MJpegDecodeContext::block[64]

Definition at line 104 of file mjpegdec.h.

Referenced by mjpeg_decode_scan().

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

intermediate sums (progressive mode)

Definition at line 105 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_end(), ff_mjpeg_decode_sof(), mjpeg_decode_scan(), mjpeg_decode_scan_progressive_ac(), and mjpeg_idct_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 107 of file mjpegdec.h.

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

int MJpegDecodeContext::palette_index

Definition at line 108 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_mjpeg_decode_sof().

ScanTable MJpegDecodeContext::scantable
BlockDSPContext MJpegDecodeContext::bdsp

Definition at line 110 of file mjpegdec.h.

Referenced by decode_dc_progressive(), ff_mjpeg_decode_init(), and mjpeg_decode_scan().

HpelDSPContext MJpegDecodeContext::hdsp

Definition at line 111 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init(), and mjpeg_copy_block().

IDCTDSPContext MJpegDecodeContext::idsp

Definition at line 112 of file mjpegdec.h.

Referenced by init_idct(), mjpeg_decode_scan(), and mjpeg_idct_scan_progressive_ac().

int MJpegDecodeContext::restart_interval
int MJpegDecodeContext::restart_count
int MJpegDecodeContext::buggy_avid

Definition at line 117 of file mjpegdec.h.

Referenced by mjpeg_decode_app(), and parse_avid().

int MJpegDecodeContext::cs_itu601

Definition at line 118 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), and mjpeg_decode_com().

int MJpegDecodeContext::interlace_polarity
int MJpegDecodeContext::multiscope

Definition at line 120 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), and mjpeg_decode_com().

int MJpegDecodeContext::mjpb_skiptosod

Definition at line 122 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sos(), and mjpegb_decode_frame().

int MJpegDecodeContext::cur_scan
int MJpegDecodeContext::flipped

Definition at line 125 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), ff_mjpeg_decode_init(), and mjpeg_decode_com().

uint16_t(* MJpegDecodeContext::ljpeg_buffer)[4]

Definition at line 127 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_end(), and ljpeg_decode_rgb_scan().

unsigned int MJpegDecodeContext::ljpeg_buffer_size

Definition at line 128 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_end(), and ljpeg_decode_rgb_scan().

int MJpegDecodeContext::extern_huff

Definition at line 130 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init().

AVDictionary* MJpegDecodeContext::exif_metadata

Definition at line 131 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_end(), ff_mjpeg_decode_frame(), and mjpeg_decode_app().

AVStereo3D* MJpegDecodeContext::stereo3d

Definition at line 133 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_end(), ff_mjpeg_decode_frame(), and mjpeg_decode_app().

const AVPixFmtDescriptor* MJpegDecodeContext::pix_desc

!< stereoscopic information (cached, since it is read before frame allocation)

Definition at line 135 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof().

uint8_t** MJpegDecodeContext::iccdata

Definition at line 137 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), mjpeg_decode_app(), and reset_icc_profile().

int* MJpegDecodeContext::iccdatalens

Definition at line 138 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), mjpeg_decode_app(), and reset_icc_profile().

int MJpegDecodeContext::iccnum

Definition at line 139 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), mjpeg_decode_app(), and reset_icc_profile().

int MJpegDecodeContext::iccread

Definition at line 140 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), mjpeg_decode_app(), and reset_icc_profile().

const uint8_t* MJpegDecodeContext::raw_image_buffer

Definition at line 143 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), and ff_mjpeg_decode_sof().

size_t MJpegDecodeContext::raw_image_buffer_size

Definition at line 144 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), and ff_mjpeg_decode_sof().

const uint8_t* MJpegDecodeContext::raw_scan_buffer

Definition at line 145 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), and ff_mjpeg_decode_sos().

size_t MJpegDecodeContext::raw_scan_buffer_size

Definition at line 146 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), and ff_mjpeg_decode_sos().

uint8_t MJpegDecodeContext::raw_huffman_lengths[2][4][16]

Definition at line 148 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_dht(), and vaapi_mjpeg_decode_slice().

uint8_t MJpegDecodeContext::raw_huffman_values[2][4][256]

Definition at line 149 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_dht(), and vaapi_mjpeg_decode_slice().

enum AVPixelFormat MJpegDecodeContext::hwaccel_sw_pix_fmt

Definition at line 151 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init(), and ff_mjpeg_decode_sof().

enum AVPixelFormat MJpegDecodeContext::hwaccel_pix_fmt

Definition at line 152 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init(), and ff_mjpeg_decode_sof().

void* MJpegDecodeContext::hwaccel_picture_private

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