{
u32 i_height, i_width, i_size;
u32 i_mb_height, i_mb_width, i_mb_size;
- unsigned int i_aspect_ratio;
+ unsigned int i_aspect_ratio, i_matrix_coefficients;
float r_frame_rate;
boolean_t b_mpeg2;
boolean_t b_progressive;
P_picture->date = vpar_SynchroDecode( p_vpar,
p_vpar->picture.i_coding_type,
i_structure );
+ P_picture->i_aspect_ratio = p_vpar->sequence.i_aspect_ratio;
+ P_picture->i_matrix_coefficients = p_vpar->sequence.i_matrix_coefficients;
p_vpar->picture.i_l_stride = - 8 + ( p_vpar->sequence.i_width
<< ( 1 - p_vpar->picture.b_frame_structure ) );
p_vpar->picture.i_c_stride = - 8 + ( p_vpar->sequence.i_chroma_width
RemoveBits( &p_vpar->bit_stream, 3 );
if( GetBits( &p_vpar->bit_stream, 1 ) )
{
- /* Three bytes for color_desciption */
- RemoveBits( &p_vpar->bit_stream, 24 );
+ /* Two bytes for color_desciption */
+ RemoveBits( &p_vpar->bit_stream, 16 );
+ p_vpar->sequence.i_matrix_coefficients = GetBits( &p_vpar->bit_stream, 8 );
}
/* display_horizontal and vertical_size and a marker_bit */
RemoveBits( &p_vpar->bit_stream, 29 );