[COMMON] media: mfc: DRV4.0: update prefix [10BIT]
authorAyoung Sim <a.sim@samsung.com>
Mon, 18 Jun 2018 08:33:51 +0000 (17:33 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 06:18:35 +0000 (15:18 +0900)
Change-Id: Ie43c401e9eae1ef9a03a4bee0b826a287d7d934e
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
drivers/media/platform/exynos/mfc/s5p_mfc_buf.c
drivers/media/platform/exynos/mfc/s5p_mfc_enc.c
drivers/media/platform/exynos/mfc/s5p_mfc_enc_param.c
drivers/media/platform/exynos/mfc/s5p_mfc_irq.c
drivers/media/platform/exynos/mfc/s5p_mfc_reg.c
drivers/media/platform/exynos/mfc/s5p_mfc_utils.c

index 22ed207bb4ac0a3c1bd953b7652f11ee5ad84d49..8d963db2e9462be62e17b4190c7ecb5ddf0e3499 100644 (file)
@@ -337,7 +337,7 @@ static void mfc_calc_enc_codec_buffer_size(struct s5p_mfc_ctx *ctx)
                                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 =
@@ -356,7 +356,7 @@ static void mfc_calc_enc_codec_buffer_size(struct s5p_mfc_ctx *ctx)
                                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 =
index 8b413c80b117efff69f5d04d547fea72468d4c78..a07a5071e45f7dddf77d52c52390dce9036d7f30 100644 (file)
@@ -260,7 +260,7 @@ static void mfc_enc_check_format(struct s5p_mfc_ctx *ctx)
        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;
@@ -274,7 +274,7 @@ static void mfc_enc_check_format(struct s5p_mfc_ctx *ctx)
        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;
index faa1f65550df27187a6a39459ae3fcef323215c8..bcf6fde88ba681f80f43821b80abf19bdd2299af 100644 (file)
@@ -950,7 +950,7 @@ void s5p_mfc_set_enc_params_vp9(struct s5p_mfc_ctx *ctx)
        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);
                }
        }
@@ -1125,7 +1125,7 @@ void s5p_mfc_set_enc_params_hevc(struct s5p_mfc_ctx *ctx)
                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);
                }
        }
index 6e5e452ac64aa49ba8d09586bc53a34c933fff8f..5b004101020f3902d61f7d7682bab0e3f667c12e 100644 (file)
@@ -1064,7 +1064,7 @@ static int mfc_handle_seq_dec(struct s5p_mfc_ctx *ctx)
                        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);
index a812e8382e80ca4cba0c6d484c22f7acfe18c5ee..07feb9b5d42a34fff31c66b2815f080eb63e1dfc 100644 (file)
@@ -192,7 +192,7 @@ int s5p_mfc_set_dec_codec_buffers(struct s5p_mfc_ctx *ctx)
                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]);
                }
        }
index 4a014a6bc47a8b43b4826c4f7fdfcfe6feb294c0..2db6a2c2b564d8c701b9104fad8d8d23fa3ad507 100644 (file)
@@ -294,7 +294,7 @@ void s5p_mfc_dec_calc_dpb_size(struct s5p_mfc_ctx *ctx)
        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]);
                }
@@ -396,7 +396,7 @@ void s5p_mfc_enc_calc_src_size(struct s5p_mfc_ctx *ctx)
        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]);
                }