Home
last modified time | relevance | path

Searched full:h264 (Results 1 – 25 of 66) sorted by relevance

123

/linux/drivers/staging/media/sunxi/cedrus/
H A 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 …]
H A 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()
H A Dcedrus.h89 struct cedrus_h264_run h264; member
106 } h264; member
140 } h264; member
/linux/drivers/staging/media/meson/vdec/
H A 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/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-codec.rst626 :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 Dpixfmt-compressed.rst39 * .. _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 …]
H A Dext-ctrls-codec-stateless.rst23 .. _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/drivers/media/v4l2-core/
H A Dv4l2-ctrls-defs.c885 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 Dv4l2-h264.c3 * 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/drivers/media/platform/nvidia/tegra-vde/
H A Dh264.c14 #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 …]
H A DMakefile2 tegra-vde-y := vde.o iommu.o dmabuf-cache.o h264.o v4l2.o
/linux/drivers/media/test-drivers/visl/
H A Dvisl-dec.c14 #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/include/media/
H A Dv4l2-h264.h3 * 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/drivers/staging/vc04_services/bcm2835-camera/
H A Dbcm2835-camera.h75 /* H264 encode bitrate */
77 /* H264 bitrate mode. CBR/VBR */
79 /* H264 profile */
81 /* H264 level */
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_req_common.h12 #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.
/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dvenc_drv_if.h31 * @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
H A Dvenc_ipi_msg.h75 * @bs_mode: bitstream mode for h264
107 * @bs_mode: bitstream mode for h264
/linux/Documentation/devicetree/bindings/soc/bcm/
H A Dbrcm,bcm2835-pm.yaml52 - const: h264
84 clock-names = "v3d", "peri_image", "h264", "isp";
/linux/drivers/media/platform/st/sti/hva/
H A Dhva-hw.c148 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()
H A DMakefile3 st-hva-y := hva-v4l2.o hva-hw.o hva-mem.o hva-h264.o
/linux/drivers/media/pci/tw5864/
H A Dtw5864-reg.h11 /* 0x0000 ~ 0x1ffc - H264 Register Map */
12 /* [15:0] The Version register for H264 core (Read Only) */
60 /* [5:0] H264 QP Value for codec */
63 * [15:10] H264 LPF_OFFSET Address
270 /* [15:0] Lambda Value for H264 */
419 /* QP Value used by H264 CAVLC */
497 /* 0x2000 ~ 0x2ffc - H264 Stream Memory Map */
920 * [15:0] H264EN_CH_EN[n] H264 Encoding Path Enable for channel
926 * H264EN_CH_DNS[n] H264 Encoding Path Downscale Video Decoder Input for
933 * H264EN_CH_PROG[n] H264 Encoding Path channel n is progressive
[all …]
H A DMakefile2 tw5864-objs := tw5864-core.o tw5864-video.o tw5864-h264.o tw5864-util.o
/linux/drivers/media/platform/mediatek/vpu/
H A Dmtk_vpu.h35 * handle H264 vidoe decoder job, and vice versa.
47 * handle H264 video encoder job, and vice versa.
/linux/drivers/staging/media/rkvdec/
H A DMakefile3 rockchip-vdec-y += rkvdec.o rkvdec-h264.o rkvdec-vp9.o
/linux/drivers/media/platform/allegro-dvt/
H A DMakefile4 allegro-objs += nal-rbsp.o nal-h264.o nal-hevc.o

123