Searched refs:mb_total (Results 1 – 2 of 2) sorted by relevance
289 u32 mb_width, mb_height, mb_total; in codec_h264_resume() local301 mb_total = mb_width * mb_height; in codec_h264_resume()303 h264->ref_size = mb_total * MB_MV_SIZE * h264->max_refs; in codec_h264_resume()328 u32 parsed_info, mb_total; in codec_h264_src_change() local337 mb_total = (parsed_info >> MB_TOTAL_BIT) & MB_TOTAL_MASK; in codec_h264_src_change()341 h264->mb_height = mb_total / h264->mb_width; in codec_h264_src_change()
1207 RK_U32 mb_total = ctx->mb_per_frame; in alloc_buffer() local1222 MPP_ALIGN(mb_total * (16 * 16), SZ_4K) + SZ_4K); in alloc_buffer()1232 MPP_ALIGN(mb_total * (2 * 8 * 8), SZ_4K) + SZ_4K); in alloc_buffer()1268 mb_total * 4); in alloc_buffer()1276 memset(mpp_buffer_get_ptr(buffers->hw_mv_output_buf), 0, sizeof(RK_U32) * mb_total); in alloc_buffer()1287 RK_U32 segment_map_size = (mb_total * 4 + 63) / 64 * 8; in alloc_buffer()