Searched refs:buffers (Results 1 – 8 of 8) sorted by relevance
130 Vp8eVpuBuf *buffers = (Vp8eVpuBuf *)ctx->buffers; in set_segmentation() local144 RK_U32 *map = mpp_buffer_get_ptr(buffers->hw_segment_map_buf); in set_segmentation()148 mpp_buffer_sync_begin(buffers->hw_segment_map_buf); in set_segmentation()192 mpp_buffer_sync_end(buffers->hw_segment_map_buf); in set_segmentation()440 Vp8eVpuBuf *buffers = (Vp8eVpuBuf *)ctx->buffers; in set_new_frame() local578 hw_cfg->size_tbl_base = mpp_buffer_get_fd(buffers->hw_size_table_buf); in set_new_frame()595 memset(mpp_buffer_get_ptr(buffers->hw_prob_count_buf), in set_new_frame()597 mpp_buffer_sync_end(buffers->hw_prob_count_buf); in set_new_frame()1213 Vp8eVpuBuf *buffers = (Vp8eVpuBuf *)ctx->buffers; in alloc_buffer() local1218 ret = mpp_buffer_group_get_internal(&buffers->hw_buf_grp, in alloc_buffer()[all …]
65 Vp8eVpuBuf *buffers = (Vp8eVpuBuf *)ctx->buffers; in vp8e_init_entropy() local103 RK_U16 *p_cnt = (RK_U16 *)mpp_buffer_get_ptr(buffers->hw_prob_count_buf); in vp8e_init_entropy()105 mpp_buffer_sync_end(buffers->hw_prob_count_buf); in vp8e_init_entropy()252 Vp8eVpuBuf *buffers = (Vp8eVpuBuf *)ctx->buffers; in vp8e_write_entropy_tables() local255 RK_U8 *table = (RK_U8 *)mpp_buffer_get_ptr(buffers->hw_cabac_table_buf); in vp8e_write_entropy_tables()327 table = mpp_buffer_get_ptr(buffers->hw_cabac_table_buf); in vp8e_write_entropy_tables()333 mpp_buffer_sync_end(buffers->hw_cabac_table_buf); in vp8e_write_entropy_tables()
300 ctx->buffers = mpp_calloc(Vp8eVpuBuf, 1); in hal_vp8e_vepu1_init_v2()301 if (ctx->buffers == NULL) { in hal_vp8e_vepu1_init_v2()340 MPP_FREE(ctx->buffers); in hal_vp8e_vepu1_deinit_v2()
302 ctx->buffers = mpp_calloc(Vp8eVpuBuf, 1); in hal_vp8e_vepu2_init_v2()303 if (ctx->buffers == NULL) { in hal_vp8e_vepu2_init_v2()344 MPP_FREE(ctx->buffers); in hal_vp8e_vepu2_deinit_v2()
338 void *buffers; member
392 For H.264/H.265 20+ buffers will be enough.393 For other codec 10 buffers will be enough.
88 * [h264e]: allocate buffers before encoding
144 …rGroup is to use it as a buffer manager only to manage external imported buffers. Its usage is sho…