Commit 73c8e514 authored by Michael Niedermayer's avatar Michael Niedermayer

gmc bitstream decoding support (the real motion compensation isnt implemnted yet)

Originally committed as revision 318 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent cc9ba006
This diff is collapsed.
......@@ -93,3 +93,9 @@ static RLTable rl_intra = {
intra_run,
intra_level,
};
static const UINT16 sprite_trajectory_tab[15][2] = {
{0x00, 2}, {0x02, 3}, {0x03, 3}, {0x04, 3}, {0x05, 3}, {0x06, 3},
{0x0E, 4}, {0x1E, 5}, {0x3E, 6}, {0x7E, 7}, {0xFE, 8},
{0x1FE, 9},{0x3FE, 10},{0x7FE, 11},{0xFFE, 12},
};
......@@ -164,7 +164,11 @@ typedef struct MpegEncContext {
int sprite_left;
int sprite_top;
int sprite_brightness_change;
int no_sprite_wraping_points;
int num_sprite_warping_points;
int sprite_offset[2][2];
int sprite_delta[2][2][2];
int sprite_shift[2][2];
int mcsel;
int quant_precision;
int quarter_sample;
int scalability;
......@@ -174,7 +178,7 @@ typedef struct MpegEncContext {
int sprite_warping_accuracy;
int low_latency_sprite;
int data_partioning;
/* RV10 specific */
int rv10_version; /* RV10 version: 0 or 3 */
int rv10_first_dc_coded[3];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment