[Ffmpeg-devel] h264.c: code works different to ISO 14496-10:2004 documentation

Reinhard Nissl rnissl
Mon Feb 26 00:47:36 CET 2007


Hi,

the code in question is in decode_seq_parameter_set():

    if(sps->profile_idc >= 100){ //high profile
        if(get_ue_golomb(&s->gb) == 3) //chroma_format_idc
            get_bits1(&s->gb);  //residual_color_transform_flag
        get_ue_golomb(&s->gb);  //bit_depth_luma_minus8
        get_ue_golomb(&s->gb);  //bit_depth_chroma_minus8
        sps->transform_bypass = get_bits1(&s->gb);
        decode_scaling_matrices(h, sps, NULL, 1, sps->scaling_matrix4,
sps->scaling_matrix8);
    }else
        sps->scaling_matrix_present = 0;

I do not find any documentation about this fragment in the above
mentioned specification. Are these 5 data members documented in the
release of 2005?

I don't want to buy the new release just to see that those members are
still missing.

Thanks in advance.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de




More information about the ffmpeg-devel mailing list