diff options
author | Paul Wilkins <paulwilkins@google.com> | 2013-04-24 13:04:45 +0100 |
---|---|---|
committer | Paul Wilkins <paulwilkins@google.com> | 2013-04-24 16:36:47 +0100 |
commit | 31ee193a9ccfccef65dad0fba3462b9f83db97fa (patch) | |
tree | a2d5f3cfb21c928911173031951c78604f37284c /vpx | |
parent | c77aff1286df07fb9f3b49feaacf384703813eca (diff) | |
download | libvpx-31ee193a9ccfccef65dad0fba3462b9f83db97fa.tar libvpx-31ee193a9ccfccef65dad0fba3462b9f83db97fa.tar.gz libvpx-31ee193a9ccfccef65dad0fba3462b9f83db97fa.tar.bz2 libvpx-31ee193a9ccfccef65dad0fba3462b9f83db97fa.zip |
Extension of segmentation to 8 segments.
Also some further simplification following removal
of top node code.
There is an issue in regards to the shared file vp8cx.h
in regard to the roi_map as this interface assumes that
there are only 4 segments. I have left the value here as
4 for now meaning that the roi_map interface is broken
for VP9.
Note that this change would have been easier if I hadn't
had to search for hard wire instances of the number 4
and <= 3.
Change-Id: Ia8b6deea4be4dbd20deb1656e689dd43a5f190e8
Diffstat (limited to 'vpx')
-rw-r--r-- | vpx/vp8cx.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/vpx/vp8cx.h b/vpx/vp8cx.h index 7f19dd033..f8e2ef9c3 100644 --- a/vpx/vp8cx.h +++ b/vpx/vp8cx.h @@ -215,9 +215,13 @@ typedef struct vpx_roi_map { unsigned char *roi_map; /**< specify an id between 0 and 3 for each 16x16 region within a frame */ unsigned int rows; /**< number of rows */ unsigned int cols; /**< number of cols */ - int delta_q[4]; /**< quantizer delta [-63, 63] off baseline for regions with id between 0 and 3*/ - int delta_lf[4]; /**< loop filter strength delta [-63, 63] for regions with id between 0 and 3 */ - unsigned int static_threshold[4];/**< threshold for region to be treated as static */ + // TODO(paulwilkins): broken for VP9 which has 8 segments + // q and loop filter deltas for each segment + // (see MAX_MB_SEGMENTS) + int delta_q[4]; + int delta_lf[4]; + // Static breakout threshold for each segment + unsigned int static_threshold[4]; } vpx_roi_map_t; /*!\brief vpx active region map |