/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/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/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. 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 …]
|
H A 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 …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A 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 …]
|
H A 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");
|
/openbmc/linux/drivers/media/platform/nvidia/tegra-vde/ |
H A 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 …]
|
H A D | Makefile | 2 tegra-vde-y := vde.o iommu.o dmabuf-cache.o h264.o v4l2.o
|
/openbmc/linux/drivers/media/test-drivers/visl/ |
H A 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 …]
|
/openbmc/linux/include/media/ |
H A 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
|
/openbmc/linux/drivers/staging/vc04_services/bcm2835-camera/ |
H A D | bcm2835-camera.h | 75 /* H264 encode bitrate */ 77 /* H264 bitrate mode. CBR/VBR */ 79 /* H264 profile */ 81 /* H264 level */
|
/openbmc/linux/include/uapi/linux/ |
H A D | v4l2-controls.h | 1371 * struct v4l2_ctrl_h264_sps - H264 sequence parameter set 1374 * sequence parameter set syntax as specified by the H264 specification. 1376 * @profile_idc: see H264 specification. 1377 * @constraint_set_flags: see H264 specification. 1378 * @level_idc: see H264 specification. 1379 * @seq_parameter_set_id: see H264 specification. 1380 * @chroma_format_idc: see H264 specification. 1381 * @bit_depth_luma_minus8: see H264 specification. 1382 * @bit_depth_chroma_minus8: see H264 specification. 1383 * @log2_max_frame_num_minus4: see H264 specification. [all …]
|
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A 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 …]
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A 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.
|
H A 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()
|
/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() 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()
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/ |
H A 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
|
/openbmc/linux/Documentation/devicetree/bindings/soc/bcm/ |
H A D | brcm,bcm2835-pm.yaml | 52 - const: h264 84 clock-names = "v3d", "peri_image", "h264", "isp";
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/venc/ |
H A 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
|
/openbmc/linux/drivers/media/platform/st/sti/hva/ |
H A 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()
|
/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
|