FFmpeg  4.0
Data Fields
MJpegDecodeContext Struct Reference

#include <libavcodec/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

◆ class

AVClass* MJpegDecodeContext::class

Definition at line 47 of file mjpegdec.h.

◆ avctx

AVCodecContext* MJpegDecodeContext::avctx

◆ gb

GetBitContext MJpegDecodeContext::gb

◆ buf_size

int MJpegDecodeContext::buf_size

Definition at line 50 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_frame(), and ff_mjpeg_decode_sof().

◆ start_code

int MJpegDecodeContext::start_code

◆ buffer_size

int MJpegDecodeContext::buffer_size

Definition at line 53 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init(), and ff_mjpeg_find_marker().

◆ buffer

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().

◆ quant_matrixes

uint16_t MJpegDecodeContext::quant_matrixes[4][64]

◆ vlcs

VLC MJpegDecodeContext::vlcs[3][4]

◆ qscale

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().

◆ org_height

int MJpegDecodeContext::org_height

Definition at line 60 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init(), and ff_mjpeg_decode_sof().

◆ first_picture

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().

◆ interlaced

int MJpegDecodeContext::interlaced

◆ bottom_field

int MJpegDecodeContext::bottom_field

◆ lossless

int MJpegDecodeContext::lossless

◆ ls

int MJpegDecodeContext::ls

◆ progressive

int MJpegDecodeContext::progressive

◆ rgb

int MJpegDecodeContext::rgb

◆ upscale_h

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().

◆ upscale_v

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().

◆ rct

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().

◆ pegasus_rct

int MJpegDecodeContext::pegasus_rct

◆ bits

int MJpegDecodeContext::bits

◆ colr

int MJpegDecodeContext::colr

Definition at line 73 of file mjpegdec.h.

Referenced by mjpeg_decode_app().

◆ xfrm

int MJpegDecodeContext::xfrm

Definition at line 74 of file mjpegdec.h.

Referenced by ff_jpegls_decode_picture(), and mjpeg_decode_app().

◆ adobe_transform

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().

◆ maxval

int MJpegDecodeContext::maxval

Definition at line 77 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_jpegls_decode_picture().

◆ near

int MJpegDecodeContext::near

near lossless bound (si 0 for lossless)

Definition at line 78 of file mjpegdec.h.

◆ t1

int MJpegDecodeContext::t1

Definition at line 79 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_jpegls_decode_picture().

◆ t2

int MJpegDecodeContext::t2

Definition at line 79 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_jpegls_decode_picture().

◆ t3

int MJpegDecodeContext::t3

Definition at line 79 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_jpegls_decode_picture().

◆ reset

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().

◆ width

int MJpegDecodeContext::width

◆ height

int MJpegDecodeContext::height

◆ mb_width

int MJpegDecodeContext::mb_width

◆ mb_height

int MJpegDecodeContext::mb_height

◆ nb_components

int MJpegDecodeContext::nb_components

◆ block_stride

int MJpegDecodeContext::block_stride[MAX_COMPONENTS]

◆ component_id

int MJpegDecodeContext::component_id[MAX_COMPONENTS]

◆ h_count

int MJpegDecodeContext::h_count[MAX_COMPONENTS]

◆ v_count

int MJpegDecodeContext::v_count[MAX_COMPONENTS]

◆ comp_index

int MJpegDecodeContext::comp_index[MAX_COMPONENTS]

◆ dc_index

int MJpegDecodeContext::dc_index[MAX_COMPONENTS]

◆ ac_index

int MJpegDecodeContext::ac_index[MAX_COMPONENTS]

◆ nb_blocks

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().

◆ h_scount

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().

◆ v_scount

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().

◆ quant_sindex

int MJpegDecodeContext::quant_sindex[MAX_COMPONENTS]

◆ h_max

int MJpegDecodeContext::h_max

◆ v_max

int MJpegDecodeContext::v_max

◆ quant_index

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().

◆ last_dc

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().

◆ picture

AVFrame* MJpegDecodeContext::picture

◆ picture_ptr

AVFrame* MJpegDecodeContext::picture_ptr

◆ got_picture

int MJpegDecodeContext::got_picture

◆ linesize

int MJpegDecodeContext::linesize[MAX_COMPONENTS]

◆ qscale_table

int8_t* MJpegDecodeContext::qscale_table

Definition at line 103 of file mjpegdec.h.

◆ block

int16_t MJpegDecodeContext::block[64]

Definition at line 104 of file mjpegdec.h.

Referenced by mjpeg_decode_scan().

◆ blocks

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().

◆ last_nnz

uint8_t* MJpegDecodeContext::last_nnz[MAX_COMPONENTS]

◆ coefs_finished

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().

◆ palette_index

int MJpegDecodeContext::palette_index

Definition at line 108 of file mjpegdec.h.

Referenced by ff_jpegls_decode_lse(), and ff_mjpeg_decode_sof().

◆ scantable

ScanTable MJpegDecodeContext::scantable

◆ bdsp

BlockDSPContext MJpegDecodeContext::bdsp

Definition at line 110 of file mjpegdec.h.

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

◆ hdsp

HpelDSPContext MJpegDecodeContext::hdsp

Definition at line 111 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init(), and mjpeg_copy_block().

◆ idsp

IDCTDSPContext MJpegDecodeContext::idsp

Definition at line 112 of file mjpegdec.h.

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

◆ restart_interval

int MJpegDecodeContext::restart_interval

◆ restart_count

int MJpegDecodeContext::restart_count

◆ buggy_avid

int MJpegDecodeContext::buggy_avid

Definition at line 117 of file mjpegdec.h.

Referenced by mjpeg_decode_app(), and parse_avid().

◆ cs_itu601

int MJpegDecodeContext::cs_itu601

Definition at line 118 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), and mjpeg_decode_com().

◆ interlace_polarity

int MJpegDecodeContext::interlace_polarity

◆ multiscope

int MJpegDecodeContext::multiscope

Definition at line 120 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sof(), and mjpeg_decode_com().

◆ mjpb_skiptosod

int MJpegDecodeContext::mjpb_skiptosod

Definition at line 122 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_sos(), and mjpegb_decode_frame().

◆ cur_scan

int MJpegDecodeContext::cur_scan

◆ flipped

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().

◆ ljpeg_buffer

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().

◆ ljpeg_buffer_size

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().

◆ extern_huff

int MJpegDecodeContext::extern_huff

Definition at line 130 of file mjpegdec.h.

Referenced by ff_mjpeg_decode_init().

◆ exif_metadata

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().

◆ stereo3d

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().

◆ pix_desc

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().

◆ iccdata

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().

◆ iccdatalens

int* MJpegDecodeContext::iccdatalens

Definition at line 138 of file mjpegdec.h.

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

◆ iccnum

int MJpegDecodeContext::iccnum

Definition at line 139 of file mjpegdec.h.

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

◆ iccread

int MJpegDecodeContext::iccread

Definition at line 140 of file mjpegdec.h.

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

◆ raw_image_buffer

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().

◆ raw_image_buffer_size

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().

◆ raw_scan_buffer

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().

◆ raw_scan_buffer_size

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().

◆ raw_huffman_lengths

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().

◆ raw_huffman_values

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().

◆ hwaccel_sw_pix_fmt

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().

◆ hwaccel_pix_fmt

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().

◆ hwaccel_picture_private

void* MJpegDecodeContext::hwaccel_picture_private

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