Home
last modified time | relevance | path

Searched refs:codec_mode (Results 1 – 14 of 14) sorted by relevance

/linux-4.1.27/drivers/media/platform/s5p-mfc/
Ds5p_mfc_dec.c38 .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 …]
Ds5p_mfc_opr_v5.c81 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 …]
Ds5p_mfc_cmd_v6.c73 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()
Ds5p_mfc_cmd_v5.c82 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()
Ds5p_mfc_opr_v6.c110 switch (ctx->codec_mode) { in s5p_mfc_alloc_codec_buffers_v6()
267 switch (ctx->codec_mode) { in s5p_mfc_alloc_instance_buffer_v6()
290 mfc_err("Codec type(%d) should be checked!\n", ctx->codec_mode); in s5p_mfc_alloc_instance_buffer_v6()
373 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC || in s5p_mfc_dec_calc_dpb_size_v6()
374 ctx->codec_mode == S5P_MFC_CODEC_H264_MVC_DEC) { in s5p_mfc_dec_calc_dpb_size_v6()
458 if (ctx->codec_mode == S5P_FIMV_CODEC_H264_DEC || in s5p_mfc_set_dec_frame_buffer_v6()
459 ctx->codec_mode == S5P_FIMV_CODEC_H264_MVC_DEC){ in s5p_mfc_set_dec_frame_buffer_v6()
481 if (ctx->codec_mode == S5P_MFC_CODEC_H264_DEC || in s5p_mfc_set_dec_frame_buffer_v6()
482 ctx->codec_mode == S5P_MFC_CODEC_H264_MVC_DEC) { in s5p_mfc_set_dec_frame_buffer_v6()
1354 if (ctx->codec_mode == S5P_MFC_CODEC_MPEG4_DEC) { in s5p_mfc_init_decode_v6()
[all …]
Ds5p_mfc_enc.c41 .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,
1101 ctx->codec_mode = ctx->dst_fmt->codec_mode; in vidioc_s_fmt()
1112 mfc_debug(2, "codec number: %d\n", ctx->src_fmt->codec_mode); in vidioc_s_fmt()
Ds5p_mfc_common.h621 int codec_mode; member
671 u32 codec_mode; member
Ds5p_mfc.c394 if (ctx->codec_mode != S5P_MFC_CODEC_H264_DEC && in s5p_mfc_handle_frame()
395 ctx->codec_mode != S5P_MFC_CODEC_VP8_DEC && in s5p_mfc_handle_frame()
504 if ((ctx->codec_mode == S5P_MFC_CODEC_H264_DEC || in s5p_mfc_handle_seq_done()
505 ctx->codec_mode == S5P_MFC_CODEC_H264_MVC_DEC) && in s5p_mfc_handle_seq_done()
/linux-4.1.27/drivers/media/pci/zoran/
Dzoran_device.c464 zr36057_adjust_vfe(zr, zr->codec_mode); in zr36057_set_vfe()
973 zr->codec_mode = mode; in zr36057_enable_jpg()
1134 if (zr->codec_mode == BUZ_MODE_MOTION_DECOMPRESS) in zoran_feed_stat_com()
1154 if (zr->codec_mode == BUZ_MODE_MOTION_DECOMPRESS) { in zoran_reap_stat_com()
1174 if (zr->codec_mode == BUZ_MODE_MOTION_COMPRESS) { in zoran_reap_stat_com()
1200 if (zr->codec_mode == BUZ_MODE_MOTION_COMPRESS) { in zoran_restart()
1207 if (zr->codec_mode == BUZ_MODE_MOTION_DECOMPRESS || in zoran_restart()
1212 zr36057_set_jpg(zr, zr->codec_mode); in zoran_restart()
1233 if (zr->codec_mode != BUZ_MODE_MOTION_COMPRESS && in error_handler()
1234 zr->codec_mode != BUZ_MODE_MOTION_DECOMPRESS) { in error_handler()
[all …]
Dzoran_driver.c657 if (zr->codec_mode == BUZ_MODE_IDLE) { in zoran_jpg_queue_frame()
659 } else if (zr->codec_mode != mode) { in zoran_jpg_queue_frame()
681 if (!res && zr->codec_mode == BUZ_MODE_IDLE) { in zoran_jpg_queue_frame()
730 if (zr->codec_mode == mode) { in jpg_qbuf()
778 if (zr->codec_mode != BUZ_MODE_MOTION_DECOMPRESS && in jpg_sync()
779 zr->codec_mode != BUZ_MODE_MOTION_COMPRESS) { in jpg_sync()
2090 int res = 0, codec_mode, buf_type; in zoran_qbuf() local
2115 codec_mode = BUZ_MODE_MOTION_DECOMPRESS; in zoran_qbuf()
2118 codec_mode = BUZ_MODE_MOTION_COMPRESS; in zoran_qbuf()
2129 res = zoran_jpg_queue_frame(fh, buf->index, codec_mode); in zoran_qbuf()
[all …]
Dzoran.h331 enum zoran_codec_mode codec_mode; /* status of codec */ member
/linux-4.1.27/drivers/media/platform/coda/
Dcoda.h126 int codec_mode; member
Dcoda-bit.c90 coda_write(dev, ctx->params.codec_mode, CODA_REG_BIT_RUN_COD_STD); in coda_command_async()
833 ctx->params.codec_mode = ctx->codec->mode; in coda_start_encoding()
1473 ctx->params.codec_mode = ctx->codec->mode; in __coda_start_decoding()
Dcoda-common.c1097 ctx->params.codec_mode = ctx->codec->mode; in set_default_params()