#include "exynos_mfc_media.h"
#include "s5p_mfc_data_struct.h"
-#define MFC_DRIVER_INFO 170522
+#define MFC_DRIVER_INFO 180315
#define MFC_MAX_REF_BUFS 2
#define MFC_FRAME_PLANES 2
}
if (buf_ctrl->id == V4L2_CID_MPEG_MFC_H264_USE_LTR) {
value = MFC_READL(S5P_FIMV_E_H264_NAL_CONTROL);
- buf_ctrl->old_val2 = (value >> 11) & 0x7;
- value &= ~(0x7 << 11);
- value |= (buf_ctrl->val & 0x7) << 11;
+ buf_ctrl->old_val2 = (value >> 11) & 0xF;
+ value &= ~(0xF << 11);
+ value |= (buf_ctrl->val & 0xF) << 11;
MFC_WRITEL(value, S5P_FIMV_E_H264_NAL_CONTROL);
}
pInStr->H264NalControl &= ~(buf_ctrl->mask << buf_ctrl->shft);
pInStr->H264NalControl |=
(buf_ctrl->val & buf_ctrl->mask) << buf_ctrl->shft;
- pInStr->H264NalControl &= ~(0x7 << 11);
- pInStr->H264NalControl |= (buf_ctrl->val & 0x7) << 11;
+ pInStr->H264NalControl &= ~(0xF << 11);
+ pInStr->H264NalControl |= (buf_ctrl->val & 0xF) << 11;
break;
case V4L2_CID_MPEG_MFC_H264_BASE_PRIORITY:
for (i = 0; i < (p->codec.h264.num_hier_layer & 0x7); i++)
}
if (buf_ctrl->id == V4L2_CID_MPEG_MFC_H264_USE_LTR) {
value = MFC_READL(S5P_FIMV_E_H264_NAL_CONTROL);
- value &= ~(0x7 << 11);
- value |= (buf_ctrl->old_val2 & 0x7) << 11;
+ value &= ~(0xF << 11);
+ value |= (buf_ctrl->old_val2 & 0xF) << 11;
MFC_WRITEL(value, S5P_FIMV_E_H264_NAL_CONTROL);
}
buf_ctrl->updated = 0;