Home
last modified time | relevance | path

Searched refs:h264 (Results 1 - 25 of 52) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_h264.c61 dma_addr_t addr = ctx->codec.h264.mv_col_buf_dma; in cedrus_h264_mv_col_buf_addr()
64 addr += position * ctx->codec.h264.mv_col_buf_field_size * 2; in cedrus_h264_mv_col_buf_addr()
67 addr += field * ctx->codec.h264.mv_col_buf_field_size; in cedrus_h264_mv_col_buf_addr()
79 unsigned int position = buf->codec.h264.position; in cedrus_fill_ref_pic()
83 pic->frame_info = cpu_to_le32(buf->codec.h264.pic_type << 8); in cedrus_fill_ref_pic()
97 const struct v4l2_ctrl_h264_decode_params *decode = run->h264.decode_params; in cedrus_write_frame_list()
98 const struct v4l2_ctrl_h264_sps *sps = run->h264.sps; in cedrus_write_frame_list()
124 position = cedrus_buf->codec.h264.position; in cedrus_write_frame_list()
147 output_buf->codec.h264.position = position; in cedrus_write_frame_list()
150 output_buf->codec.h264 in cedrus_write_frame_list()
[all...]
H A Dcedrus_dec.c50 run.h264.decode_params = cedrus_find_control_data(ctx, in cedrus_device_run()
52 run.h264.pps = cedrus_find_control_data(ctx, in cedrus_device_run()
54 run.h264.scaling_matrix = cedrus_find_control_data(ctx, in cedrus_device_run()
56 run.h264.slice_params = cedrus_find_control_data(ctx, in cedrus_device_run()
58 run.h264.sps = cedrus_find_control_data(ctx, in cedrus_device_run()
60 run.h264.pred_weights = cedrus_find_control_data(ctx, in cedrus_device_run()
H A Dcedrus.h84 struct cedrus_h264_run h264; member
97 } h264; member
129 } h264; member
/kernel/linux/linux-6.6/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_h264.c60 dma_addr_t addr = buf->codec.h264.mv_col_buf_dma; in cedrus_h264_mv_col_buf_addr()
63 addr += field * buf->codec.h264.mv_col_buf_size / 2; in cedrus_h264_mv_col_buf_addr()
78 pic->frame_info = cpu_to_le32(buf->codec.h264.pic_type << 8); in cedrus_fill_ref_pic()
90 const struct v4l2_ctrl_h264_decode_params *decode = run->h264.decode_params; in cedrus_write_frame_list()
91 const struct v4l2_ctrl_h264_sps *sps = run->h264.sps; in cedrus_write_frame_list()
117 position = cedrus_buf->codec.h264.position; in cedrus_write_frame_list()
140 output_buf->codec.h264.position = position; in cedrus_write_frame_list()
142 if (!output_buf->codec.h264.mv_col_buf_size) { in cedrus_write_frame_list()
143 const struct v4l2_ctrl_h264_sps *sps = run->h264.sps; in cedrus_write_frame_list()
153 output_buf->codec.h264 in cedrus_write_frame_list()
[all...]
H A Dcedrus_dec.c53 run.h264.decode_params = cedrus_find_control_data(ctx, in cedrus_device_run()
55 run.h264.pps = cedrus_find_control_data(ctx, in cedrus_device_run()
57 run.h264.scaling_matrix = cedrus_find_control_data(ctx, in cedrus_device_run()
59 run.h264.slice_params = cedrus_find_control_data(ctx, in cedrus_device_run()
61 run.h264.sps = cedrus_find_control_data(ctx, in cedrus_device_run()
63 run.h264.pred_weights = cedrus_find_control_data(ctx, in cedrus_device_run()
H A Dcedrus.h89 struct cedrus_h264_run h264; member
106 } h264; member
140 } h264; member
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
H A Dcodec_h264.c170 struct codec_h264 *h264 = sess->priv; in codec_h264_start() local
173 h264->workspace_vaddr = in codec_h264_start()
175 &h264->workspace_paddr, GFP_KERNEL); in codec_h264_start()
176 if (!h264->workspace_vaddr) in codec_h264_start()
180 h264->sei_vaddr = dma_alloc_coherent(core->dev, SIZE_SEI, in codec_h264_start()
181 &h264->sei_paddr, GFP_KERNEL); in codec_h264_start()
182 if (!h264->sei_vaddr) in codec_h264_start()
187 workspace_offset = h264->workspace_paddr - WORKSPACE_BUF_OFFSET; in codec_h264_start()
189 amvdec_write_dos(core, AV_SCRATCH_G, h264->ext_fw_paddr); in codec_h264_start()
190 amvdec_write_dos(core, AV_SCRATCH_I, h264 in codec_h264_start()
205 struct codec_h264 *h264 = sess->priv; codec_h264_stop() local
230 struct codec_h264 *h264; codec_h264_load_extended_firmware() local
288 struct codec_h264 *h264 = sess->priv; codec_h264_resume() local
327 struct codec_h264 *h264 = sess->priv; codec_h264_src_change() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/meson/vdec/
H A Dcodec_h264.c170 struct codec_h264 *h264 = sess->priv; in codec_h264_start() local
173 h264->workspace_vaddr = in codec_h264_start()
175 &h264->workspace_paddr, GFP_KERNEL); in codec_h264_start()
176 if (!h264->workspace_vaddr) in codec_h264_start()
180 h264->sei_vaddr = dma_alloc_coherent(core->dev, SIZE_SEI, in codec_h264_start()
181 &h264->sei_paddr, GFP_KERNEL); in codec_h264_start()
182 if (!h264->sei_vaddr) in codec_h264_start()
187 workspace_offset = h264->workspace_paddr - WORKSPACE_BUF_OFFSET; in codec_h264_start()
189 amvdec_write_dos(core, AV_SCRATCH_G, h264->ext_fw_paddr); in codec_h264_start()
190 amvdec_write_dos(core, AV_SCRATCH_I, h264 in codec_h264_start()
205 struct codec_h264 *h264 = sess->priv; codec_h264_stop() local
230 struct codec_h264 *h264; codec_h264_load_extended_firmware() local
288 struct codec_h264 *h264 = sess->priv; codec_h264_resume() local
327 struct codec_h264 *h264 = sess->priv; codec_h264_src_change() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/nvidia/tegra-vde/
H A Dh264.c14 #include <media/v4l2-h264.h>
660 const struct v4l2_h264_dpb_entry *dpb = ctx->h264.decode_params->dpb; in get_ref_buf()
695 struct tegra_vde_h264_decoder_ctx *h264, in tegra_vde_h264_setup_frame()
703 struct tegra_ctx_h264 *h = &ctx->h264; in tegra_vde_h264_setup_frame()
711 lsize = h264->pic_width_in_mbs * 16 * h264->pic_height_in_mbs * 16; in tegra_vde_h264_setup_frame()
712 csize = h264->pic_width_in_mbs * 8 * h264->pic_height_in_mbs * 8; in tegra_vde_h264_setup_frame()
759 struct tegra_vde_h264_decoder_ctx *h264) in tegra_vde_h264_setup_frames()
763 const struct v4l2_h264_dpb_entry *dpb = ctx->h264 in tegra_vde_h264_setup_frames()
694 tegra_vde_h264_setup_frame(struct tegra_ctx *ctx, struct tegra_vde_h264_decoder_ctx *h264, struct v4l2_h264_reflist_builder *b, struct vb2_buffer *vb, unsigned int ref_id, unsigned int id) tegra_vde_h264_setup_frame() argument
758 tegra_vde_h264_setup_frames(struct tegra_ctx *ctx, struct tegra_vde_h264_decoder_ctx *h264) tegra_vde_h264_setup_frames() argument
865 tegra_vde_h264_setup_context(struct tegra_ctx *ctx, struct tegra_vde_h264_decoder_ctx *h264) tegra_vde_h264_setup_context() argument
930 struct tegra_vde_h264_decoder_ctx h264; tegra_vde_h264_decode_run() local
[all...]
H A DMakefile2 tegra-vde-y := vde.o iommu.o dmabuf-cache.o h264.o v4l2.o
/kernel/linux/linux-6.6/drivers/media/test-drivers/visl/
H A Dvisl-dec.c14 #include "visl-trace-h264.h"
128 for (i = 0; i < ARRAY_SIZE(run->h264.dpram->dpb); i++) { in visl_get_ref_frames()
129 vb2_buf = vb2_find_buffer(cap_q, run->h264.dpram->dpb[i].reference_ts); in visl_get_ref_frames()
131 run->h264.dpram->dpb[i].reference_ts, in visl_get_ref_frames()
385 trace_v4l2_ctrl_h264_sps(run->h264.sps); in visl_trace_ctrls()
386 trace_v4l2_ctrl_h264_pps(run->h264.pps); in visl_trace_ctrls()
387 trace_v4l2_ctrl_h264_scaling_matrix(run->h264.sm); in visl_trace_ctrls()
388 trace_v4l2_ctrl_h264_slice_params(run->h264.spram); in visl_trace_ctrls()
390 for (i = 0; i < ARRAY_SIZE(run->h264.spram->ref_pic_list0); i++) in visl_trace_ctrls()
391 trace_v4l2_h264_ref_pic_list0(&run->h264 in visl_trace_ctrls()
[all...]
H A Dvisl-dec.h57 struct visl_h264_run h264; member
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_enc.c1860 p->codec.h264.cpb_size = ctrl->val; in s5p_mfc_enc_s_ctrl()
1878 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1882 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1886 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1891 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1901 p->codec.h264.level_v4l2 = ctrl->val; in s5p_mfc_enc_s_ctrl()
1902 p->codec.h264.level = h264_level(ctrl->val); in s5p_mfc_enc_s_ctrl()
1903 if (p->codec.h264.level < 0) { in s5p_mfc_enc_s_ctrl()
1905 ret = p->codec.h264.level; in s5p_mfc_enc_s_ctrl()
1917 p->codec.h264 in s5p_mfc_enc_s_ctrl()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_enc.c1858 p->codec.h264.cpb_size = ctrl->val; in s5p_mfc_enc_s_ctrl()
1876 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1880 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1884 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1889 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1899 p->codec.h264.level_v4l2 = ctrl->val; in s5p_mfc_enc_s_ctrl()
1900 p->codec.h264.level = h264_level(ctrl->val); in s5p_mfc_enc_s_ctrl()
1901 if (p->codec.h264.level < 0) { in s5p_mfc_enc_s_ctrl()
1903 ret = p->codec.h264.level; in s5p_mfc_enc_s_ctrl()
1915 p->codec.h264 in s5p_mfc_enc_s_ctrl()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_stateless.c429 struct v4l2_ctrl_h264_sps *h264; in mtk_vdec_s_ctrl() local
444 h264 = (struct v4l2_ctrl_h264_sps *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl()
446 if (h264->bit_depth_chroma_minus8 == 2 && h264->bit_depth_luma_minus8 == 2) { in mtk_vdec_s_ctrl()
448 } else if (h264->bit_depth_chroma_minus8 != 0 && in mtk_vdec_s_ctrl()
449 h264->bit_depth_luma_minus8 != 0) { in mtk_vdec_s_ctrl()
451 h264->bit_depth_chroma_minus8, in mtk_vdec_s_ctrl()
452 h264->bit_depth_luma_minus8); in mtk_vdec_s_ctrl()
/kernel/linux/linux-5.10/drivers/staging/media/allegro-dvt/
H A DMakefile3 allegro-objs := allegro-core.o nal-h264.o allegro-mail.o
/kernel/linux/linux-5.10/drivers/media/pci/tw5864/
H A DMakefile2 tw5864-objs := tw5864-core.o tw5864-video.o tw5864-h264.o tw5864-util.o
/kernel/linux/linux-6.6/drivers/media/pci/tw5864/
H A DMakefile2 tw5864-objs := tw5864-core.o tw5864-video.o tw5864-h264.o tw5864-util.o
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/
H A DMakefile3 st-hva-y := hva-v4l2.o hva-hw.o hva-mem.o hva-h264.o
/kernel/linux/linux-6.6/drivers/media/platform/allegro-dvt/
H A DMakefile4 allegro-objs += nal-rbsp.o nal-h264.o nal-hevc.o
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/hva/
H A DMakefile3 st-hva-y := hva-v4l2.o hva-hw.o hva-mem.o hva-h264.o
/kernel/linux/linux-5.10/drivers/media/platform/coda/
H A DMakefile3 coda-vpu-objs := coda-common.o coda-bit.o coda-gdi.o coda-h264.o coda-mpeg2.o coda-mpeg4.o coda-jpeg.o
/kernel/linux/linux-6.6/drivers/media/platform/chips-media/
H A DMakefile3 coda-vpu-objs := coda-common.o coda-bit.o coda-gdi.o coda-h264.o coda-mpeg2.o coda-mpeg4.o coda-jpeg.o
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
H A Dvenc_ctrls.c112 ctr->profile.h264 = ctrl->val; in venc_op_s_ctrl()
124 ctr->level.h264 = ctrl->val; in venc_op_s_ctrl()
327 if (ctr->profile.h264 != V4L2_MPEG_VIDEO_H264_PROFILE_HIGH && in venc_op_s_ctrl()
328 ctr->profile.h264 != V4L2_MPEG_VIDEO_H264_PROFILE_CONSTRAINED_HIGH) in venc_op_s_ctrl()
/kernel/linux/linux-5.10/include/media/
H A Dv4l2-h264.h13 #include <media/h264-ctrls.h>

Completed in 13 milliseconds

123