This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IVAHD H.264 Encoder VUI parameters support

Hi Champs,

Codec: REL.500.V.H264AVC.E.IVAHD.02.00.04.01

According to the userguide and source code, The supported VUI coding params as below.

typedef struct IH264ENC_VUICodingParams {
  XDAS_Int8                  vuiCodingPreset            ;
  XDAS_UInt8                 aspectRatioInfoPresentFlag ;
  XDAS_UInt8                 aspectRatioIdc             ;
  XDAS_UInt8                 videoSignalTypePresentFlag ;
  XDAS_UInt8                 videoFormat                ;
  XDAS_UInt8                 videoFullRangeFlag         ;
  XDAS_UInt8                 timingInfoPresentFlag      ;
  XDAS_UInt8                 hrdParamsPresentFlag       ;
  XDAS_UInt32                numUnitsInTicks            ;

 } IH264ENC_VUICodingParams ;

 

The question is that is it possible cusotmer can add the VUI parameters as H.264 SPEC below? Otherwise, what is the setting of these parameters in the encoder.

bitstream_restriction_flag = 1

if( bitstream_restriction_flag ) {
motion_vectors_over_pic_boundaries_flag
max_bytes_per_pic_denom
max_bits_per_mb_denom
log2_max_mv_length_horizontal
log2_max_mv_length_vertical
max_num_reorder_frames
max_dec_frame_buffering
}

 

Regards,

Anfernee

  • Hi Anfernee,

    We always code bitstream_restriction_flag as 0. So the parameters falling under this group(bit restriction flag enable case) are not required to be coded and hence not exposed to user.

    More Information:  

    No bit-stream restriction are present. These restrictions are conveyed in the bit-stream to simplify decoder design to exploit these infos, like UMV ON/OFF 

    put_bits_h264(writer, 1, BITSTREAM_RESTRICTION_FLAG_FALSE) /* for bitstream_restriction_flag  */

     

    Thanks,

    Santosh

  • Hi Santosh,

     

    Thanks for the clarification.

     

    Regards,

    Anfernee

  • Dear Santosh,

    I want to make bitstream_restriction_parameters for reducing decoding delay.

    Is it possible?

    I want make bitstream_restriction_parameters by myself.

    So, I want know, what values are applied each parameters.

     

    For example,

    sps->vui_seq_parameters.motion_vectors_over_pic_boundaries_flag

      is 0

     

    sps->vui_seq_parameters.log2_max_mv_length_horizontal

      is 4 pels

    sps->vui_seq_parameters.log2_max_mv_length_vertical

      is 4 lines

    sps->vui_seq_parameters.num_reorder_frames

      is 1 frame in IP only encode

    sps->vui_seq_parameters.max_dec_frame_buffering

      is some byte in IP only encode

    thx ~

    HB