FFmpeg
Loading...
Searching...
No Matches
intrax8.h File Reference
#include "blockdsp.h"
#include "get_bits.h"
#include "idctdsp.h"
#include "intrax8dsp.h"
#include "wmv2dsp.h"
#include "mpegpicture.h"

Go to the source code of this file.

Data Structures

struct  IntraX8Context
 

Functions

int ff_intrax8_common_init (AVCodecContext *avctx, IntraX8Context *w, int16_t block[64], int mb_width, int mb_height)
 Initialize IntraX8 frame decoder.
 
void ff_intrax8_common_end (IntraX8Context *w)
 Destroy IntraX8 frame structure.
 
int ff_intrax8_decode_picture (IntraX8Context *w, MPVPicture *pict, GetBitContext *gb, int *mb_x, int *mb_y, int quant, int halfpq, int loopfilter, int lowdelay)
 Decode single IntraX8 frame.
 

Function Documentation

◆ ff_intrax8_common_init()

int ff_intrax8_common_init ( AVCodecContext * avctx,
IntraX8Context * w,
int16_t block[64],
int mb_width,
int mb_height )

Initialize IntraX8 frame decoder.

Parameters
avctxpointer to AVCodecContext
wpointer to IntraX8Context
blockpointer to block array
mb_widthmacroblock width
mb_heightmacroblock height
Returns
0 on success, a negative AVERROR value on error

Definition at line 679 of file intrax8.c.

Referenced by vc1_decode_init_alloc_tables(), and wmv2_decode_init().

◆ ff_intrax8_common_end()

void ff_intrax8_common_end ( IntraX8Context * w)

Destroy IntraX8 frame structure.

Parameters
wpointer to IntraX8Context

Definition at line 713 of file intrax8.c.

Referenced by vc1_decode_reset(), and wmv2_decode_end().

◆ ff_intrax8_decode_picture()

int ff_intrax8_decode_picture ( IntraX8Context * w,
MPVPicture * pict,
GetBitContext * gb,
int * mb_x,
int * mb_y,
int quant,
int halfpq,
int loopfilter,
int lowdelay )

Decode single IntraX8 frame.

lowres decoding is theoretically impossible.

Parameters
wpointer to IntraX8Context
pictthe output Picture containing an AVFrame
gbopen bitstream reader
mb_xpointer to the x coordinate of the current macroblock
mb_ypointer to the y coordinate of the current macroblock
dquantdoubled quantizer, it would be odd in case of VC-1 halfpq==1.
quant_offsetoffset away from zero
loopfilterenable filter after decoding a block

Definition at line 718 of file intrax8.c.

Referenced by ff_vc1_decode_blocks(), and ff_wmv2_decode_secondary_picture_header().