| /kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/ |
| D | cedrus_h264.c | 61 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.pic_type = CEDRUS_H264_PIC_TYPE_FIELD; in cedrus_write_frame_list() [all …]
|
| D | cedrus_dec.c | 50 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()
|
| /kernel/linux/linux-6.6/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()
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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");
|
| /kernel/linux/linux-6.6/drivers/media/platform/nvidia/tegra-vde/ |
| D | h264.c | 14 #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() 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() [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | pixfmt-compressed.rst | 33 * .. _V4L2-PIX-FMT-H264: 36 - 'H264' 37 - H264 Access Unit. 43 * .. _V4L2-PIX-FMT-H264-NO-SC: 47 - H264 video elementary stream without start codes. 48 * .. _V4L2-PIX-FMT-H264-MVC: 52 - H264 MVC video elementary stream. 53 * .. _V4L2-PIX-FMT-H264-SLICE: 57 - H264 parsed slice data, including slice headers, either with or 58 without the start code, as extracted from the H264 bitstream. [all …]
|
| D | ext-ctrls-codec.rst | 626 :ref:`CPB (H264) buffer size <v4l2-mpeg-video-h264-cpb-size>` control. 684 Information. Applicable to the H264 encoder. 686 .. _v4l2-mpeg-video-h264-vui-sar-idc: 693 defined in the table E-1 in the standard. Applicable to the H264 743 Applicable to the H264 encoder. 747 Applicable to the H264 encoder. 749 .. _v4l2-mpeg-video-h264-level: 755 The level information for the H264 video elementary stream. 756 Applicable to the H264 encoder. Possible values are: 867 .. _v4l2-mpeg-video-h264-profile: [all …]
|
| /kernel/linux/linux-5.10/include/media/ |
| D | v4l2-h264.h | 3 * Helper functions for H264 codecs. 13 #include <media/h264-ctrls.h> 30 * picture lists construction' of the H264 spec. 61 * of the H264 spec. This function can be used by H264 decoder drivers that 77 * of the H264 spec. This function can be used by H264 decoder drivers that
|
| /kernel/linux/linux-6.6/drivers/media/test-drivers/visl/ |
| D | visl-dec.c | 14 #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.spram->ref_pic_list0[i], i); in visl_trace_ctrls() [all …]
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
| D | v4l2-h264.c | 3 * V4L2 H264 helpers. 13 #include <media/v4l2-h264.h> 218 * of the H264 spec. This function can be used by H264 decoder drivers that 243 * of the H264 spec. This function can be used by H264 decoder drivers that 267 MODULE_DESCRIPTION("V4L2 H264 Helpers");
|
| /kernel/linux/linux-6.6/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 */
|
| /kernel/linux/linux-5.10/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 */
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | v4l2-controls.h | 1365 * struct v4l2_ctrl_h264_sps - H264 sequence parameter set 1368 * sequence parameter set syntax as specified by the H264 specification. 1370 * @profile_idc: see H264 specification. 1371 * @constraint_set_flags: see H264 specification. 1372 * @level_idc: see H264 specification. 1373 * @seq_parameter_set_id: see H264 specification. 1374 * @chroma_format_idc: see H264 specification. 1375 * @bit_depth_luma_minus8: see H264 specification. 1376 * @bit_depth_chroma_minus8: see H264 specification. 1377 * @log2_max_frame_num_minus4: see H264 specification. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/bcm/ |
| D | brcm,bcm2835-pm.txt | 15 c) h264: The H264 clock from CPRMAN 44 clock-names = "v3d", "peri_image", "h264", "isp";
|
| /kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/ |
| D | s5p_mfc_enc.c | 505 .name = "H264 Dark Reg Adaptive RC", 514 .name = "H264 Smooth Reg Adaptive RC", 523 .name = "H264 Static Reg Adaptive RC", 532 .name = "H264 Activity Reg Adaptive RC", 1860 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() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/ |
| D | s5p_mfc_enc.c | 505 .name = "H264 Dark Reg Adaptive RC", 514 .name = "H264 Smooth Reg Adaptive RC", 523 .name = "H264 Static Reg Adaptive RC", 532 .name = "H264 Activity Reg Adaptive RC", 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() [all …]
|
| /kernel/linux/linux-6.6/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 258 * mtk_vdec_h264_find_start_code - find h264 start code using sofeware.
|
| /kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/ |
| 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() 450 mtk_v4l2_vdec_err(ctx, "H264: chroma_minus8:%d, luma_minus8:%d", 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()
|