FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | IntraX8Context |
Functions | |
void | ff_intrax8_common_init (IntraX8Context *w, MpegEncContext *const s) |
Initialize IntraX8 frame decoder. | |
void | ff_intrax8_common_end (IntraX8Context *w) |
Destroy IntraX8 frame structure. | |
int | ff_intrax8_decode_picture (IntraX8Context *w, int quant, int halfpq) |
Decode single IntraX8 frame. | |
void ff_intrax8_common_init | ( | IntraX8Context * | w, |
MpegEncContext *const | s | ||
) |
Initialize IntraX8 frame decoder.
Requires valid MpegEncContext with valid s->mb_width before calling.
w | pointer to IntraX8Context |
s | pointer to MpegEncContext of the parent codec |
Definition at line 692 of file intrax8.c.
Referenced by ff_vc1_decode_init_alloc_tables(), and wmv2_decode_init().
void ff_intrax8_common_end | ( | IntraX8Context * | w | ) |
Destroy IntraX8 frame structure.
w | pointer to IntraX8Context |
Definition at line 714 of file intrax8.c.
Referenced by ff_vc1_decode_end(), and wmv2_decode_end().
int ff_intrax8_decode_picture | ( | IntraX8Context *const | w, |
int | dquant, | ||
int | quant_offset | ||
) |
Decode single IntraX8 frame.
The parent codec must fill s->loopfilter and s->gb (bitstream). The parent codec must call MPV_frame_start(), ff_er_frame_start() before calling this function. The parent codec must call ff_er_frame_end(), MPV_frame_end() after calling this function. This function does not use MPV_decode_mb(). lowres decoding is theoretically impossible.
w | pointer to IntraX8Context |
dquant | doubled quantizer, it would be odd in case of VC-1 halfpq==1. |
quant_offset | offset away from zero |
Definition at line 730 of file intrax8.c.
Referenced by ff_vc1_decode_blocks(), and ff_wmv2_decode_secondary_picture_header().