/linux-6.3-rc2/drivers/media/platform/verisilicon/ |
A D | rockchip_vpu_hw.c | 27 .codec_mode = HANTRO_MODE_NONE, 32 .codec_mode = HANTRO_MODE_NONE, 37 .codec_mode = HANTRO_MODE_NONE, 42 .codec_mode = HANTRO_MODE_NONE, 47 .codec_mode = HANTRO_MODE_JPEG_ENC, 64 .codec_mode = HANTRO_MODE_NONE, 80 .codec_mode = HANTRO_MODE_NONE, 118 .codec_mode = HANTRO_MODE_VP8_DEC, 134 .codec_mode = HANTRO_MODE_NONE, 188 .codec_mode = HANTRO_MODE_NONE, [all …]
|
A D | imx8m_vpu_hw.c | 84 .codec_mode = HANTRO_MODE_NONE, 100 .codec_mode = HANTRO_MODE_NONE, 112 .codec_mode = HANTRO_MODE_MPEG2_DEC, 125 .codec_mode = HANTRO_MODE_VP8_DEC, 138 .codec_mode = HANTRO_MODE_H264_DEC, 154 .codec_mode = HANTRO_MODE_NONE, 167 .codec_mode = HANTRO_MODE_NONE, 183 .codec_mode = HANTRO_MODE_NONE, 196 .codec_mode = HANTRO_MODE_NONE, 209 .codec_mode = HANTRO_MODE_HEVC_DEC, [all …]
|
A D | sama5d4_vdec_hw.c | 17 .codec_mode = HANTRO_MODE_NONE, 33 .codec_mode = HANTRO_MODE_NONE, 45 .codec_mode = HANTRO_MODE_MPEG2_DEC, 58 .codec_mode = HANTRO_MODE_VP8_DEC, 71 .codec_mode = HANTRO_MODE_H264_DEC,
|
A D | sunxi_vpu_hw.c | 15 .codec_mode = HANTRO_MODE_NONE, 28 .codec_mode = HANTRO_MODE_NONE, 44 .codec_mode = HANTRO_MODE_NONE, 57 .codec_mode = HANTRO_MODE_NONE, 70 .codec_mode = HANTRO_MODE_VP9_DEC,
|
A D | hantro_v4l2.c | 129 if (bitstream == (formats[i].codec_mode != in hantro_get_default_fmt() 162 if (fmt->codec_mode == HANTRO_MODE_NONE) { in vidioc_enum_framesizes() 202 bool mode_none = formats[i].codec_mode == HANTRO_MODE_NONE; in vidioc_enum_fmt() 543 vpu_debug(0, "OUTPUT codec mode: %d\n", ctx->vpu_src_fmt->codec_mode); in hantro_set_fmt_out() 603 vpu_debug(0, "CAPTURE codec mode: %d\n", ctx->vpu_dst_fmt->codec_mode); in hantro_set_fmt_cap() 892 enum hantro_codec_mode codec_mode; in hantro_start_streaming() local 895 codec_mode = ctx->vpu_src_fmt->codec_mode; in hantro_start_streaming() 897 codec_mode = ctx->vpu_dst_fmt->codec_mode; in hantro_start_streaming() 899 vpu_debug(4, "Codec mode = %d\n", codec_mode); in hantro_start_streaming() 900 ctx->codec_ops = &ctx->dev->variant->codec_ops[codec_mode]; in hantro_start_streaming()
|
A D | hantro.h | 287 enum hantro_codec_mode codec_mode; member
|
/linux-6.3-rc2/drivers/media/platform/samsung/s5p-mfc/ |
A 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, 79 .codec_mode = S5P_MFC_CODEC_H263_DEC, 87 .codec_mode = S5P_MFC_CODEC_MPEG2_DEC, 96 .codec_mode = S5P_MFC_CODEC_MPEG2_DEC, 122 .codec_mode = S5P_MFC_CODEC_VC1_DEC, 138 .codec_mode = S5P_MFC_CODEC_VP8_DEC, [all …]
|
A 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() 499 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC) in s5p_mfc_set_dec_frame_buffer_v5() 568 switch (ctx->codec_mode) { in s5p_mfc_set_enc_ref_buffer_v5() 668 ctx->codec_mode); in s5p_mfc_set_enc_ref_buffer_v5() [all …]
|
A 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() 453 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC || in s5p_mfc_dec_calc_dpb_size_v6() 548 ctx->codec_mode == S5P_FIMV_CODEC_HEVC_DEC) { in s5p_mfc_set_dec_frame_buffer_v6() 570 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC || in s5p_mfc_set_dec_frame_buffer_v6() 572 ctx->codec_mode == S5P_MFC_CODEC_HEVC_DEC) { in s5p_mfc_set_dec_frame_buffer_v6() 587 if (ctx->codec_mode == S5P_FIMV_CODEC_VP9_DEC) { in s5p_mfc_set_dec_frame_buffer_v6() 1707 if (ctx->codec_mode == S5P_MFC_CODEC_H264_ENC) in s5p_mfc_init_encode_v6() 1719 ctx->codec_mode); in s5p_mfc_init_encode_v6() [all …]
|
A 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()
|
A 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()
|
A 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, 1452 ctx->codec_mode = ctx->dst_fmt->codec_mode; in vidioc_s_fmt() [all …]
|
A D | s5p_mfc_common.h | 683 int codec_mode; member 731 u32 codec_mode; member
|
A D | s5p_mfc.c | 439 if (ctx->codec_mode != S5P_MFC_CODEC_H264_DEC && in s5p_mfc_handle_frame() 440 ctx->codec_mode != S5P_MFC_CODEC_VP8_DEC && in s5p_mfc_handle_frame() 548 if ((ctx->codec_mode == S5P_MFC_CODEC_H264_DEC || in s5p_mfc_handle_seq_done() 549 ctx->codec_mode == S5P_MFC_CODEC_H264_MVC_DEC) && in s5p_mfc_handle_seq_done()
|
/linux-6.3-rc2/drivers/media/pci/zoran/ |
A D | zoran_device.c | 333 zr36057_adjust_vfe(zr, zr->codec_mode); in zr36057_set_vfe() 611 zr->codec_mode = mode; in zr36057_enable_jpg() 789 if (zr->codec_mode == BUZ_MODE_MOTION_DECOMPRESS) in zoran_feed_stat_com() 812 if (zr->codec_mode == BUZ_MODE_MOTION_DECOMPRESS) in zoran_reap_stat_com() 839 if (zr->codec_mode == BUZ_MODE_MOTION_COMPRESS) { in zoran_reap_stat_com() 879 if (zr->codec_mode != BUZ_MODE_MOTION_DECOMPRESS && in zoran_irq() 880 zr->codec_mode != BUZ_MODE_MOTION_COMPRESS) { in zoran_irq()
|
A D | zoran.h | 239 enum zoran_codec_mode codec_mode; /* status of codec */ member
|
A D | zoran_card.c | 1192 seq_printf(seq, "Codec mode %x\n", zr->codec_mode); in zoran_debugfs_show()
|
/linux-6.3-rc2/drivers/media/platform/chips-media/ |
A D | coda.h | 144 int codec_mode; member
|
A D | coda-bit.c | 89 coda_write(dev, ctx->params.codec_mode, CODA_REG_BIT_RUN_COD_STD); in coda_command_async() 1165 ctx->params.codec_mode = ctx->codec->mode; in coda_start_encoding() 1919 ctx->params.codec_mode = ctx->codec->mode; in __coda_decoder_seq_init()
|
A D | coda-common.c | 1663 ctx->params.codec_mode = ctx->codec->mode; in set_default_params()
|
/linux-6.3-rc2/drivers/media/platform/amphion/ |
A D | vpu_windsor.c | 398 enum MEDIAIP_ENC_FMT codec_mode; member 930 param->codec_mode = MEDIAIP_ENC_FMT_H264; in vpu_windsor_set_format()
|