/kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
D | rk3288_vpu_hw.c | 25 .codec_mode = HANTRO_MODE_NONE, 30 .codec_mode = HANTRO_MODE_NONE, 35 .codec_mode = HANTRO_MODE_NONE, 40 .codec_mode = HANTRO_MODE_NONE, 45 .codec_mode = HANTRO_MODE_JPEG_ENC, 62 .codec_mode = HANTRO_MODE_NONE, 69 .codec_mode = HANTRO_MODE_NONE, 73 .codec_mode = HANTRO_MODE_H264_DEC, 86 .codec_mode = HANTRO_MODE_MPEG2_DEC, 99 .codec_mode = HANTRO_MODE_VP8_DEC,
|
D | rk3399_vpu_hw.c | 24 .codec_mode = HANTRO_MODE_NONE, 29 .codec_mode = HANTRO_MODE_NONE, 34 .codec_mode = HANTRO_MODE_NONE, 39 .codec_mode = HANTRO_MODE_NONE, 44 .codec_mode = HANTRO_MODE_JPEG_ENC, 61 .codec_mode = HANTRO_MODE_NONE, 65 .codec_mode = HANTRO_MODE_MPEG2_DEC, 78 .codec_mode = HANTRO_MODE_VP8_DEC,
|
D | imx8m_vpu_hw.c | 83 .codec_mode = HANTRO_MODE_NONE, 90 .codec_mode = HANTRO_MODE_NONE, 94 .codec_mode = HANTRO_MODE_MPEG2_DEC, 107 .codec_mode = HANTRO_MODE_VP8_DEC, 120 .codec_mode = HANTRO_MODE_H264_DEC,
|
D | hantro_v4l2.c | 93 if (bitstream == (formats[i].codec_mode != in hantro_get_default_fmt() 133 if (fmt->codec_mode == HANTRO_MODE_NONE) in vidioc_enum_framesizes() 165 bool mode_none = formats[i].codec_mode == HANTRO_MODE_NONE; in vidioc_enum_fmt() 464 vpu_debug(0, "OUTPUT codec mode: %d\n", ctx->vpu_src_fmt->codec_mode); in hantro_set_fmt_out() 524 vpu_debug(0, "CAPTURE codec mode: %d\n", ctx->vpu_dst_fmt->codec_mode); in hantro_set_fmt_cap() 679 enum hantro_codec_mode codec_mode; in hantro_start_streaming() local 682 codec_mode = ctx->vpu_src_fmt->codec_mode; in hantro_start_streaming() 684 codec_mode = ctx->vpu_dst_fmt->codec_mode; in hantro_start_streaming() 686 vpu_debug(4, "Codec mode = %d\n", codec_mode); in hantro_start_streaming() 687 ctx->codec_ops = &ctx->dev->variant->codec_ops[codec_mode]; in hantro_start_streaming()
|
D | hantro.h | 263 enum hantro_codec_mode codec_mode; member
|
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_dec.c | 33 .codec_mode = S5P_MFC_CODEC_NONE, 40 .codec_mode = S5P_MFC_CODEC_NONE, 47 .codec_mode = S5P_MFC_CODEC_NONE, 54 .codec_mode = S5P_MFC_CODEC_NONE, 61 .codec_mode = S5P_MFC_CODEC_H264_DEC, 68 .codec_mode = S5P_MFC_CODEC_H264_MVC_DEC, 75 .codec_mode = S5P_MFC_CODEC_H263_DEC, 82 .codec_mode = S5P_MFC_CODEC_MPEG2_DEC, 89 .codec_mode = S5P_MFC_CODEC_MPEG2_DEC, 96 .codec_mode = S5P_MFC_CODEC_MPEG4_DEC, [all …]
|
D | s5p_mfc_opr_v5.c | 78 if (ctx->codec_mode == S5P_MFC_CODEC_H264_ENC) { in s5p_mfc_alloc_codec_buffers_v5() 99 switch (ctx->codec_mode) { in s5p_mfc_alloc_codec_buffers_v5() 206 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC || in s5p_mfc_alloc_instance_buffer_v5() 207 ctx->codec_mode == S5P_MFC_CODEC_H264_ENC) in s5p_mfc_alloc_instance_buffer_v5() 285 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC) { in s5p_mfc_dec_calc_dpb_size_v5() 394 switch (ctx->codec_mode) { in s5p_mfc_set_dec_frame_buffer_v5() 463 ctx->codec_mode); in s5p_mfc_set_dec_frame_buffer_v5() 481 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC) { in s5p_mfc_set_dec_frame_buffer_v5() 499 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC) in s5p_mfc_set_dec_frame_buffer_v5() 555 if (ctx->codec_mode == S5P_MFC_CODEC_H264_ENC) { in s5p_mfc_set_enc_ref_buffer_v5() [all …]
|
D | s5p_mfc_opr_v6.c | 88 if (ctx->codec_mode != S5P_FIMV_CODEC_HEVC_ENC) { in s5p_mfc_alloc_codec_buffers_v6() 133 switch (ctx->codec_mode) { in s5p_mfc_alloc_codec_buffers_v6() 341 switch (ctx->codec_mode) { in s5p_mfc_alloc_instance_buffer_v6() 369 mfc_err("Codec type(%d) should be checked!\n", ctx->codec_mode); in s5p_mfc_alloc_instance_buffer_v6() 453 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC || in s5p_mfc_dec_calc_dpb_size_v6() 454 ctx->codec_mode == S5P_MFC_CODEC_H264_MVC_DEC) { in s5p_mfc_dec_calc_dpb_size_v6() 462 } else if (ctx->codec_mode == S5P_MFC_CODEC_HEVC_DEC) { in s5p_mfc_dec_calc_dpb_size_v6() 546 if (ctx->codec_mode == S5P_FIMV_CODEC_H264_DEC || in s5p_mfc_set_dec_frame_buffer_v6() 547 ctx->codec_mode == S5P_FIMV_CODEC_H264_MVC_DEC || in s5p_mfc_set_dec_frame_buffer_v6() 548 ctx->codec_mode == S5P_FIMV_CODEC_HEVC_DEC) { in s5p_mfc_set_dec_frame_buffer_v6() [all …]
|
D | s5p_mfc_cmd_v6.c | 73 mfc_debug(2, "Requested codec mode: %d\n", ctx->codec_mode); in s5p_mfc_open_inst_cmd_v6() 75 switch (ctx->codec_mode) { in s5p_mfc_open_inst_cmd_v6()
|
D | s5p_mfc_cmd_v5.c | 78 mfc_debug(2, "Getting instance number (codec: %d)\n", ctx->codec_mode); in s5p_mfc_open_inst_cmd_v5() 81 switch (ctx->codec_mode) { in s5p_mfc_open_inst_cmd_v5()
|
D | s5p_mfc_enc.c | 36 .codec_mode = S5P_MFC_CODEC_NONE, 43 .codec_mode = S5P_MFC_CODEC_NONE, 50 .codec_mode = S5P_MFC_CODEC_NONE, 57 .codec_mode = S5P_MFC_CODEC_NONE, 64 .codec_mode = S5P_MFC_CODEC_H264_ENC, 71 .codec_mode = S5P_MFC_CODEC_MPEG4_ENC, 78 .codec_mode = S5P_MFC_CODEC_H263_ENC, 85 .codec_mode = S5P_MFC_CODEC_VP8_ENC, 92 .codec_mode = S5P_FIMV_CODEC_HEVC_ENC, 1446 ctx->codec_mode = ctx->dst_fmt->codec_mode; in vidioc_s_fmt() [all …]
|
D | s5p_mfc_common.h | 673 int codec_mode; member 722 u32 codec_mode; member
|
D | s5p_mfc.c | 427 if (ctx->codec_mode != S5P_MFC_CODEC_H264_DEC && in s5p_mfc_handle_frame() 428 ctx->codec_mode != S5P_MFC_CODEC_VP8_DEC && in s5p_mfc_handle_frame() 534 if ((ctx->codec_mode == S5P_MFC_CODEC_H264_DEC || in s5p_mfc_handle_seq_done() 535 ctx->codec_mode == S5P_MFC_CODEC_H264_MVC_DEC) && in s5p_mfc_handle_seq_done()
|
/kernel/linux/linux-5.10/drivers/staging/media/zoran/ |
D | zoran_device.c | 395 zr36057_adjust_vfe(zr, zr->codec_mode); in zr36057_set_vfe() 675 zr->codec_mode = mode; in zr36057_enable_jpg() 853 if (zr->codec_mode == BUZ_MODE_MOTION_DECOMPRESS) in zoran_feed_stat_com() 874 if (zr->codec_mode == BUZ_MODE_MOTION_DECOMPRESS) in zoran_reap_stat_com() 896 if (zr->codec_mode == BUZ_MODE_MOTION_COMPRESS) { in zoran_reap_stat_com() 936 if (zr->codec_mode != BUZ_MODE_MOTION_DECOMPRESS && in zoran_irq() 937 zr->codec_mode != BUZ_MODE_MOTION_COMPRESS) { in zoran_irq()
|
D | zoran.h | 246 enum zoran_codec_mode codec_mode; /* status of codec */ member
|
/kernel/linux/linux-5.10/drivers/media/platform/coda/ |
D | coda.h | 135 int codec_mode; member
|
D | coda-bit.c | 88 coda_write(dev, ctx->params.codec_mode, CODA_REG_BIT_RUN_COD_STD); in coda_command_async() 1157 ctx->params.codec_mode = ctx->codec->mode; in coda_start_encoding() 1888 ctx->params.codec_mode = ctx->codec->mode; in __coda_decoder_seq_init()
|
D | coda-common.c | 1660 ctx->params.codec_mode = ctx->codec->mode; in set_default_params()
|