[log]: reduce some logs

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1116 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2016-07-28 06:18:59 +00:00
parent 8e451918c8
commit a8f26705ee
6 changed files with 5 additions and 7 deletions

View File

@@ -923,7 +923,7 @@ MPP_RET mpp_slots_set_prop(MppBufSlots slots, SlotsPropType type, void *val)
mpp_frame_copy(impl->info, impl->info_set); mpp_frame_copy(impl->info, impl->info_set);
{ {
MppFrameImpl *p = (MppFrameImpl *)impl->info; MppFrameImpl *p = (MppFrameImpl *)impl->info;
mpp_log_f("had set frame info: w %4d h %4d hor %4d ver %4d\n", p->width, p->height, p->hor_stride, p->ver_stride); mpp_log("set frame info: w %4d h %4d hor %4d ver %4d\n", p->width, p->height, p->hor_stride, p->ver_stride);
} }
impl->buf_size = mpp_frame_get_buf_size(impl->info); impl->buf_size = mpp_frame_get_buf_size(impl->info);
} break; } break;

View File

@@ -200,7 +200,7 @@ MPP_RET h263d_prepare(void *dec, MppPacket pkt, HalDecTask *task)
if (eos && !length) { if (eos && !length) {
task->valid = 0; task->valid = 0;
task->flags.eos = 1; task->flags.eos = 1;
mpp_log_f("h263d flush eos"); mpp_log("h263d flush eos");
h263d_flush(dec); h263d_flush(dec);
return MPP_OK; return MPP_OK;
} }

View File

@@ -1726,7 +1726,7 @@ MPP_RET h265d_prepare(void *ctx, MppPacket pkt, HalDecTask *task)
if (s->eos && !length) { if (s->eos && !length) {
task->valid = 0; task->valid = 0;
task->flags.eos = 1; task->flags.eos = 1;
mpp_log_f("hevc flush eos"); mpp_log("hevc flush eos");
h265d_flush(ctx); h265d_flush(ctx);
return ret; return ret;
} }

View File

@@ -200,7 +200,7 @@ MPP_RET mpg4d_prepare(void *dec, MppPacket pkt, HalDecTask *task)
if (eos && !length) { if (eos && !length) {
task->valid = 0; task->valid = 0;
task->flags.eos = 1; task->flags.eos = 1;
mpp_log_f("mpeg4d flush eos"); mpp_log("mpeg4d flush eos");
mpg4d_flush(dec); mpg4d_flush(dec);
return MPP_OK; return MPP_OK;
} }

View File

@@ -975,7 +975,7 @@ MPP_RET mpp_dec_control(MppDec *dec, MpiCmd cmd, void *param)
mpp_frame_set_hor_stride(frame, p->ImgHorStride); mpp_frame_set_hor_stride(frame, p->ImgHorStride);
mpp_frame_set_ver_stride(frame, p->ImgVerStride); mpp_frame_set_ver_stride(frame, p->ImgVerStride);
mpp_frame_set_fmt(frame, (MppFrameFormat)p->CodecType); mpp_frame_set_fmt(frame, (MppFrameFormat)p->CodecType);
mpp_log_f("setting default w %4d h %4d\n", p->ImgWidth, p->ImgHeight); mpp_log("setting default w %4d h %4d\n", p->ImgWidth, p->ImgHeight);
mpp_slots_set_prop(dec->frame_slots, SLOTS_FRAME_INFO, frame); mpp_slots_set_prop(dec->frame_slots, SLOTS_FRAME_INFO, frame);
mpp_frame_deinit(&frame); mpp_frame_deinit(&frame);
} break; } break;

View File

@@ -105,7 +105,6 @@ vpu_display_mem_pool* open_vpu_memory_pool()
{ {
vpu_display_mem_pool_impl *p_mempool = mpp_calloc(vpu_display_mem_pool_impl, 1); vpu_display_mem_pool_impl *p_mempool = mpp_calloc(vpu_display_mem_pool_impl, 1);
mpp_err("open_vpu_memory_pool in\n");
if (NULL == p_mempool) { if (NULL == p_mempool) {
return NULL; return NULL;
} }
@@ -128,7 +127,6 @@ void close_vpu_memory_pool(vpu_display_mem_pool *p)
{ {
vpu_display_mem_pool_impl *p_mempool = (vpu_display_mem_pool_impl *)p; vpu_display_mem_pool_impl *p_mempool = (vpu_display_mem_pool_impl *)p;
mpp_err("close_vpu_memory_pool in xxxxxxxxxxxxxxx");
mpp_buffer_group_put(p_mempool->group); mpp_buffer_group_put(p_mempool->group);
mpp_free(p_mempool); mpp_free(p_mempool);
return; return;