[COMMON] media: mfc: DRV4.0: update prefix [INTERLACE]
authorAyoung Sim <a.sim@samsung.com>
Fri, 15 Jun 2018 07:29:30 +0000 (16:29 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 06:18:31 +0000 (15:18 +0900)
Change-Id: Ia2d39a9e096c92a1e7329476399e50beb52278bc
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
drivers/media/platform/exynos/mfc/s5p_mfc_irq.c
drivers/media/platform/exynos/mfc/s5p_mfc_nal_q.c

index 4940722fe0c7581c3946015bd5026b5d5d6affce..fd5844c142ef047037eb16ef5e38c10f56e8496d 100644 (file)
@@ -96,7 +96,7 @@ static unsigned int mfc_handle_frame_field(struct s5p_mfc_ctx *ctx)
                field = V4L2_FIELD_NONE;
        }
 
-       mfc_debug(2, "is_interlace : %d interlace_type : %d, is_mbaff: %d, field: 0x%#x\n",
+       mfc_debug(2, "[INTERLACE] is_interlace: %d (type : %d), is_mbaff: %d, field: 0x%#x\n",
                        is_interlace, interlace_type, is_mbaff, field);
 
        return field;
@@ -1087,7 +1087,7 @@ static int mfc_handle_seq_dec(struct s5p_mfc_ctx *ctx)
                is_mbaff = s5p_mfc_is_mbaff_picture();
                if (is_interlace || is_mbaff)
                        dec->is_interlaced = 1;
-               mfc_debug(3, "interlace: %d, mbaff: %d\n", is_interlace, is_mbaff);
+               mfc_debug(2, "[INTERLACE] interlace: %d, mbaff: %d\n", is_interlace, is_mbaff);
        }
 
        if (IS_H264_DEC(ctx) || IS_H264_MVC_DEC(ctx) || IS_HEVC_DEC(ctx)) {
index 955a500ed35189396b0b33a5c08c5a403f64ca75..01ee2616061447b169cc097d4cf8322ea7c314b0 100644 (file)
@@ -88,7 +88,7 @@ int s5p_mfc_nal_q_check_enable(struct s5p_mfc_dev *dev)
                                        return 0;
                                }
                                if (dec->is_interlaced) {
-                                       mfc_debug(2, "There is a interlaced stream\n");
+                                       mfc_debug(2, "[INTERLACE] There is a interlaced stream\n");
                                        return 0;
                                }
                                if (dec->detect_black_bar) {
@@ -1537,10 +1537,10 @@ void mfc_nal_q_handle_frame(struct s5p_mfc_ctx *ctx, DecoderOutputStr *pOutStr)
                goto leave_handle_frame;
        }
        if (is_interlaced) {
-               mfc_debug(2, "NAL Q: Progressive -> Interlaced\n");
+               mfc_debug(2, "NAL Q:[INTERLACE] Progressive -> Interlaced\n");
                dec->is_interlaced = is_interlaced;
                dev->nal_q_handle->nal_q_exception = 1;
-               mfc_info_ctx("NAL Q: nal_q_exception is set (interlaced)\n");
+               mfc_info_ctx("NAL Q:[INTERLACE] nal_q_exception is set\n");
                goto leave_handle_frame;
        }