diff options
author | Dmitry Kovalev <dkovalev@google.com> | 2013-10-28 15:14:45 -0700 |
---|---|---|
committer | Dmitry Kovalev <dkovalev@google.com> | 2013-10-28 15:14:45 -0700 |
commit | 19cf72eddc5298ed49bdc617173e263995279c8f (patch) | |
tree | c93647194144a4f6d962108d7512d92b0346f038 /vp9/common/vp9_onyxc_int.h | |
parent | 080150d96f5b558ab408f20150e8fe81dced9867 (diff) | |
download | libvpx-19cf72eddc5298ed49bdc617173e263995279c8f.tar libvpx-19cf72eddc5298ed49bdc617173e263995279c8f.tar.gz libvpx-19cf72eddc5298ed49bdc617173e263995279c8f.tar.bz2 libvpx-19cf72eddc5298ed49bdc617173e263995279c8f.zip |
Adding {read, write}_partition() instead of check_bsize_coverage().
Making partition read/write logic more clear.
Change-Id: I1981e90327257d37095567c62d72a103cda1da33
Diffstat (limited to 'vp9/common/vp9_onyxc_int.h')
-rw-r--r-- | vp9/common/vp9_onyxc_int.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/vp9/common/vp9_onyxc_int.h b/vp9/common/vp9_onyxc_int.h index 31166b79c..a823de8cf 100644 --- a/vp9/common/vp9_onyxc_int.h +++ b/vp9/common/vp9_onyxc_int.h @@ -260,24 +260,6 @@ static INLINE void set_skip_context( } } -// return the node index in the prob tree for binary coding -static int check_bsize_coverage(int bs, int mi_rows, int mi_cols, - int mi_row, int mi_col) { - const int r = (mi_row + bs < mi_rows); - const int c = (mi_col + bs < mi_cols); - - if (r && c) - return 0; - - if (c && !r) - return 1; // only allow horizontal/split partition types - - if (r && !c) - return 2; // only allow vertical/split partition types - - return -1; -} - static void set_mi_row_col(MACROBLOCKD *xd, const TileInfo *const tile, int mi_row, int bh, int mi_col, int bw, |