[Ffmpeg-devel] h264.c: code works different to ISO 14496-10:2004 documentation
Måns Rullgård
mans
Mon Feb 26 01:40:38 CET 2007
Reinhard Nissl <rnissl at gmx.de> writes:
> 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.
I have a document titled "ITU-T Rec. H.264 (03/2005) - Prepublished
version", wherein those fields are defined.
The spec is available for free from ITU. There's no need to pay ISO
for it.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list