Add get release decoder frame buffer functions.
authorFrank Galligan <fgalligan@google.com>
Thu, 6 Feb 2014 01:44:42 +0000 (17:44 -0800)
committerFrank Galligan <fgalligan@google.com>
Mon, 10 Feb 2014 22:08:11 +0000 (14:08 -0800)
commite8e152799be60b5bc070c6b115df12a6c1e3b176
tree9db288604a35db4ed7aa6cdfef1dec40c3653774
parent5f5c262766e6705732869c295bf2b2cba14ed363
Add get release decoder frame buffer functions.

This CL changes libvpx to call a function when a frame buffer
is needed for decode. Libvpx will call a release callback when
no other frames reference the frame buffer. This CL adds a
default implementation of the frame buffer callbacks. Currently
only VP9 is supported. A future CL will add support for
applications to supply their own frame buffer callbacks.

Change-Id: I1405a320118f1cdd95f80c670d52b085a62cb10d
14 files changed:
libs.mk
vp9/common/vp9_alloccommon.c
vp9/common/vp9_frame_buffers.c [new file with mode: 0644]
vp9/common/vp9_frame_buffers.h [new file with mode: 0644]
vp9/common/vp9_onyxc_int.h
vp9/decoder/vp9_decodeframe.c
vp9/decoder/vp9_onyxd_if.c
vp9/encoder/vp9_onyx_if.c
vp9/vp9_common.mk
vp9/vp9_dx_iface.c
vpx/vpx_codec.mk
vpx/vpx_frame_buffer.h [new file with mode: 0644]
vpx_scale/generic/yv12config.c
vpx_scale/yv12config.h