mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-09 02:50:06 +08:00
[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:
@@ -923,7 +923,7 @@ MPP_RET mpp_slots_set_prop(MppBufSlots slots, SlotsPropType type, void *val)
|
||||
mpp_frame_copy(impl->info, impl->info_set);
|
||||
{
|
||||
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);
|
||||
} break;
|
||||
|
@@ -200,7 +200,7 @@ MPP_RET h263d_prepare(void *dec, MppPacket pkt, HalDecTask *task)
|
||||
if (eos && !length) {
|
||||
task->valid = 0;
|
||||
task->flags.eos = 1;
|
||||
mpp_log_f("h263d flush eos");
|
||||
mpp_log("h263d flush eos");
|
||||
h263d_flush(dec);
|
||||
return MPP_OK;
|
||||
}
|
||||
|
@@ -1726,7 +1726,7 @@ MPP_RET h265d_prepare(void *ctx, MppPacket pkt, HalDecTask *task)
|
||||
if (s->eos && !length) {
|
||||
task->valid = 0;
|
||||
task->flags.eos = 1;
|
||||
mpp_log_f("hevc flush eos");
|
||||
mpp_log("hevc flush eos");
|
||||
h265d_flush(ctx);
|
||||
return ret;
|
||||
}
|
||||
|
@@ -200,7 +200,7 @@ MPP_RET mpg4d_prepare(void *dec, MppPacket pkt, HalDecTask *task)
|
||||
if (eos && !length) {
|
||||
task->valid = 0;
|
||||
task->flags.eos = 1;
|
||||
mpp_log_f("mpeg4d flush eos");
|
||||
mpp_log("mpeg4d flush eos");
|
||||
mpg4d_flush(dec);
|
||||
return MPP_OK;
|
||||
}
|
||||
|
@@ -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_ver_stride(frame, p->ImgVerStride);
|
||||
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_frame_deinit(&frame);
|
||||
} break;
|
||||
|
@@ -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);
|
||||
|
||||
mpp_err("open_vpu_memory_pool in\n");
|
||||
if (NULL == p_mempool) {
|
||||
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;
|
||||
|
||||
mpp_err("close_vpu_memory_pool in xxxxxxxxxxxxxxx");
|
||||
mpp_buffer_group_put(p_mempool->group);
|
||||
mpp_free(p_mempool);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user