Moves error concealment allocations from common parts to decoder
The backup MODE_INFO buffer used in the error concealment was allocated in the codec common parts allocation even though this is a decoder only resource. Moved the allocation to the decoder side. No need to update_mode_info_border as mode_info buffers are zero allocated. This fixes also a potential memory leak as the EC overlaps buffer was not properly released before reallocation after a frame size change. Change-Id: I12803d3e012308d95669069980b1c95973fb775f
Showing
- vp8/common/alloccommon.c 7 additions, 41 deletionsvp8/common/alloccommon.c
- vp8/common/onyxc_int.h 2 additions, 1 deletionvp8/common/onyxc_int.h
- vp8/decoder/decodframe.c 21 additions, 1 deletionvp8/decoder/decodframe.c
- vp8/decoder/error_concealment.c 3 additions, 2 deletionsvp8/decoder/error_concealment.c
- vp8/decoder/onyxd_if.c 1 addition, 0 deletionsvp8/decoder/onyxd_if.c
Loading
Please register or sign in to comment