/openbmc/linux/drivers/staging/media/meson/vdec/ |
H A D | codec_h264.c | 170 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 …]
|
/openbmc/linux/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_h264.c | 60 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 …]
|
H A D | cedrus_dec.c | 53 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 D | cedrus.h | 89 struct cedrus_h264_run h264; member 106 } h264; member 140 } h264; member
|
/openbmc/linux/drivers/media/platform/nvidia/tegra-vde/ |
H A D | h264.c | 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() argument 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() argument 763 const struct v4l2_h264_dpb_entry *dpb = ctx->h264.decode_params->dpb; in tegra_vde_h264_setup_frames() 765 struct tegra_ctx_h264 *h = &ctx->h264; in tegra_vde_h264_setup_frames() 793 err = tegra_vde_h264_setup_frame(ctx, h264, NULL, &dst->vb2_buf, 0, in tegra_vde_h264_setup_frames() 794 h264->dpb_frames_nb++); in tegra_vde_h264_setup_frames() [all …]
|
H A D | Makefile | 2 tegra-vde-y := vde.o iommu.o dmabuf-cache.o h264.o v4l2.o
|
H A D | vde.h | 147 struct tegra_ctx_h264 h264; member
|
H A D | v4l2.c | 58 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()
|
/openbmc/linux/drivers/media/test-drivers/visl/ |
H A D | visl-dec.c | 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.spram->ref_pic_list0[i], i); in visl_trace_ctrls() 392 for (i = 0; i < ARRAY_SIZE(run->h264.spram->ref_pic_list0); i++) in visl_trace_ctrls() [all …]
|
H A D | visl-dec.h | 57 struct visl_h264_run h264; member
|
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_enc.c | 1858 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.loop_filter_mode = ctrl->val; in s5p_mfc_enc_s_ctrl() [all …]
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_stateless.c | 429 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()
|
/openbmc/linux/drivers/staging/media/rkvdec/ |
H A D | Makefile | 3 rockchip-vdec-y += rkvdec.o rkvdec-h264.o rkvdec-vp9.o
|
/openbmc/linux/drivers/media/pci/tw5864/ |
H A D | Makefile | 2 tw5864-objs := tw5864-core.o tw5864-video.o tw5864-h264.o tw5864-util.o
|
/openbmc/linux/drivers/media/platform/allegro-dvt/ |
H A D | Makefile | 4 allegro-objs += nal-rbsp.o nal-h264.o nal-hevc.o
|
/openbmc/linux/drivers/media/platform/st/sti/hva/ |
H A D | Makefile | 3 st-hva-y := hva-v4l2.o hva-hw.o hva-mem.o hva-h264.o
|
/openbmc/linux/drivers/media/platform/chips-media/ |
H A D | Makefile | 3 coda-vpu-objs := coda-common.o coda-bit.o coda-gdi.o coda-h264.o coda-mpeg2.o coda-mpeg4.o coda-jpe…
|
/openbmc/linux/drivers/media/platform/qcom/venus/ |
H A D | venc_ctrls.c | 112 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()
|
H A D | core.h | 301 u32 h264; member 308 u32 h264; member
|
H A D | venc.c | 729 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()
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | Makefile | 31 obj-$(CONFIG_V4L2_H264) += v4l2-h264.o
|
H A D | Kconfig | 43 # Used by drivers that need v4l2-h264.ko
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm2835-common.dtsi | 70 clock-names = "v3d", "peri_image", "h264", "isp";
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-codec.rst | 626 :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 …]
|
H A D | pixfmt-compressed.rst | 76 :ref:`associated Codec Control IDs <v4l2-codec-stateless-h264>`. 82 The syntax for this format is documented in :ref:`h264`, section
|