ALIGN(ENC_VP9_LUMA_DPB_10B_SIZE(ctx->crop_width, ctx->crop_height), 64);
enc->chroma_dpb_size =
ALIGN(ENC_VP9_CHROMA_DPB_10B_SIZE(ctx->crop_width, ctx->crop_height), 64);
- mfc_debug(2, "VP9 10bit recon luma size: %zu chroma size: %zu\n",
+ mfc_debug(2, "[10BIT] VP9 10bit or 422 recon luma size: %zu chroma size: %zu\n",
enc->luma_dpb_size, enc->chroma_dpb_size);
}
enc->me_buffer_size =
ALIGN(ENC_HEVC_LUMA_DPB_10B_SIZE(ctx->crop_width, ctx->crop_height), 64);
enc->chroma_dpb_size =
ALIGN(ENC_HEVC_CHROMA_DPB_10B_SIZE(ctx->crop_width, ctx->crop_height), 64);
- mfc_debug(2, "HEVC 10bit or 422 recon luma size: %zu chroma size: %zu\n",
+ mfc_debug(2, "[10BIT] HEVC 10bit or 422 recon luma size: %zu chroma size: %zu\n",
enc->luma_dpb_size, enc->chroma_dpb_size);
}
enc->me_buffer_size =
case V4L2_PIX_FMT_NV61M_S10B:
case V4L2_PIX_FMT_NV16M_P210:
case V4L2_PIX_FMT_NV61M_P210:
- mfc_debug(2, "is 422 and 10bit format\n");
+ mfc_debug(2, "[10BIT] is 422 and 10bit format\n");
ctx->is_10bit = 1;
ctx->is_422 = 1;
break;
case V4L2_PIX_FMT_NV12M_P010:
case V4L2_PIX_FMT_NV21M_S10B:
case V4L2_PIX_FMT_NV21M_P010:
- mfc_debug(2, "is 10bit format\n");
+ mfc_debug(2, "[10BIT] is 10bit format\n");
ctx->is_10bit = 1;
ctx->is_422 = 0;
break;
if (ctx->is_10bit) {
if ((p_vp9->vp9_version != S5P_FIMV_E_PROFILE_VP9_PROFILE2) &&
(p_vp9->vp9_version != S5P_FIMV_E_PROFILE_VP9_PROFILE3)) {
- mfc_err_ctx("10bit format is not matched with profile(%d)\n",
+ mfc_err_ctx("[10BIT] format is not matched with profile(%d)\n",
p_vp9->vp9_version);
}
}
if ((p_hevc->profile != S5P_FIMV_E_PROFILE_HEVC_MAIN_422_10_INTRA) &&
(p_hevc->profile != S5P_FIMV_E_PROFILE_HEVC_MAIN_10) &&
(p_hevc->profile != S5P_FIMV_E_PROFILE_HEVC_MAIN_422_10)) {
- mfc_err_ctx("10bit format is not matched with profile(%d)\n",
+ mfc_err_ctx("[10BIT] format is not matched with profile(%d)\n",
p_hevc->profile);
}
}
s5p_mfc_get_chroma_bit_depth_minus8() ||
s5p_mfc_get_profile() == S5P_FIMV_D_PROFILE_HEVC_MAIN_10) {
ctx->is_10bit = 1;
- mfc_info_ctx("10bit contents, profile: %d, depth: %d/%d\n",
+ mfc_info_ctx("[10BIT] 10bit contents, profile: %d, depth: %d/%d\n",
s5p_mfc_get_profile(),
s5p_mfc_get_luma_bit_depth_minus8() + 8,
s5p_mfc_get_chroma_bit_depth_minus8() + 8);
for (i = 0; i < ctx->raw_buf.num_planes; i++) {
MFC_WRITEL(raw->stride_2bits[i], S5P_FIMV_D_FIRST_PLANE_2BIT_DPB_STRIDE_SIZE + (i * 4));
MFC_WRITEL(raw->plane_size_2bits[i], S5P_FIMV_D_FIRST_PLANE_2BIT_DPB_SIZE + (i * 4));
- mfc_debug(2, "# HEVC 10bit : 2bits plane%d.size = %d, stride = %d\n", i,
+ mfc_debug(2, "[10BIT] : 2bits plane%d.size = %d, stride = %d\n", i,
ctx->raw_buf.plane_size_2bits[i], ctx->raw_buf.stride_2bits[i]);
}
}
if (ctx->is_10bit) {
for (i = 0; i < raw->num_planes; i++) {
raw->total_plane_size += raw->plane_size_2bits[i];
- mfc_debug(2, "Plane[%d] 2bit size = %d, stride = %d\n",
+ mfc_debug(2, "[10BIT] Plane[%d] 2bit size = %d, stride = %d\n",
i, raw->plane_size_2bits[i],
raw->stride_2bits[i]);
}
if (ctx->is_10bit) {
for (i = 0; i < raw->num_planes; i++) {
raw->total_plane_size += raw->plane_size_2bits[i];
- mfc_debug(2, "Plane[%d] 2bit size = %d, stride = %d\n",
+ mfc_debug(2, "[10BIT] Plane[%d] 2bit size = %d, stride = %d\n",
i, raw->plane_size_2bits[i],
raw->stride_2bits[i]);
}