Home
last modified time | relevance | path

Searched refs:dst_buf (Results 1 – 18 of 18) sorted by relevance

/rockchip-linux_mpp/mpp/hal/common/h264/
H A Dhal_h264e_stream_amend.c95 MPP_FREE(ctx->dst_buf); in h264e_vepu_stream_amend_deinit()
113 if (NULL == ctx->dst_buf) in h264e_vepu_stream_amend_config()
114 ctx->dst_buf = mpp_calloc(RK_U8, ctx->buf_size); in h264e_vepu_stream_amend_config()
118 MPP_FREE(ctx->dst_buf); in h264e_vepu_stream_amend_config()
153 RK_U8 *dst_buf = NULL; in h264e_vepu_stream_amend_proc() local
189 MPP_FREE(ctx->dst_buf); in h264e_vepu_stream_amend_proc()
191 ctx->dst_buf = mpp_malloc(RK_U8, ctx->buf_size); in h264e_vepu_stream_amend_proc()
195 memset(ctx->dst_buf, 0, ctx->buf_size); in h264e_vepu_stream_amend_proc()
197 dst_buf = ctx->dst_buf; in h264e_vepu_stream_amend_proc()
230 RK_S32 prefix_bit = h264e_slice_write_prefix_nal_unit_svc(prefix, dst_buf, buf_size); in h264e_vepu_stream_amend_proc()
[all …]
H A Dhal_h264e_stream_amend.h34 RK_U8 *dst_buf; member
/rockchip-linux_mpp/mpp/vproc/rga/test/
H A Drga_test.c140 MppBuffer dst_buf = NULL; in main() local
196 ret = mpp_buffer_get(NULL, &dst_buf, dst_size); in main()
238 mpp_frame_set_buffer(dst_frm, dst_buf); in main()
277 mpp_frame_set_buffer(src_frm, dst_buf); in main()
327 if (dst_buf) in main()
328 mpp_buffer_put(dst_buf); in main()
/rockchip-linux_mpp/mpp/codec/dec/h263/
H A Dh263d_parser.c316 RK_U8 *dst_buf = mpp_packet_get_data(dst); in mpp_h263_parser_split() local
332 state = ((RK_U32)(dst_buf[dst_len - 1]) << 0) | in mpp_h263_parser_split()
333 ((RK_U32)(dst_buf[dst_len - 2]) << 8) | in mpp_h263_parser_split()
334 ((RK_U32)(dst_buf[dst_len - 3]) << 16) | in mpp_h263_parser_split()
335 ((RK_U32)(dst_buf[dst_len - 4]) << 24); in mpp_h263_parser_split()
373 memcpy(dst_buf + dst_len, src_buf, src_len); in mpp_h263_parser_split()
380 memcpy(dst_buf + dst_len, src_buf, pos_frm_end); in mpp_h263_parser_split()
/rockchip-linux_mpp/mpp/codec/dec/avs/
H A Davsd_parse.c675 RK_U8 *dst_buf = (RK_U8 *)mpp_packet_get_data(dst); in avsd_parser_split() local
684 dst_buf[0] = 0; in avsd_parser_split()
685 dst_buf[1] = 0; in avsd_parser_split()
686 dst_buf[2] = 1; in avsd_parser_split()
691 dst_buf[dst_len++] = src_buf[src_pos++]; in avsd_parser_split()
706 dst_buf[dst_len++] = src_buf[src_pos++]; in avsd_parser_split()
/rockchip-linux_mpp/mpp/vproc/rga/
H A Drga.c278 MppBuffer dst_buf = mpp_frame_get_buffer(dst); in rga_copy() local
284 RK_S32 dst_fd = mpp_buffer_get_fd(dst_buf); in rga_copy()
/rockchip-linux_mpp/mpp/codec/dec/mpg4/
H A Dmpg4d_parser.c1185 RK_U8 *dst_buf = (RK_U8 *)mpp_packet_get_data(dst); in mpp_mpg4_parser_split() local
1196 dst_buf[0] = 0; in mpp_mpg4_parser_split()
1197 dst_buf[1] = 0; in mpp_mpg4_parser_split()
1198 dst_buf[2] = 1; in mpp_mpg4_parser_split()
1203 dst_buf[dst_len++] = src_buf[src_pos++]; in mpp_mpg4_parser_split()
1215 dst_buf[dst_len++] = src_buf[src_pos++]; in mpp_mpg4_parser_split()
/rockchip-linux_mpp/mpp/legacy/
H A Dvpu_api_legacy.cpp239 RK_U8 *dst_buf = dst; in copy_align_raw_buffer_to_dest() local
244 RK_U8 *dst_u = dst_buf + hor_stride * ver_stride; in copy_align_raw_buffer_to_dest()
251 memcpy(dst_buf + row * hor_stride, src_buf + index, width); in copy_align_raw_buffer_to_dest()
261 memcpy(dst_buf + row * hor_stride, src_buf + index, width); in copy_align_raw_buffer_to_dest()
276 memcpy(dst_buf + row * hor_stride * 3, src_buf + row * width * 3, width * 3); in copy_align_raw_buffer_to_dest()
284 memcpy(dst_buf + row * hor_stride * 4, src_buf + row * width * 4, width * 4); in copy_align_raw_buffer_to_dest()
/rockchip-linux_mpp/mpp/codec/dec/m2v/
H A Dm2vd_parser.c409 RK_U8 *dst_buf = (RK_U8 *)mpp_packet_get_data(dst); in mpp_m2vd_parser_split() local
416 dst_buf[0] = 0; in mpp_m2vd_parser_split()
417 dst_buf[1] = 0; in mpp_m2vd_parser_split()
418 dst_buf[2] = 1; in mpp_m2vd_parser_split()
424 dst_buf[dst_len++] = src_buf[src_pos++]; in mpp_m2vd_parser_split()
443 dst_buf[dst_len++] = src_buf[src_pos++]; in mpp_m2vd_parser_split()
/rockchip-linux_mpp/mpp/hal/rkenc/jpege/
H A Dhal_jpege_vepu540c.c63 RK_U8 *dst_buf; member
H A Dhal_jpege_vpu720.c101 RK_U8 *dst_buf; member
H A Dhal_jpege_vepu511.c53 RK_U8 *dst_buf; member
/rockchip-linux_mpp/utils/
H A Dmpp_enc_roi_utils.c189 static MPP_RET vepu54x_h265_set_roi(void *dst_buf, void *src_buf, RK_S32 w, RK_S32 h) in vepu54x_h265_set_roi() argument
192 Vepu541RoiCfg *dst = (Vepu541RoiCfg *)dst_buf; in vepu54x_h265_set_roi()
/rockchip-linux_mpp/mpp/hal/rkenc/h265e/
H A Dhal_h265e_vepu541.c107 RK_U8 *dst_buf; member
791 MPP_RET vepu541_h265_set_roi(void *dst_buf, void *src_buf, RK_S32 w, RK_S32 h) in vepu541_h265_set_roi() argument
794 Vepu541RoiCfg *dst = (Vepu541RoiCfg *)dst_buf; in vepu541_h265_set_roi()
854 void *dst_buf = mpp_buffer_get_ptr(ctx->roi_buf); in setup_vepu541_intra_refresh() local
908 vepu541_h265_set_roi(dst_buf, buf, w, h); in setup_vepu541_intra_refresh()
H A Dhal_h265e_vepu540c.c93 RK_U8 *dst_buf; member
H A Dhal_h265e_vepu510.c147 RK_U8 *dst_buf; member
H A Dhal_h265e_vepu511.c148 RK_U8 *dst_buf; member
H A Dhal_h265e_vepu580.c208 RK_U8 *dst_buf; member