Index: source/libvpx/vp9/encoder/vp9_tokenize.c |
=================================================================== |
--- source/libvpx/vp9/encoder/vp9_tokenize.c (revision 278778) |
+++ source/libvpx/vp9/encoder/vp9_tokenize.c (working copy) |
@@ -288,7 +288,6 @@ |
MACROBLOCK *x; |
int *skippable; |
}; |
- |
static void is_skippable(int plane, int block, |
BLOCK_SIZE plane_bsize, TX_SIZE tx_size, |
void *argv) { |
@@ -298,6 +297,8 @@ |
args->skippable[0] &= (!args->x->plane[plane].eobs[block]); |
} |
+// TODO(yaowu): rewrite and optimize this function to remove the usage of |
+// vp9_foreach_transform_block() and simplify is_skippable(). |
int vp9_is_skippable_in_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane) { |
int result = 1; |
struct is_skippable_args args = {x, &result}; |