Home
last modified time | relevance | path

Searched refs:h264 (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.12.1/drivers/staging/media/meson/vdec/
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->sei_paddr - in codec_h264_start()
[all …]
/linux-6.12.1/drivers/staging/media/sunxi/cedrus/
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.mv_col_buf_size = field_size * 2; in cedrus_write_frame_list()
[all …]
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()
Dcedrus.h89 struct cedrus_h264_run h264; member
106 } h264; member
140 } h264; member
/linux-6.12.1/drivers/media/platform/nvidia/tegra-vde/
Dh264.c655 const struct v4l2_h264_dpb_entry *dpb = ctx->h264.decode_params->dpb; in get_ref_buf()
690 struct tegra_vde_h264_decoder_ctx *h264, in tegra_vde_h264_setup_frame() argument
698 struct tegra_ctx_h264 *h = &ctx->h264; in tegra_vde_h264_setup_frame()
706 lsize = h264->pic_width_in_mbs * 16 * h264->pic_height_in_mbs * 16; in tegra_vde_h264_setup_frame()
707 csize = h264->pic_width_in_mbs * 8 * h264->pic_height_in_mbs * 8; in tegra_vde_h264_setup_frame()
754 struct tegra_vde_h264_decoder_ctx *h264) in tegra_vde_h264_setup_frames() argument
758 const struct v4l2_h264_dpb_entry *dpb = ctx->h264.decode_params->dpb; in tegra_vde_h264_setup_frames()
760 struct tegra_ctx_h264 *h = &ctx->h264; in tegra_vde_h264_setup_frames()
788 err = tegra_vde_h264_setup_frame(ctx, h264, NULL, &dst->vb2_buf, 0, in tegra_vde_h264_setup_frames()
789 h264->dpb_frames_nb++); in tegra_vde_h264_setup_frames()
[all …]
DMakefile2 tegra-vde-y := vde.o iommu.o dmabuf-cache.o h264.o v4l2.o
Dvde.h146 struct tegra_ctx_h264 h264; member
Dv4l2.c58 ctx->h264.decode_params = data; in tegra_set_control_data()
61 ctx->h264.sps = data; in tegra_set_control_data()
64 ctx->h264.pps = data; in tegra_set_control_data()
/linux-6.12.1/drivers/media/test-drivers/visl/
Dvisl-dec.c146 for (i = 0; i < ARRAY_SIZE(run->h264.dpram->dpb); i++) { in visl_get_ref_frames()
148 run->h264.dpram->dpb[i].reference_ts); in visl_get_ref_frames()
151 run->h264.dpram->dpb[i].reference_ts, in visl_get_ref_frames()
155 run->h264.dpram->dpb[i].reference_ts); in visl_get_ref_frames()
314 "H264: %u", run->h264.dpram->pic_order_cnt_lsb); in visl_tpg_fill_codec_specific()
522 trace_v4l2_ctrl_h264_sps(run->h264.sps); in visl_trace_ctrls()
523 trace_v4l2_ctrl_h264_pps(run->h264.pps); in visl_trace_ctrls()
524 trace_v4l2_ctrl_h264_scaling_matrix(run->h264.sm); in visl_trace_ctrls()
525 trace_v4l2_ctrl_h264_slice_params(run->h264.spram); in visl_trace_ctrls()
527 for (i = 0; i < ARRAY_SIZE(run->h264.spram->ref_pic_list0); i++) in visl_trace_ctrls()
[all …]
Dvisl-dec.h64 struct visl_h264_run h264; member
/linux-6.12.1/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_enc.c1895 p->codec.h264.cpb_size = ctrl->val; in s5p_mfc_enc_s_ctrl()
1913 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1917 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1921 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1926 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1936 p->codec.h264.level_v4l2 = ctrl->val; in s5p_mfc_enc_s_ctrl()
1937 p->codec.h264.level = h264_level(ctrl->val); in s5p_mfc_enc_s_ctrl()
1938 if (p->codec.h264.level < 0) { in s5p_mfc_enc_s_ctrl()
1940 ret = p->codec.h264.level; in s5p_mfc_enc_s_ctrl()
1952 p->codec.h264.loop_filter_mode = ctrl->val; in s5p_mfc_enc_s_ctrl()
[all …]
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/
Dmtk_vcodec_dec_stateless.c458 struct v4l2_ctrl_h264_sps *h264; in mtk_vdec_s_ctrl() local
473 h264 = (struct v4l2_ctrl_h264_sps *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl()
475 if (h264->bit_depth_chroma_minus8 == 2 && h264->bit_depth_luma_minus8 == 2) { in mtk_vdec_s_ctrl()
477 } else if (h264->bit_depth_chroma_minus8 != 0 && in mtk_vdec_s_ctrl()
478 h264->bit_depth_luma_minus8 != 0) { in mtk_vdec_s_ctrl()
480 h264->bit_depth_chroma_minus8, in mtk_vdec_s_ctrl()
481 h264->bit_depth_luma_minus8); in mtk_vdec_s_ctrl()
/linux-6.12.1/drivers/staging/media/rkvdec/
DMakefile3 rockchip-vdec-y += rkvdec.o rkvdec-h264.o rkvdec-vp9.o
/linux-6.12.1/drivers/media/pci/tw5864/
DMakefile2 tw5864-objs := tw5864-core.o tw5864-video.o tw5864-h264.o tw5864-util.o
/linux-6.12.1/drivers/media/platform/allegro-dvt/
DMakefile4 allegro-objs += nal-rbsp.o nal-h264.o nal-hevc.o
/linux-6.12.1/drivers/media/platform/st/sti/hva/
DMakefile3 st-hva-y := hva-v4l2.o hva-hw.o hva-mem.o hva-h264.o
/linux-6.12.1/drivers/media/platform/chips-media/coda/
DMakefile3 coda-vpu-objs := coda-common.o coda-bit.o coda-gdi.o coda-h264.o coda-mpeg2.o coda-mpeg4.o coda-jpe…
/linux-6.12.1/drivers/media/platform/qcom/venus/
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()
Dcore.h302 u32 h264; member
309 u32 h264; member
Dvenc.c729 if (ctr->profile.h264 == V4L2_MPEG_VIDEO_H264_PROFILE_HIGH || in venc_set_properties()
730 ctr->profile.h264 == V4L2_MPEG_VIDEO_H264_PROFILE_CONSTRAINED_HIGH) in venc_set_properties()
927 profile = ctr->profile.h264; in venc_set_properties()
928 level = ctr->level.h264; in venc_set_properties()
/linux-6.12.1/drivers/media/v4l2-core/
DMakefile31 obj-$(CONFIG_V4L2_H264) += v4l2-h264.o
DKconfig43 # Used by drivers that need v4l2-h264.ko
/linux-6.12.1/arch/arm/boot/dts/broadcom/
Dbcm2835-common.dtsi70 clock-names = "v3d", "peri_image", "h264", "isp";
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dext-ctrls-codec.rst626 :ref:`CPB (H264) buffer size <v4l2-mpeg-video-h264-cpb-size>` control.
739 .. _v4l2-mpeg-video-h264-vui-sar-idc:
802 .. _v4l2-mpeg-video-h264-level:
920 .. _v4l2-mpeg-video-h264-profile:
1093 .. _v4l2-mpeg-video-h264-loop-filter-mode:
1137 .. _v4l2-mpeg-video-h264-entropy-mode:
1365 .. _v4l2-mpeg-video-h264-cpb-size:
1441 .. _v4l2-mpeg-video-h264-sei-fp-arrangement-type:
1484 .. _v4l2-mpeg-video-h264-fmo-map-type:
1530 .. _v4l2-mpeg-video-h264-fmo-change-direction:
[all …]
Dpixfmt-compressed.rst76 :ref:`associated Codec Control IDs <v4l2-codec-stateless-h264>`.
82 The syntax for this format is documented in :ref:`h264`, section

12