summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_onyx_int.h
diff options
context:
space:
mode:
authorDeb Mukherjee <debargha@google.com>2014-04-04 17:30:16 -0700
committerDeb Mukherjee <debargha@google.com>2014-04-08 16:18:34 -0700
commitd35df2d8eaa74d7f9640f380f23e057fd7d83c35 (patch)
tree1b79ed4a74668132d68f3f23e724c40ee57465f4 /vp9/encoder/vp9_onyx_int.h
parente8e380f994e53c12f34721ed9e5a13b24b09f5f7 (diff)
downloadlibvpx-d35df2d8eaa74d7f9640f380f23e057fd7d83c35.tar
libvpx-d35df2d8eaa74d7f9640f380f23e057fd7d83c35.tar.gz
libvpx-d35df2d8eaa74d7f9640f380f23e057fd7d83c35.tar.bz2
libvpx-d35df2d8eaa74d7f9640f380f23e057fd7d83c35.zip
High-level hooks for Profile 2 (10/12 bit)
Adds some high-level hooks for profile 2 before further progress on the implementation. According to the definitiion in this patch: 1. Profile 2 only supports 10 or 12 bit color but not 8 2. Profile 2 supports all color sampling modes: 444, 422 and 420, and alpha plane. 3. Profile 3 is currently undefined. Please consider the definition carefully and suggest modifications to the definition as needed. Change-Id: I5b284fc679e54ac5aee171af72fa7994cfd28995
Diffstat (limited to 'vp9/encoder/vp9_onyx_int.h')
-rw-r--r--vp9/encoder/vp9_onyx_int.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/vp9/encoder/vp9_onyx_int.h b/vp9/encoder/vp9_onyx_int.h
index 6d5f62fb7..3d2c2da7b 100644
--- a/vp9/encoder/vp9_onyx_int.h
+++ b/vp9/encoder/vp9_onyx_int.h
@@ -186,9 +186,8 @@ typedef enum {
} AQ_MODE;
typedef struct VP9_CONFIG {
- int version; // 4 versions of bitstream defined:
- // 0 - best quality/slowest decode,
- // 3 - lowest quality/fastest decode
+ BITSTREAM_PROFILE profile;
+ BIT_DEPTH bit_depth;
int width; // width of data passed to the compressor
int height; // height of data passed to the compressor
double framerate; // set to passed in framerate