summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_lookahead.h
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2013-05-06 15:52:06 -0700
committerJohn Koleszar <jkoleszar@google.com>2013-05-09 17:50:12 -0700
commitda58436f43095743d77f7ee84500fd22851317d8 (patch)
tree1583a075122a56b524823dba8f78a52aad4965bd /vp9/encoder/vp9_lookahead.h
parent9e327dbb76540f128cde7367b85bca05aa5863e6 (diff)
downloadlibvpx-da58436f43095743d77f7ee84500fd22851317d8.tar
libvpx-da58436f43095743d77f7ee84500fd22851317d8.tar.gz
libvpx-da58436f43095743d77f7ee84500fd22851317d8.tar.bz2
libvpx-da58436f43095743d77f7ee84500fd22851317d8.zip
Subsampling aware allocs and bitstream
Make framebuffer allocations according to the chroma subsamping factors in use. A bit is placed in the raw part of the frame header for each of the two subsampling factors. This will be moved in a future commit to make them part of the TBD feature set bits, probably only set on keyframes, etc. Change-Id: I59ed38d3a3c0d4af3c7c277617de28d04a001853
Diffstat (limited to 'vp9/encoder/vp9_lookahead.h')
-rw-r--r--vp9/encoder/vp9_lookahead.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_lookahead.h b/vp9/encoder/vp9_lookahead.h
index 2406618b9..81baa2c6f 100644
--- a/vp9/encoder/vp9_lookahead.h
+++ b/vp9/encoder/vp9_lookahead.h
@@ -31,6 +31,8 @@ struct lookahead_ctx;
*/
struct lookahead_ctx *vp9_lookahead_init(unsigned int width,
unsigned int height,
+ unsigned int subsampling_x,
+ unsigned int subsampling_y,
unsigned int depth);