Home
last modified time | relevance | path

Searched refs:h264 (Results 1 – 25 of 58) sorted by relevance

123

/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_h264.c61 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 …]
H A Dcedrus_dec.c50 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()
H A Dcedrus.h84 struct cedrus_h264_run h264; member
97 } h264; member
129 } h264; member
/OK3568_Linux_fs/external/mpp/mpp/base/
H A Dmpp_enc_cfg.cpp186 …ENTRY(h264, stream_type, S32, RK_S32, MPP_ENC_H264_CFG_STREAM_TYPE, codec.
187 …ENTRY(h264, profile, S32, RK_S32, MPP_ENC_H264_CFG_CHANGE_PROFILE, codec.
188 …ENTRY(h264, level, S32, RK_S32, MPP_ENC_H264_CFG_CHANGE_PROFILE, codec.
189 …ENTRY(h264, poc_type, U32, RK_U32, MPP_ENC_H264_CFG_CHANGE_POC_TYPE, codec.
190 …ENTRY(h264, log2_max_poc_lsb, U32, RK_U32, MPP_ENC_H264_CFG_CHANGE_MAX_POC_LSB, codec.
191 …ENTRY(h264, log2_max_frm_num, U32, RK_U32, MPP_ENC_H264_CFG_CHANGE_MAX_FRM_NUM, codec.
192 …ENTRY(h264, gaps_not_allowed, U32, RK_U32, MPP_ENC_H264_CFG_CHANGE_GAPS_IN_FRM_NUM, codec…
193 …ENTRY(h264, cabac_en, S32, RK_S32, MPP_ENC_H264_CFG_CHANGE_ENTROPY, codec.
194 …ENTRY(h264, cabac_idc, S32, RK_S32, MPP_ENC_H264_CFG_CHANGE_ENTROPY, codec.
195 …ENTRY(h264, trans8x8, S32, RK_S32, MPP_ENC_H264_CFG_CHANGE_TRANS_8x8, codec.
[all …]
/OK3568_Linux_fs/external/mpp/mpp/codec/enc/h264/
H A Dh264e_api_v2.c92 MppEncH264Cfg *h264 = &cfg->codec.h264; in init_h264e_cfg_set() local
100 memset(h264, 0, sizeof(*h264)); in init_h264e_cfg_set()
101 h264->profile = H264_PROFILE_BASELINE; in init_h264e_cfg_set()
102 h264->level = H264_LEVEL_3_1; in init_h264e_cfg_set()
107 h264->poc_type = 2; in init_h264e_cfg_set()
108 h264->log2_max_poc_lsb = 12; in init_h264e_cfg_set()
109 h264->log2_max_frame_num = 12; in init_h264e_cfg_set()
110 h264->hw_cfg.hw_poc_type = 2; in init_h264e_cfg_set()
111 h264->hw_cfg.hw_log2_max_frame_num_minus4 = 12; in init_h264e_cfg_set()
114 h264->poc_type = 0; in init_h264e_cfg_set()
[all …]
H A Dh264e_sps.c66 MppEncH264Cfg *h264 = &cfg->codec.h264; in h264e_sps_update() local
77 H264Level level_idc = h264->level; in h264e_sps_update()
81 sps->profile_idc = h264->profile; in h264e_sps_update()
121 RK_U32 set = h264->constraint_set; in h264e_sps_update()
164 sps->pic_order_cnt_type = h264->hw_cfg.hw_poc_type; in h264e_sps_update()
165 sps->log2_max_poc_lsb_minus4 = h264->log2_max_poc_lsb; in h264e_sps_update()
166 sps->log2_max_frame_num_minus4 = h264->log2_max_frame_num; in h264e_sps_update()
196 sps->gaps_in_frame_num_value_allowed = !h264->gaps_not_allowed; in h264e_sps_update()
204 sps->direct8x8_inference = h264->transform8x8_mode; in h264e_sps_update()
317 mpp_writer_put_ue(bit, cfg->codec.h264.poc_type); in h264e_sps_to_packet()
[all …]
H A DCMakeLists.txt5 # h264 encoder api
12 # h264 encoder header
16 # h264 encoder sourse
H A Dh264e_slice.c45 MppEncH264Cfg *h264 = &cfg->codec.h264; in h264e_slice_update() local
53 slice->entropy_coding_mode = h264->entropy_coding_mode; in h264e_slice_update()
68 slice->cabac_init_idc = h264->entropy_coding_mode ? h264->cabac_init_idc : -1; in h264e_slice_update()
69 slice->disable_deblocking_filter_idc = h264->deblock_disable; in h264e_slice_update()
70 slice->slice_alpha_c0_offset_div2 = h264->deblock_offset_alpha; in h264e_slice_update()
71 slice->slice_beta_offset_div2 = h264->deblock_offset_beta; in h264e_slice_update()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h264e/
H A DCMakeLists.txt5 include_directories(../../common/h264/)
6 # mpp/codec/enc/h264 for h264 syntax
7 include_directories(../../../codec/enc/h264/)
9 # hal h264 header
13 # hal h264 encoder sourse
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/h264e/
H A DCMakeLists.txt3 include_directories(../../common/h264/)
4 include_directories(../../../codec/enc/h264/)
7 # hal h264 header
11 # hal h264 encoder sourse
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_demo/
H A DREADME.md102 - h264视频
104 ./rknn_yolov5_video_demo model/<TARGET_PLATFORM>/yolov5s-640-640.rknn xxx.h264 264
106 注意需要使用h264码流视频,可以使用如下命令转换得到:
108 ffmpeg -i xxx.mp4 -vcodec h264 out.h264
127 - **rk3562 目前仅支持h264视频流**
/OK3568_Linux_fs/external/mpp/mpp/hal/common/h264/
H A DCMakeLists.txt6 include_directories(../../../codec/enc/h264/)
8 # hal h264 header
12 # hal h264 encoder sourse
H A Dhal_h264e_stream_amend.c98 MppEncH264Cfg *h264 = &cfg->codec.h264; in h264e_vepu_stream_amend_config() local
99 MppEncH264HwCfg *hw_cfg = &h264->hw_cfg; in h264e_vepu_stream_amend_config()
102 hw_cfg->hw_poc_type != h264->poc_type || in h264e_vepu_stream_amend_config()
103 hw_cfg->hw_log2_max_frame_num_minus4 != h264->log2_max_frame_num) { in h264e_vepu_stream_amend_config()
118 slice->pic_order_cnt_type = cfg->codec.h264.poc_type; in h264e_vepu_stream_amend_config()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h264/
H A DCMakeLists.txt5 # h264 decoder api
12 # h264 decoder header
26 # h264 decoder sourse
/OK3568_Linux_fs/kernel/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_enc.c1852 p->codec.h264.cpb_size = ctrl->val; in s5p_mfc_enc_s_ctrl()
1870 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1874 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1878 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1883 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1893 p->codec.h264.level_v4l2 = ctrl->val; in s5p_mfc_enc_s_ctrl()
1894 p->codec.h264.level = h264_level(ctrl->val); in s5p_mfc_enc_s_ctrl()
1895 if (p->codec.h264.level < 0) { in s5p_mfc_enc_s_ctrl()
1897 ret = p->codec.h264.level; in s5p_mfc_enc_s_ctrl()
1909 p->codec.h264.loop_filter_mode = ctrl->val; in s5p_mfc_enc_s_ctrl()
[all …]
/OK3568_Linux_fs/external/mpp/mpp/hal/common/jpeg/
H A DCMakeLists.txt7 # hal h264 header
11 # hal h264 encoder sourse
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/soc/bcm/
H A Dbrcm,bcm2835-pm.txt15 c) h264: The H264 clock from CPRMAN
44 clock-names = "v3d", "peri_image", "h264", "isp";
/OK3568_Linux_fs/kernel/drivers/staging/media/rkvdec/
H A DMakefile3 rockchip-vdec-y += rkvdec.o rkvdec-h264.o
/OK3568_Linux_fs/kernel/drivers/staging/media/allegro-dvt/
H A DMakefile3 allegro-objs := allegro-core.o nal-h264.o allegro-mail.o
/OK3568_Linux_fs/kernel/drivers/media/pci/tw5864/
H A DMakefile2 tw5864-objs := tw5864-core.o tw5864-video.o tw5864-h264.o tw5864-util.o
/OK3568_Linux_fs/external/mpp/debian/
H A Dchangelog23 * [h264e]: fix bug: vepu1 h264 encode
31 * [h264e]: fix bug: vepu h264 encode rate control
91 * [h264]: fix xrgb encode bug
167 * [h264e]: fix h264 xrgb encode bug
/OK3568_Linux_fs/external/mpp/mpp/codec/enc/
H A DCMakeLists.txt6 add_subdirectory(h264)
/OK3568_Linux_fs/kernel/drivers/media/platform/sti/hva/
H A DMakefile3 st-hva-y := hva-v4l2.o hva-hw.o hva-mem.o hva-h264.o
/OK3568_Linux_fs/external/mpp/mpp/hal/common/
H A DCMakeLists.txt15 add_subdirectory(h264)

123