Home
last modified time | relevance | path

Searched refs:min_size (Results 1 – 2 of 2) sorted by relevance

/rockchip-linux_mpp/mpp/codec/dec/h265/
H A Dh265d_parser.c122 RK_U32 min_size = (*buf_size) + sc->index + MPP_INPUT_BUFFER_PADDING_SIZE; in mpp_combine_frame() local
124 if (min_size > sc->buffer_size) { in mpp_combine_frame()
125 min_size = MPP_MAX(17 * min_size / 16 + 32, min_size); in mpp_combine_frame()
126 new_buffer = mpp_realloc(sc->buffer, RK_U8, min_size); in mpp_combine_frame()
131 sc->buffer_size = min_size; in mpp_combine_frame()
146 RK_U32 min_size = next + sc->index + MPP_INPUT_BUFFER_PADDING_SIZE; in mpp_combine_frame() local
148 if (min_size > sc->buffer_size) { in mpp_combine_frame()
149 min_size = MPP_MAX(17 * min_size / 16 + 32, min_size); in mpp_combine_frame()
150 new_buffer = mpp_realloc(sc->buffer, RK_U8, min_size); in mpp_combine_frame()
155 sc->buffer_size = min_size; in mpp_combine_frame()
[all …]
/rockchip-linux_mpp/mpp/codec/dec/vp9/
H A Dvp9d_parser.c1060 RK_U32 min_size = sizeof(VpxRangeCoder) * s->tiling.tile_cols; in decode_parser_header() local
1061 if (min_size > s->c_b_size) { in decode_parser_header()
1062 s->c_b = (VpxRangeCoder *)mpp_malloc(RK_U8, min_size); in decode_parser_header()
1063 s->c_b_size = min_size; in decode_parser_header()