/linux-6.3-rc2/drivers/media/platform/mediatek/vcodec/ |
A D | vdec_vpu_if.c | 19 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() 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() 216 mtk_vcodec_debug(vpu, "- ret=%d", err); in vpu_dec_init() 245 mtk_vcodec_debug(vpu, "- ret=%d", err); in vpu_dec_start() [all …]
|
A D | mtk_vcodec_util.h | 44 #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, "-")
|
A D | venc_vpu_if.c | 25 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-6.3-rc2/drivers/media/platform/mediatek/vcodec/vdec/ |
A D | vdec_h264_if.c | 235 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() 443 mtk_vcodec_debug(inst, "[FB] there is no %s fb", in vdec_h264_get_fb() [all …]
|
A D | vdec_vp8_if.c | 287 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() 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() 525 mtk_vcodec_debug(inst, "[FB] get disp fb %p st=%d", in get_disp_fb() 529 mtk_vcodec_debug(inst, "[FB] there is no disp fb"); in get_disp_fb() 546 mtk_vcodec_debug(inst, "[FB] get free fb %p st=%d", in get_free_fb() [all …]
|
A D | vdec_vp9_if.c | 249 mtk_vcodec_debug(inst, "No free fb node"); in vp9_add_to_fb_free_list() 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() 832 mtk_vcodec_debug(inst, "[EOS]"); in vdec_vp9_decode() 929 mtk_vcodec_debug(inst, "[#pic %d]", vsi->frm_num); in vdec_vp9_decode() 932 mtk_vcodec_debug(inst, in vdec_vp9_decode() [all …]
|
A D | vdec_vp8_req_if.c | 140 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()
|
A D | vdec_h264_req_multi_if.c | 362 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() 469 mtk_vcodec_debug(inst, "[h264-core] vdec_h264 core decode"); in vdec_h264_slice_core_decode() 542 mtk_vcodec_debug(inst, "core decode done err=%d", err); in vdec_h264_slice_core_decode() 628 mtk_vcodec_debug(inst, "- resolution changed -"); in vdec_h264_slice_lat_decode() 651 mtk_vcodec_debug(inst, "lat:trans(0x%llx 0x%llx) err:0x%llx", in vdec_h264_slice_lat_decode() 663 mtk_vcodec_debug(inst, "lat decode err: %d", err); in vdec_h264_slice_lat_decode() 737 mtk_vcodec_debug(inst, "[h264-dec] [%d] y_dma=%llx c_dma=%llx", in vdec_h264_slice_single_decode() [all …]
|
A D | vdec_h264_req_if.c | 235 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()
|
A D | vdec_vp9_req_lat_if.c | 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() 2115 mtk_vcodec_debug(instance, "lat dma addr: 0x%lx 0x%lx\n", in vdec_vp9_slice_lat_decode() [all …]
|
/linux-6.3-rc2/drivers/media/platform/mediatek/vcodec/venc/ |
A D | venc_h264_if.c | 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() 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() 726 mtk_vcodec_debug(inst, "opt %d <-", opt); in h264_enc_encode() 778 mtk_vcodec_debug(inst, "->type=%d", type); in h264_enc_set_param() [all …]
|
A D | venc_vp8_if.c | 202 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()
|