bit 15: frame_mbs_only_flag
bit 13-14: chroma_format_idc */
frame_mbs_only_flag = (hw->seq_info >> 15) & 0x01;
+ if (p_H264_Dpb->mSPS.profile_idc != 100 &&
+ p_H264_Dpb->mSPS.profile_idc != 110 &&
+ p_H264_Dpb->mSPS.profile_idc != 122 &&
+ p_H264_Dpb->mSPS.profile_idc != 144) {
+ p_H264_Dpb->chroma_format_idc = 1;
+ }
chroma_format_idc = p_H264_Dpb->chroma_format_idc;
/* @AV_SCRATCH_6.31-16 = (left << 8 | right ) << 1
* bit 13-14: chroma_format_idc
*/
frame_mbs_only_flag = (hw->seq_info >> 15) & 0x01;
+ if (hw->dpb.mSPS.profile_idc != 100 &&
+ hw->dpb.mSPS.profile_idc != 110 &&
+ hw->dpb.mSPS.profile_idc != 122 &&
+ hw->dpb.mSPS.profile_idc != 144) {
+ hw->dpb.chroma_format_idc = 1;
+ }
chroma_format_idc = hw->dpb.chroma_format_idc;
/*