[][src]Struct ffmpeg_dev::sys::MJpegDecodeContext

#[repr(C)]
pub struct MJpegDecodeContext {
    pub class: *mut AVClass,
    pub avctx: *mut AVCodecContext,
    pub gb: GetBitContext,
    pub buf_size: c_int,
    pub start_code: c_int,
    pub buffer_size: c_int,
    pub buffer: *mut u8,
    pub quant_matrixes: [[u16; 64]; 4],
    pub vlcs: [[VLC; 4]; 3],
    pub qscale: [c_int; 4],
    pub org_height: c_int,
    pub first_picture: c_int,
    pub interlaced: c_int,
    pub bottom_field: c_int,
    pub lossless: c_int,
    pub ls: c_int,
    pub progressive: c_int,
    pub rgb: c_int,
    pub upscale_h: [u8; 4],
    pub upscale_v: [u8; 4],
    pub rct: c_int,
    pub pegasus_rct: c_int,
    pub bits: c_int,
    pub colr: c_int,
    pub xfrm: c_int,
    pub adobe_transform: c_int,
    pub maxval: c_int,
    pub near: c_int,
    pub t1: c_int,
    pub t2: c_int,
    pub t3: c_int,
    pub reset: c_int,
    pub width: c_int,
    pub height: c_int,
    pub mb_width: c_int,
    pub mb_height: c_int,
    pub nb_components: c_int,
    pub block_stride: [c_int; 4],
    pub component_id: [c_int; 4],
    pub h_count: [c_int; 4],
    pub v_count: [c_int; 4],
    pub comp_index: [c_int; 4],
    pub dc_index: [c_int; 4],
    pub ac_index: [c_int; 4],
    pub nb_blocks: [c_int; 4],
    pub h_scount: [c_int; 4],
    pub v_scount: [c_int; 4],
    pub quant_sindex: [c_int; 4],
    pub h_max: c_int,
    pub v_max: c_int,
    pub quant_index: [c_int; 4],
    pub last_dc: [c_int; 4],
    pub picture: *mut AVFrame,
    pub picture_ptr: *mut AVFrame,
    pub got_picture: c_int,
    pub linesize: [c_int; 4],
    pub qscale_table: *mut i8,
    pub __bindgen_padding_0: [u16; 8],
    pub block: [i16; 64],
    pub blocks: [*mut [c_short; 64]; 4],
    pub last_nnz: [*mut u8; 4],
    pub coefs_finished: [u64; 4],
    pub palette_index: c_int,
    pub scantable: ScanTable,
    pub bdsp: BlockDSPContext,
    pub hdsp: HpelDSPContext,
    pub idsp: IDCTDSPContext,
    pub restart_interval: c_int,
    pub restart_count: c_int,
    pub buggy_avid: c_int,
    pub cs_itu601: c_int,
    pub interlace_polarity: c_int,
    pub multiscope: c_int,
    pub mjpb_skiptosod: c_int,
    pub cur_scan: c_int,
    pub flipped: c_int,
    pub ljpeg_buffer: *mut [c_ushort; 4],
    pub ljpeg_buffer_size: c_uint,
    pub extern_huff: c_int,
    pub exif_metadata: *mut AVDictionary,
    pub stereo3d: *mut AVStereo3D,
    pub pix_desc: *const AVPixFmtDescriptor,
    pub iccdata: *mut *mut u8,
    pub iccdatalens: *mut c_int,
    pub iccnum: c_int,
    pub iccread: c_int,
    pub raw_image_buffer: *const u8,
    pub raw_image_buffer_size: usize,
    pub raw_scan_buffer: *const u8,
    pub raw_scan_buffer_size: usize,
    pub raw_huffman_lengths: [[[u8; 16]; 4]; 2],
    pub raw_huffman_values: [[[u8; 256]; 4]; 2],
    pub hwaccel_sw_pix_fmt: AVPixelFormat,
    pub hwaccel_pix_fmt: AVPixelFormat,
    pub hwaccel_picture_private: *mut c_void,
}

Fields

class: *mut AVClassavctx: *mut AVCodecContextgb: GetBitContextbuf_size: c_intstart_code: c_intbuffer_size: c_intbuffer: *mut u8quant_matrixes: [[u16; 64]; 4]vlcs: [[VLC; 4]; 3]qscale: [c_int; 4]

< quantizer scale calculated from quant_matrixes

org_height: c_intfirst_picture: c_intinterlaced: c_intbottom_field: c_intlossless: c_intls: c_intprogressive: c_intrgb: c_intupscale_h: [u8; 4]upscale_v: [u8; 4]rct: c_intpegasus_rct: c_intbits: c_intcolr: c_intxfrm: c_intadobe_transform: c_intmaxval: c_intnear: c_int

< near lossless bound (si 0 for lossless)

t1: c_intt2: c_intt3: c_intreset: c_int

< context halfing interval ?rename

width: c_intheight: c_intmb_width: c_intmb_height: c_intnb_components: c_intblock_stride: [c_int; 4]component_id: [c_int; 4]h_count: [c_int; 4]v_count: [c_int; 4]comp_index: [c_int; 4]dc_index: [c_int; 4]ac_index: [c_int; 4]nb_blocks: [c_int; 4]h_scount: [c_int; 4]v_scount: [c_int; 4]quant_sindex: [c_int; 4]h_max: c_intv_max: c_intquant_index: [c_int; 4]last_dc: [c_int; 4]picture: *mut AVFramepicture_ptr: *mut AVFramegot_picture: c_int

< we found a SOF and picture is valid, too.

linesize: [c_int; 4]

< linesize << interlaced

qscale_table: *mut i8__bindgen_padding_0: [u16; 8]block: [i16; 64]blocks: [*mut [c_short; 64]; 4]

< intermediate sums (progressive mode)

last_nnz: [*mut u8; 4]coefs_finished: [u64; 4]

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

palette_index: c_intscantable: ScanTablebdsp: BlockDSPContexthdsp: HpelDSPContextidsp: IDCTDSPContextrestart_interval: c_intrestart_count: c_intbuggy_avid: c_intcs_itu601: c_intinterlace_polarity: c_intmultiscope: c_intmjpb_skiptosod: c_intcur_scan: c_intflipped: c_intljpeg_buffer: *mut [c_ushort; 4]ljpeg_buffer_size: c_uintextern_huff: c_intexif_metadata: *mut AVDictionarystereo3d: *mut AVStereo3Dpix_desc: *const AVPixFmtDescriptor

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

iccdata: *mut *mut u8iccdatalens: *mut c_inticcnum: c_inticcread: c_intraw_image_buffer: *const u8raw_image_buffer_size: usizeraw_scan_buffer: *const u8raw_scan_buffer_size: usizeraw_huffman_lengths: [[[u8; 16]; 4]; 2]raw_huffman_values: [[[u8; 256]; 4]; 2]hwaccel_sw_pix_fmt: AVPixelFormathwaccel_pix_fmt: AVPixelFormathwaccel_picture_private: *mut c_void

Trait Implementations

impl Clone for MJpegDecodeContext[src]

impl Copy for MJpegDecodeContext[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]