/linux-6.12.1/drivers/staging/media/sunxi/cedrus/ |
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 …]
|
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()
|
D | cedrus.h | 89 struct cedrus_h264_run h264; member 106 } h264; member 140 } h264; member
|
/linux-6.12.1/drivers/staging/media/meson/vdec/ |
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 …]
|
/linux-6.12.1/Documentation/userspace-api/media/v4l/ |
D | ext-ctrls-codec.rst | 626 :ref:`CPB (H264) buffer size <v4l2-mpeg-video-h264-cpb-size>` control. 733 fully parse each NALU. Applicable to the H264 and HEVC encoders. 737 Information. Applicable to the H264 encoder. 739 .. _v4l2-mpeg-video-h264-vui-sar-idc: 746 defined in the table E-1 in the standard. Applicable to the H264 796 Applicable to the H264 encoder. 800 Applicable to the H264 encoder. 802 .. _v4l2-mpeg-video-h264-level: 808 The level information for the H264 video elementary stream. 809 Applicable to the H264 encoder. Possible values are: [all …]
|
D | pixfmt-compressed.rst | 39 * .. _V4L2-PIX-FMT-H264: 42 - 'H264' 43 - H264 Access Unit. 49 * .. _V4L2-PIX-FMT-H264-NO-SC: 53 - H264 video elementary stream without start codes. 54 * .. _V4L2-PIX-FMT-H264-MVC: 58 - H264 MVC video elementary stream. 59 * .. _V4L2-PIX-FMT-H264-SLICE: 63 - H264 parsed slice data, including slice headers, either with or 64 without the start code, as extracted from the H264 bitstream. [all …]
|
D | ext-ctrls-codec-stateless.rst | 23 .. _v4l2-codec-stateless-h264: 27 bitstream) for the associated H264 slice data. This includes the 29 pipeline for H264. The bitstream parameters are defined according 30 to :ref:`h264`, section 7.4.2.1.1 "Sequence Parameter Set Data 172 bitstream) for the associated H264 slice data. This includes the 174 pipeline for H264. The bitstream parameters are defined according 175 to :ref:`h264`, section 7.4.2.2 "Picture Parameter Set RBSP 278 the associated H264 slice data. The bitstream parameters are 279 defined according to :ref:`h264`, section 7.4.2.1.1.1 "Scaling 312 for the associated H264 slice data. This includes the necessary [all …]
|
/linux-6.12.1/drivers/media/v4l2-core/ |
D | v4l2-ctrls-defs.c | 885 case V4L2_CID_MPEG_VIDEO_MB_RC_ENABLE: return "H264 MB Level Rate Control"; in v4l2_ctrl_get_name() 897 case V4L2_CID_MPEG_VIDEO_H264_I_FRAME_QP: return "H264 I-Frame QP Value"; in v4l2_ctrl_get_name() 898 case V4L2_CID_MPEG_VIDEO_H264_P_FRAME_QP: return "H264 P-Frame QP Value"; in v4l2_ctrl_get_name() 899 case V4L2_CID_MPEG_VIDEO_H264_B_FRAME_QP: return "H264 B-Frame QP Value"; in v4l2_ctrl_get_name() 900 case V4L2_CID_MPEG_VIDEO_H264_MAX_QP: return "H264 Maximum QP Value"; in v4l2_ctrl_get_name() 901 case V4L2_CID_MPEG_VIDEO_H264_MIN_QP: return "H264 Minimum QP Value"; in v4l2_ctrl_get_name() 902 case V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM: return "H264 8x8 Transform Enable"; in v4l2_ctrl_get_name() 903 case V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE: return "H264 CPB Buffer Size"; in v4l2_ctrl_get_name() 904 case V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE: return "H264 Entropy Mode"; in v4l2_ctrl_get_name() 905 case V4L2_CID_MPEG_VIDEO_H264_I_PERIOD: return "H264 I-Frame Period"; in v4l2_ctrl_get_name() [all …]
|
D | v4l2-h264.c | 3 * V4L2 H264 helpers. 13 #include <media/v4l2-h264.h> 389 * of the H264 spec. This function can be used by H264 decoder drivers that 419 * of the H264 spec. This function can be used by H264 decoder drivers that 452 MODULE_DESCRIPTION("V4L2 H264 Helpers");
|
/linux-6.12.1/drivers/media/platform/nvidia/tegra-vde/ |
D | h264.c | 14 #include <media/v4l2-h264.h> 655 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() [all …]
|
D | Makefile | 2 tegra-vde-y := vde.o iommu.o dmabuf-cache.o h264.o v4l2.o
|
/linux-6.12.1/drivers/media/test-drivers/visl/ |
D | visl-dec.c | 14 #include "visl-trace-h264.h" 146 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() [all …]
|
/linux-6.12.1/include/media/ |
D | v4l2-h264.h | 3 * Helper functions for H264 codecs. 31 * picture lists construction' of the H264 spec. 65 * of the H264 spec. This function can be used by H264 decoder drivers that 82 * of the H264 spec. This function can be used by H264 decoder drivers that
|
/linux-6.12.1/include/uapi/linux/ |
D | v4l2-controls.h | 1379 * struct v4l2_ctrl_h264_sps - H264 sequence parameter set 1382 * sequence parameter set syntax as specified by the H264 specification. 1384 * @profile_idc: see H264 specification. 1385 * @constraint_set_flags: see H264 specification. 1386 * @level_idc: see H264 specification. 1387 * @seq_parameter_set_id: see H264 specification. 1388 * @chroma_format_idc: see H264 specification. 1389 * @bit_depth_luma_minus8: see H264 specification. 1390 * @bit_depth_chroma_minus8: see H264 specification. 1391 * @log2_max_frame_num_minus4: see H264 specification. [all …]
|
/linux-6.12.1/drivers/staging/vc04_services/bcm2835-camera/ |
D | bcm2835-camera.h | 75 /* H264 encode bitrate */ 77 /* H264 bitrate mode. CBR/VBR */ 79 /* H264 profile */ 81 /* H264 level */
|
/linux-6.12.1/drivers/media/platform/samsung/s5p-mfc/ |
D | s5p_mfc_enc.c | 519 .name = "H264 Dark Reg Adaptive RC", 528 .name = "H264 Smooth Reg Adaptive RC", 537 .name = "H264 Static Reg Adaptive RC", 546 .name = "H264 Activity Reg Adaptive RC", 1895 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() [all …]
|
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/ |
D | mtk_vcodec_dec_stateless.c | 458 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() 479 mtk_v4l2_vdec_err(ctx, "H264: chroma_minus8:%d, luma_minus8:%d", 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() 656 mtk_v4l2_vdec_dbg(3, ctx, "h264 supported level: %lld %lld", cfg->max, cfg->def); in mtk_vcodec_dec_reset_controls() 668 mtk_v4l2_vdec_dbg(3, ctx, "h264 supported profile: %lld %lld", cfg->max, in mtk_vcodec_dec_reset_controls()
|
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
D | vdec_h264_req_common.h | 12 #include <media/v4l2-h264.h> 31 * struct mtk_h264_dpb_info - h264 dpb information 150 * struct h264_fb - h264 decode frame buffer information 261 * mtk_vdec_h264_find_start_code - find h264 start code using sofeware.
|
D | vdec_h264_req_multi_if.c | 9 #include <media/v4l2-h264.h> 34 * @sps: h264 sps syntax parameters 35 * @pps: h264 pps syntax parameters 36 * @slice_header: h264 slice header syntax parameters 37 * @scaling_matrix: h264 scaling list parameters 132 * struct vdec_h264_slice_inst - h264 decoder instance 431 mtk_vdec_debug(ctx, "lat H264 instance >> %p, codec_type = 0x%x", in vdec_h264_slice_init() 466 mtk_vdec_debug(ctx, "[h264-core] vdec_h264 core decode"); in vdec_h264_slice_core_decode() 485 mtk_vdec_debug(ctx, "[h264-core] y/c addr = 0x%llx 0x%llx", y_fb_dma, c_fb_dma); in vdec_h264_slice_core_decode() 737 mtk_vdec_debug(inst->ctx, "[h264-dec] [%d] y_dma=%llx c_dma=%llx", in vdec_h264_slice_single_decode()
|
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/encoder/ |
D | venc_drv_if.h | 31 * @VENC_START_OPT_ENCODE_SEQUENCE_HEADER: encode SPS/PPS for H264 49 * @VENC_SET_PARAM_SKIP_FRAME: set H264 skip one frame 50 * @VENC_SET_PARAM_PREPEND_HEADER: set H264 prepend SPS/PPS before IDR
|
/linux-6.12.1/Documentation/devicetree/bindings/soc/bcm/ |
D | brcm,bcm2835-pm.yaml | 52 - const: h264 84 clock-names = "v3d", "peri_image", "h264", "isp";
|
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/encoder/venc/ |
D | venc_h264_if.c | 27 * enum venc_h264_frame_type - h264 encoder output bitstream frame type 37 * enum venc_h264_vpu_work_buf - h264 encoder buffer index 62 * struct venc_h264_vpu_config - Structure for h264 encoder configuration 115 * @config: h264 encoder configuration 130 * struct venc_h264_vpu_config_ext - Structure for h264 encoder configuration 187 * @config: h264 encoder configuration 196 * struct venc_h264_inst - h264 encoder AP driver instance 197 * @hw_base: h264 encoder hardware register base
|
/linux-6.12.1/drivers/media/platform/st/sti/hva/ |
D | hva-hw.c | 148 dev_dbg(dev, "%s %s: h264 slice ready\n", in hva_hw_its_irq_thread() 153 dev_dbg(dev, "%s %s: h264 frame skipped\n", in hva_hw_its_irq_thread() 158 dev_err(dev, "%s %s:h264 bitstream oversize\n", in hva_hw_its_irq_thread() 163 dev_err(dev, "%s %s: h264 slice limit size is reached\n", in hva_hw_its_irq_thread() 168 dev_err(dev, "%s %s: h264 max slice number is reached\n", in hva_hw_its_irq_thread()
|
/linux-6.12.1/drivers/staging/media/rkvdec/ |
D | Makefile | 3 rockchip-vdec-y += rkvdec.o rkvdec-h264.o rkvdec-vp9.o
|
/linux-6.12.1/drivers/media/pci/tw5864/ |
D | Makefile | 2 tw5864-objs := tw5864-core.o tw5864-video.o tw5864-h264.o tw5864-util.o
|