We are using HDVICP2 .h264 encoder version 02.00.06 and dvrrdk 4.1.
If we enable the loopfilter by making the following changes to encLink_h264.c, the disable_deblocking_filter_idc field in the slice header is still 0. Shouldn't this be set to 1 if the loop filter is enabled? If not, how can we configure the encoder to set this in the slice header.
Index: /dvr_rdk/mcfw/src_bios6/links_m3video/iva_enc/encLink_h264.c =================================================================== --- dvr_rdk/mcfw/src_bios6/links_m3video/iva_enc/encLink_h264.c (revision 525) +++ dvr_rdk/mcfw/src_bios6/links_m3video/iva_enc/encLink_h264.c (working copy) @@ -1120,6 +1120,12 @@ staticParams->vuiCodingParams.timingInfoPresentFlag = 1; #endif + // Enable deblocking filter + staticParams->loopFilterParams.loopfilterPreset = IH264_LOOPFILTER_USERDEFINED; + staticParams->loopFilterParams.loopfilterDisableIDC = IH264_DISABLE_FILTER_ALL_EDGES; + staticParams->loopFilterParams.filterOffsetA = 0; + staticParams->loopFilterParams.filterOffsetB = 0; + return 0; }
Thanks,