Home
last modified time | relevance | path

Searched refs:mtk_vcodec_debug (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.1/drivers/media/platform/mediatek/vcodec/
Dvdec_vpu_if.c19 mtk_vcodec_debug(vpu, "+ ap_inst_addr = 0x%llx", msg->ap_inst_addr); in handle_init_ack_msg()
27 mtk_vcodec_debug(vpu, "- vpu_inst_addr = 0x%x", vpu->inst_addr); in handle_init_ack_msg()
43 mtk_vcodec_debug(vpu, "firmware version 0x%x\n", vpu->fw_abi_version); in handle_init_ack_msg()
63 mtk_vcodec_debug(vpu, "+ ap_inst_addr = 0x%llx", msg->ap_inst_addr); in handle_get_param_msg_ack()
99 mtk_vcodec_debug(vpu, "+ id=%X", msg->msg_id); in vpu_dec_ipi_handler()
127 mtk_vcodec_debug(vpu, "- id=%X", msg->msg_id); in vpu_dec_ipi_handler()
135 mtk_vcodec_debug(vpu, "id=%X", msgid); in vcodec_vpu_send_msg()
166 mtk_vcodec_debug(vpu, "+ id=%X", msg_id); in vcodec_send_ap_ipi()
177 mtk_vcodec_debug(vpu, "- id=%X ret=%d", msg_id, err); in vcodec_send_ap_ipi()
213 mtk_vcodec_debug(vpu, "vdec_inst=%p", vpu); in vpu_dec_init()
[all …]
Dmtk_vcodec_util.h44 #define mtk_vcodec_debug(h, fmt, args...) \ macro
48 #define mtk_vcodec_debug_enter(h) mtk_vcodec_debug(h, "+")
49 #define mtk_vcodec_debug_leave(h) mtk_vcodec_debug(h, "-")
Dvenc_vpu_if.c25 mtk_vcodec_debug(vpu, "firmware version: 0x%x\n", in handle_enc_init_msg()
53 mtk_vcodec_debug(vpu, "msg_id %x inst %p status %d", in vpu_enc_ipi_handler()
169 mtk_vcodec_debug(vpu, "id %d ->", id); in vpu_enc_set_param()
220 mtk_vcodec_debug(vpu, "id %d <-", id); in vpu_enc_set_param()
237 mtk_vcodec_debug(vpu, "bs_mode %d ->", bs_mode); in vpu_enc_encode_32bits()
283 mtk_vcodec_debug(vpu, "bs_mode %d ->", bs_mode); in vpu_enc_encode_34bits()
338 mtk_vcodec_debug(vpu, "bs_mode %d state %d size %d key_frm %d <-", in vpu_enc_encode()
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/vdec/
Dvdec_h264_if.c235 mtk_vcodec_debug(inst, "[FB] put fb into free_list @(%p, %llx)", in put_fb_to_free()
249 mtk_vcodec_debug(inst, "pic(%d, %d), buf(%d, %d)", in get_pic_info()
251 mtk_vcodec_debug(inst, "fb size: Y(%d), C(%d)", in get_pic_info()
262 mtk_vcodec_debug(inst, "l=%d, t=%d, w=%d, h=%d", in get_crop_info()
269 mtk_vcodec_debug(inst, "sz=%d", *dpb_sz); in get_dpb_size()
297 mtk_vcodec_debug(inst, "H264 Instance >> %p", inst); in vdec_h264_init()
351 mtk_vcodec_debug(inst, "+ [%d] FB y_dma=%llx c_dma=%llx va=%p", in vdec_h264_decode()
369 mtk_vcodec_debug(inst, "\n + NALU[%d] type %d +\n", inst->num_nalu, in vdec_h264_decode()
402 mtk_vcodec_debug(inst, "- resolution changed -"); in vdec_h264_decode()
423 mtk_vcodec_debug(inst, "\n - NALU[%d] type=%d -\n", inst->num_nalu, in vdec_h264_decode()
[all …]
Dvdec_vp8_if.c287 mtk_vcodec_debug(inst, "pic(%d, %d), buf(%d, %d)", in get_pic_info()
289 mtk_vcodec_debug(inst, "fb size: Y(%d), C(%d)", in get_pic_info()
298 mtk_vcodec_debug(inst, "prev fb base dma=%llx", prev_y_dma); in vp8_dec_finish()
418 mtk_vcodec_debug(inst, "VP8 Instance >> %p", inst); in vdec_vp8_init()
451 mtk_vcodec_debug(inst, "+ [%d] FB y_dma=%llx c_dma=%llx fb=%p", in vdec_vp8_decode()
460 mtk_vcodec_debug(inst, "\n + FRAME[%d] +\n", inst->frm_cnt); in vdec_vp8_decode()
475 mtk_vcodec_debug(inst, "wait key frame !"); in vdec_vp8_decode()
483 mtk_vcodec_debug(inst, "- resolution_changed -"); in vdec_vp8_decode()
503 mtk_vcodec_debug(inst, "\n - FRAME[%d] - show=%d\n", inst->frm_cnt, in vdec_vp8_decode()
525 mtk_vcodec_debug(inst, "[FB] get disp fb %p st=%d", in get_disp_fb()
[all …]
Dvdec_vp9_if.c249 mtk_vcodec_debug(inst, "No free fb node"); in vp9_add_to_fb_free_list()
385 mtk_vcodec_debug(inst, "BUF CHG(%d): w/h/sb_w/sb_h=%d/%d/%d/%d", in vp9_alloc_work_buf()
594 mtk_vcodec_debug(inst, "Decode Ok @%d (%d/%d)", vsi->frm_num, in vp9_decode_end_proc()
597 mtk_vcodec_debug(inst, "Decode Ok @%d (show_existing_frame)", in vp9_decode_end_proc()
627 mtk_vcodec_debug(inst, "[FB] get disp fb %p st=%d", in vp9_rm_from_fb_disp_list()
630 mtk_vcodec_debug(inst, "[FB] there is no disp fb"); in vp9_rm_from_fb_disp_list()
641 mtk_vcodec_debug(inst, "fb == NULL"); in vp9_add_to_fb_use_list()
709 mtk_vcodec_debug(inst, "pic(%d, %d), buf(%d, %d)", in get_pic_info()
711 mtk_vcodec_debug(inst, "fb size: Y(%d), C(%d)", in get_pic_info()
735 mtk_vcodec_debug(inst, "[FB] get free fb %p st=%d", in get_free_fb()
[all …]
Dvdec_vp8_req_if.c140 mtk_vcodec_debug(inst, "pic(%d, %d), buf(%d, %d)", in vdec_vp8_slice_get_pic_info()
143 mtk_vcodec_debug(inst, "fb size: Y(%d), C(%d)", in vdec_vp8_slice_get_pic_info()
303 mtk_vcodec_debug(inst, "vp8 struct size = %d vsi: %d\n", in vdec_vp8_slice_init()
306 mtk_vcodec_debug(inst, "vp8:%p, codec_type = 0x%x vsi: 0x%p", in vdec_vp8_slice_init()
353 mtk_vcodec_debug(inst, "frame[%d] bs(%zu 0x%llx) y/c(0x%llx 0x%llx)", in vdec_vp8_slice_decode()
367 mtk_vcodec_debug(inst, "vp8 dec start err!"); in vdec_vp8_slice_decode()
372 mtk_vcodec_debug(inst, "- resolution_changed -"); in vdec_vp8_slice_decode()
383 mtk_vcodec_debug(inst, "vp8 dec error timeout:%d err: %d pic_%d", in vdec_vp8_slice_decode()
386 mtk_vcodec_debug(inst, "pic[%d] crc: 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x", in vdec_vp8_slice_decode()
407 mtk_vcodec_debug(inst, "No need to get vp8 crop information."); in vdec_vp8_slice_get_param()
Dvdec_h264_req_multi_if.c362 mtk_vcodec_debug(inst, "pic(%d, %d), buf(%d, %d)", in vdec_h264_slice_get_pic_info()
365 mtk_vcodec_debug(inst, "Y/C(%d, %d)", ctx->picinfo.fb_sz[0], in vdec_h264_slice_get_pic_info()
392 mtk_vcodec_debug(inst, "l=%d, t=%d, w=%d, h=%d", in vdec_h264_slice_get_crop_info()
426 mtk_vcodec_debug(inst, "lat struct size = %d,%d,%d,%d vsi: %d\n", in vdec_h264_slice_init()
432 mtk_vcodec_debug(inst, "lat H264 instance >> %p, codec_type = 0x%x", in vdec_h264_slice_init()
469 mtk_vcodec_debug(inst, "[h264-core] vdec_h264 core decode"); in vdec_h264_slice_core_decode()
483 mtk_vcodec_debug(inst, "[h264-core] y/c addr = 0x%llx 0x%llx", y_fb_dma, in vdec_h264_slice_core_decode()
527 mtk_vcodec_debug(inst, "pic[%d] crc: 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x", in vdec_h264_slice_core_decode()
537 mtk_vcodec_debug(inst, "core decode done err=%d", err); in vdec_h264_slice_core_decode()
597 mtk_vcodec_debug(inst, "- resolution changed -"); in vdec_h264_slice_lat_decode()
[all …]
Dvdec_h264_req_if.c235 mtk_vcodec_debug(inst, "pic(%d, %d), buf(%d, %d)", in get_pic_info()
238 mtk_vcodec_debug(inst, "Y/C(%d, %d)", ctx->picinfo.fb_sz[0], in get_pic_info()
264 mtk_vcodec_debug(inst, "l=%d, t=%d, w=%d, h=%d", in get_crop_info()
271 mtk_vcodec_debug(inst, "sz=%d", *dpb_sz); in get_dpb_size()
302 mtk_vcodec_debug(inst, "struct size = %zu,%zu,%zu,%zu\n", in vdec_h264_slice_init()
308 mtk_vcodec_debug(inst, "H264 Instance >> %p", inst); in vdec_h264_slice_init()
361 mtk_vcodec_debug(inst, "+ [%d] FB y_dma=%llx c_dma=%llx va=%p", in vdec_h264_slice_decode()
387 mtk_vcodec_debug(inst, "- resolution changed -"); in vdec_h264_slice_decode()
411 mtk_vcodec_debug(inst, "\n - NALU[%d]", inst->num_nalu); in vdec_h264_slice_decode()
Dvdec_vp9_req_lat_if.c580 mtk_vcodec_debug(instance, "resolution level changed, from %u to %u, %ux%u", in vdec_vp9_slice_alloc_working_buffer()
1028 mtk_vcodec_debug(instance, "ctx dirty %u idx %d\n", in vdec_vp9_slice_setup_prob_buffer()
1054 mtk_vcodec_debug(instance, "reset seg\n"); in vdec_vp9_slice_setup_seg_buffer()
1599 mtk_vcodec_debug(instance, "Frame %u Y_CRC %08x %08x %08x %08x\n", in vdec_vp9_slice_update_single()
1603 mtk_vcodec_debug(instance, "Frame %u C_CRC %08x %08x %08x %08x\n", in vdec_vp9_slice_update_single()
1627 mtk_vcodec_debug(instance, "Frame %u LAT CRC 0x%08x %lx %lx\n", in vdec_vp9_slice_update_lat()
1847 mtk_vcodec_debug(instance, "Frame %u Y_CRC %08x %08x %08x %08x\n", in vdec_vp9_slice_update_core()
1851 mtk_vcodec_debug(instance, "Frame %u C_CRC %08x %08x %08x %08x\n", in vdec_vp9_slice_update_core()
1934 mtk_vcodec_debug(instance, "flush ...\n"); in vdec_vp9_slice_flush()
1945 mtk_vcodec_debug(instance, "w %u h %u\n", in vdec_vp9_slice_get_pic_info()
[all …]
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/venc/
Dvenc_h264_if.c249 mtk_vcodec_debug(inst, "unsupported profile %d", profile); in h264_get_profile()
292 mtk_vcodec_debug(inst, "unsupported level %d", level); in h264_get_level()
394 mtk_vcodec_debug(inst, in h264_enc_alloc_work_buf()
427 mtk_vcodec_debug(inst, "irq_status %x <-", irq_status); in h264_enc_wait_venc_done()
469 mtk_vcodec_debug(inst, "bs size %d <-", *bs_size); in h264_encode_sps()
495 mtk_vcodec_debug(inst, "bs size %d <-", *bs_size); in h264_encode_pps()
535 mtk_vcodec_debug(inst, "frm_cnt = %d\n ", inst->frm_cnt); in h264_encode_frame()
548 mtk_vcodec_debug(inst, "frm_count = %d,skip_frm_count =%d,frm_type=%d.\n", in h264_encode_frame()
580 mtk_vcodec_debug(inst, "frm %d bs_size %d key_frm %d <-", in h264_encode_frame()
646 mtk_vcodec_debug(inst, "opt %d ->", opt); in h264_enc_encode()
[all …]
Dvenc_vp8_if.c202 mtk_vcodec_debug(inst, in vp8_enc_alloc_work_buf()
227 mtk_vcodec_debug(inst, "isr return %x", irq_status); in vp8_enc_wait_venc_done()
303 mtk_vcodec_debug(inst, "->frm_cnt=%d", inst->frm_cnt); in vp8_enc_encode_frame()
321 mtk_vcodec_debug(inst, "<-size=%d key_frm=%d", *bs_size, in vp8_enc_encode_frame()
401 mtk_vcodec_debug(inst, "->type=%d", type); in vp8_enc_set_param()
432 mtk_vcodec_debug(inst, "set ts_mode"); in vp8_enc_set_param()