Searched refs:codec_mode (Results 1 – 14 of 14) sorted by relevance
/Linux-v4.19/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_dec.c | 38 .codec_mode = S5P_MFC_CODEC_NONE, 46 .codec_mode = S5P_MFC_CODEC_NONE, 54 .codec_mode = S5P_MFC_CODEC_NONE, 62 .codec_mode = S5P_MFC_CODEC_NONE, 70 .codec_mode = S5P_MFC_CODEC_H264_DEC, 78 .codec_mode = S5P_MFC_CODEC_H264_MVC_DEC, 86 .codec_mode = S5P_MFC_CODEC_H263_DEC, 94 .codec_mode = S5P_MFC_CODEC_MPEG2_DEC, 102 .codec_mode = S5P_MFC_CODEC_MPEG2_DEC, 110 .codec_mode = S5P_MFC_CODEC_MPEG4_DEC, [all …]
|
D | s5p_mfc_opr_v5.c | 81 if (ctx->codec_mode == S5P_MFC_CODEC_H264_ENC) { in s5p_mfc_alloc_codec_buffers_v5() 102 switch (ctx->codec_mode) { in s5p_mfc_alloc_codec_buffers_v5() 209 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC || in s5p_mfc_alloc_instance_buffer_v5() 210 ctx->codec_mode == S5P_MFC_CODEC_H264_ENC) in s5p_mfc_alloc_instance_buffer_v5() 288 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC) { in s5p_mfc_dec_calc_dpb_size_v5() 397 switch (ctx->codec_mode) { in s5p_mfc_set_dec_frame_buffer_v5() 466 ctx->codec_mode); in s5p_mfc_set_dec_frame_buffer_v5() 484 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC) { in s5p_mfc_set_dec_frame_buffer_v5() 502 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC) in s5p_mfc_set_dec_frame_buffer_v5() 558 if (ctx->codec_mode == S5P_MFC_CODEC_H264_ENC) { in s5p_mfc_set_enc_ref_buffer_v5() [all …]
|
D | s5p_mfc_opr_v6.c | 91 if (ctx->codec_mode != S5P_FIMV_CODEC_HEVC_ENC) { in s5p_mfc_alloc_codec_buffers_v6() 136 switch (ctx->codec_mode) { in s5p_mfc_alloc_codec_buffers_v6() 344 switch (ctx->codec_mode) { in s5p_mfc_alloc_instance_buffer_v6() 372 mfc_err("Codec type(%d) should be checked!\n", ctx->codec_mode); in s5p_mfc_alloc_instance_buffer_v6() 456 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC || in s5p_mfc_dec_calc_dpb_size_v6() 457 ctx->codec_mode == S5P_MFC_CODEC_H264_MVC_DEC) { in s5p_mfc_dec_calc_dpb_size_v6() 465 } else if (ctx->codec_mode == S5P_MFC_CODEC_HEVC_DEC) { in s5p_mfc_dec_calc_dpb_size_v6() 549 if (ctx->codec_mode == S5P_FIMV_CODEC_H264_DEC || in s5p_mfc_set_dec_frame_buffer_v6() 550 ctx->codec_mode == S5P_FIMV_CODEC_H264_MVC_DEC || in s5p_mfc_set_dec_frame_buffer_v6() 551 ctx->codec_mode == S5P_FIMV_CODEC_HEVC_DEC) { in s5p_mfc_set_dec_frame_buffer_v6() [all …]
|
D | s5p_mfc_cmd_v6.c | 77 mfc_debug(2, "Requested codec mode: %d\n", ctx->codec_mode); in s5p_mfc_open_inst_cmd_v6() 79 switch (ctx->codec_mode) { in s5p_mfc_open_inst_cmd_v6()
|
D | s5p_mfc_cmd_v5.c | 82 mfc_debug(2, "Getting instance number (codec: %d)\n", ctx->codec_mode); in s5p_mfc_open_inst_cmd_v5() 85 switch (ctx->codec_mode) { in s5p_mfc_open_inst_cmd_v5()
|
D | s5p_mfc_enc.c | 41 .codec_mode = S5P_MFC_CODEC_NONE, 49 .codec_mode = S5P_MFC_CODEC_NONE, 57 .codec_mode = S5P_MFC_CODEC_NONE, 65 .codec_mode = S5P_MFC_CODEC_NONE, 73 .codec_mode = S5P_MFC_CODEC_H264_ENC, 81 .codec_mode = S5P_MFC_CODEC_MPEG4_ENC, 89 .codec_mode = S5P_MFC_CODEC_H263_ENC, 97 .codec_mode = S5P_MFC_CODEC_VP8_ENC, 104 .codec_mode = S5P_FIMV_CODEC_HEVC_ENC, 1463 ctx->codec_mode = ctx->dst_fmt->codec_mode; in vidioc_s_fmt() [all …]
|
D | s5p_mfc_common.h | 677 int codec_mode; member 727 u32 codec_mode; member
|
D | s5p_mfc.c | 431 if (ctx->codec_mode != S5P_MFC_CODEC_H264_DEC && in s5p_mfc_handle_frame() 432 ctx->codec_mode != S5P_MFC_CODEC_VP8_DEC && in s5p_mfc_handle_frame() 537 if ((ctx->codec_mode == S5P_MFC_CODEC_H264_DEC || in s5p_mfc_handle_seq_done() 538 ctx->codec_mode == S5P_MFC_CODEC_H264_MVC_DEC) && in s5p_mfc_handle_seq_done()
|
/Linux-v4.19/drivers/staging/media/zoran/ |
D | zoran_device.c | 446 zr36057_adjust_vfe(zr, zr->codec_mode); in zr36057_set_vfe() 955 zr->codec_mode = mode; in zr36057_enable_jpg() 1116 if (zr->codec_mode == BUZ_MODE_MOTION_DECOMPRESS) in zoran_feed_stat_com() 1136 if (zr->codec_mode == BUZ_MODE_MOTION_DECOMPRESS) { in zoran_reap_stat_com() 1156 if (zr->codec_mode == BUZ_MODE_MOTION_COMPRESS) { in zoran_reap_stat_com() 1182 if (zr->codec_mode == BUZ_MODE_MOTION_COMPRESS) { in zoran_restart() 1189 if (zr->codec_mode == BUZ_MODE_MOTION_DECOMPRESS || in zoran_restart() 1194 zr36057_set_jpg(zr, zr->codec_mode); in zoran_restart() 1215 if (zr->codec_mode != BUZ_MODE_MOTION_COMPRESS && in error_handler() 1216 zr->codec_mode != BUZ_MODE_MOTION_DECOMPRESS) { in error_handler() [all …]
|
D | zoran_driver.c | 659 if (zr->codec_mode == BUZ_MODE_IDLE) { in zoran_jpg_queue_frame() 661 } else if (zr->codec_mode != mode) { in zoran_jpg_queue_frame() 683 if (!res && zr->codec_mode == BUZ_MODE_IDLE) { in zoran_jpg_queue_frame() 733 if (zr->codec_mode == mode) { in jpg_qbuf() 781 if (zr->codec_mode != BUZ_MODE_MOTION_DECOMPRESS && in jpg_sync() 782 zr->codec_mode != BUZ_MODE_MOTION_COMPRESS) { in jpg_sync() 2028 int res = 0, codec_mode, buf_type; in zoran_qbuf() local 2051 codec_mode = BUZ_MODE_MOTION_DECOMPRESS; in zoran_qbuf() 2054 codec_mode = BUZ_MODE_MOTION_COMPRESS; in zoran_qbuf() 2065 res = zoran_jpg_queue_frame(fh, buf->index, codec_mode); in zoran_qbuf() [all …]
|
D | zoran.h | 330 enum zoran_codec_mode codec_mode; /* status of codec */ member
|
/Linux-v4.19/drivers/media/platform/coda/ |
D | coda.h | 130 int codec_mode; member
|
D | coda-bit.c | 92 coda_write(dev, ctx->params.codec_mode, CODA_REG_BIT_RUN_COD_STD); in coda_command_async() 976 ctx->params.codec_mode = ctx->codec->mode; in coda_start_encoding() 1697 ctx->params.codec_mode = ctx->codec->mode; in __coda_start_decoding()
|
D | coda-common.c | 1350 ctx->params.codec_mode = ctx->codec->mode; in set_default_params()
|