summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_blockd.h
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2013-10-31 12:21:49 -0700
committerJingning Han <jingning@google.com>2013-11-11 15:26:10 -0800
commitd8b4c7927075bfb2f29c54e6ff7d9fc3a52e2436 (patch)
tree4f7a87cacdcd2cdcdad491b3451513170ee0b010 /vp9/common/vp9_blockd.h
parentc689a126ed4773297e40a575a046bf0c51a32de4 (diff)
downloadlibvpx-d8b4c7927075bfb2f29c54e6ff7d9fc3a52e2436.tar
libvpx-d8b4c7927075bfb2f29c54e6ff7d9fc3a52e2436.tar.gz
libvpx-d8b4c7927075bfb2f29c54e6ff7d9fc3a52e2436.tar.bz2
libvpx-d8b4c7927075bfb2f29c54e6ff7d9fc3a52e2436.zip
Decouple macroblockd_plane buffer usage
Make the macroblockd_plane contain dynamic buffer pointers instead static pointers to the memory space allocated therein. The decoder uses the buffer allocated in pbi, while encoder will use a dual buffer approach for rate-distortion optimization search. Change-Id: Ie6f24be2dcda35df7c15b4014e5ccf236fb3f76c
Diffstat (limited to 'vp9/common/vp9_blockd.h')
-rw-r--r--vp9/common/vp9_blockd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vp9/common/vp9_blockd.h b/vp9/common/vp9_blockd.h
index f52adfc97..a666d1d1d 100644
--- a/vp9/common/vp9_blockd.h
+++ b/vp9/common/vp9_blockd.h
@@ -170,9 +170,9 @@ struct buf_2d {
};
struct macroblockd_plane {
- DECLARE_ALIGNED(16, int16_t, qcoeff[64 * 64]);
- DECLARE_ALIGNED(16, int16_t, dqcoeff[64 * 64]);
- DECLARE_ALIGNED(16, uint16_t, eobs[256]);
+ int16_t *qcoeff;
+ int16_t *dqcoeff;
+ uint16_t *eobs;
PLANE_TYPE plane_type;
int subsampling_x;
int subsampling_y;