Searched refs:codec_mode (Results 1 – 14 of 14) sorted by relevance
/linux-4.4.14/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, 79 .codec_mode = S5P_MFC_CODEC_H264_MVC_DEC, 87 .codec_mode = S5P_MFC_CODEC_H263_DEC, 96 .codec_mode = S5P_MFC_CODEC_MPEG2_DEC, 105 .codec_mode = S5P_MFC_CODEC_MPEG2_DEC, 114 .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() 211 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC || in s5p_mfc_alloc_instance_buffer_v5() 212 ctx->codec_mode == S5P_MFC_CODEC_H264_ENC) in s5p_mfc_alloc_instance_buffer_v5() 290 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC) { in s5p_mfc_dec_calc_dpb_size_v5() 399 switch (ctx->codec_mode) { in s5p_mfc_set_dec_frame_buffer_v5() 468 ctx->codec_mode); in s5p_mfc_set_dec_frame_buffer_v5() 486 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC) { in s5p_mfc_set_dec_frame_buffer_v5() 504 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC) in s5p_mfc_set_dec_frame_buffer_v5() 560 if (ctx->codec_mode == S5P_MFC_CODEC_H264_ENC) { in s5p_mfc_set_enc_ref_buffer_v5() [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_opr_v6.c | 110 switch (ctx->codec_mode) { in s5p_mfc_alloc_codec_buffers_v6() 268 switch (ctx->codec_mode) { in s5p_mfc_alloc_instance_buffer_v6() 291 mfc_err("Codec type(%d) should be checked!\n", ctx->codec_mode); in s5p_mfc_alloc_instance_buffer_v6() 375 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC || in s5p_mfc_dec_calc_dpb_size_v6() 376 ctx->codec_mode == S5P_MFC_CODEC_H264_MVC_DEC) { in s5p_mfc_dec_calc_dpb_size_v6() 460 if (ctx->codec_mode == S5P_FIMV_CODEC_H264_DEC || in s5p_mfc_set_dec_frame_buffer_v6() 461 ctx->codec_mode == S5P_FIMV_CODEC_H264_MVC_DEC){ in s5p_mfc_set_dec_frame_buffer_v6() 483 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC || in s5p_mfc_set_dec_frame_buffer_v6() 484 ctx->codec_mode == S5P_MFC_CODEC_H264_MVC_DEC) { in s5p_mfc_set_dec_frame_buffer_v6() 1356 if (ctx->codec_mode == S5P_MFC_CODEC_MPEG4_DEC) { in s5p_mfc_init_decode_v6() [all …]
|
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, 66 .codec_mode = S5P_MFC_CODEC_NONE, 74 .codec_mode = S5P_MFC_CODEC_H264_ENC, 83 .codec_mode = S5P_MFC_CODEC_MPEG4_ENC, 92 .codec_mode = S5P_MFC_CODEC_H263_ENC, 101 .codec_mode = S5P_MFC_CODEC_VP8_ENC, 1107 ctx->codec_mode = ctx->dst_fmt->codec_mode; in vidioc_s_fmt() 1118 mfc_debug(2, "codec number: %d\n", ctx->src_fmt->codec_mode); in vidioc_s_fmt()
|
D | s5p_mfc_common.h | 621 int codec_mode; member 671 u32 codec_mode; member
|
D | s5p_mfc.c | 393 if (ctx->codec_mode != S5P_MFC_CODEC_H264_DEC && in s5p_mfc_handle_frame() 394 ctx->codec_mode != S5P_MFC_CODEC_VP8_DEC && in s5p_mfc_handle_frame() 505 if ((ctx->codec_mode == S5P_MFC_CODEC_H264_DEC || in s5p_mfc_handle_seq_done() 506 ctx->codec_mode == S5P_MFC_CODEC_H264_MVC_DEC) && in s5p_mfc_handle_seq_done()
|
/linux-4.4.14/drivers/media/pci/zoran/ |
D | zoran_device.c | 456 zr36057_adjust_vfe(zr, zr->codec_mode); in zr36057_set_vfe() 965 zr->codec_mode = mode; in zr36057_enable_jpg() 1126 if (zr->codec_mode == BUZ_MODE_MOTION_DECOMPRESS) in zoran_feed_stat_com() 1146 if (zr->codec_mode == BUZ_MODE_MOTION_DECOMPRESS) { in zoran_reap_stat_com() 1166 if (zr->codec_mode == BUZ_MODE_MOTION_COMPRESS) { in zoran_reap_stat_com() 1192 if (zr->codec_mode == BUZ_MODE_MOTION_COMPRESS) { in zoran_restart() 1199 if (zr->codec_mode == BUZ_MODE_MOTION_DECOMPRESS || in zoran_restart() 1204 zr36057_set_jpg(zr, zr->codec_mode); in zoran_restart() 1225 if (zr->codec_mode != BUZ_MODE_MOTION_COMPRESS && in error_handler() 1226 zr->codec_mode != BUZ_MODE_MOTION_DECOMPRESS) { in error_handler() [all …]
|
D | zoran_driver.c | 662 if (zr->codec_mode == BUZ_MODE_IDLE) { in zoran_jpg_queue_frame() 664 } else if (zr->codec_mode != mode) { in zoran_jpg_queue_frame() 686 if (!res && zr->codec_mode == BUZ_MODE_IDLE) { in zoran_jpg_queue_frame() 735 if (zr->codec_mode == mode) { in jpg_qbuf() 783 if (zr->codec_mode != BUZ_MODE_MOTION_DECOMPRESS && in jpg_sync() 784 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 | 334 enum zoran_codec_mode codec_mode; /* status of codec */ member
|
/linux-4.4.14/drivers/media/platform/coda/ |
D | coda.h | 126 int codec_mode; member
|
D | coda-bit.c | 90 coda_write(dev, ctx->params.codec_mode, CODA_REG_BIT_RUN_COD_STD); in coda_command_async() 894 ctx->params.codec_mode = ctx->codec->mode; in coda_start_encoding() 1558 ctx->params.codec_mode = ctx->codec->mode; in __coda_start_decoding()
|
D | coda-common.c | 1097 ctx->params.codec_mode = ctx->codec->mode; in set_default_params()
|