g3dvl: Rewrite the mpeg 1&2 bitstream parser
Based on work of Maarten Lankhorst this time. Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Younes Manton <younes.m@gmail.com>
This commit is contained in:
@@ -43,6 +43,17 @@ struct pipe_video_rect
|
||||
unsigned x, y, w, h;
|
||||
};
|
||||
|
||||
/*
|
||||
* see table 6-12 in the spec
|
||||
*/
|
||||
enum pipe_mpeg12_picture_coding_type
|
||||
{
|
||||
PIPE_MPEG12_PICTURE_CODING_TYPE_I = 0x01,
|
||||
PIPE_MPEG12_PICTURE_CODING_TYPE_P = 0x02,
|
||||
PIPE_MPEG12_PICTURE_CODING_TYPE_B = 0x03,
|
||||
PIPE_MPEG12_PICTURE_CODING_TYPE_D = 0x04
|
||||
};
|
||||
|
||||
/*
|
||||
* see table 6-14 in the spec
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user