summaryrefslogtreecommitdiff
path: root/vp9
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2014-05-19 08:37:47 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2014-05-19 08:37:47 -0700
commitd83295f2e1642461d2ac1415942258af95475781 (patch)
tree5dd6894738b9d254f4e7b476e9c08b93614ff7a2 /vp9
parentb043c3e0813827f164c899fcd0b7f222f3018144 (diff)
parentc03ae7d99f5210e7fc970da2cd3906a1721f6c61 (diff)
downloadlibvpx-d83295f2e1642461d2ac1415942258af95475781.tar
libvpx-d83295f2e1642461d2ac1415942258af95475781.tar.gz
libvpx-d83295f2e1642461d2ac1415942258af95475781.tar.bz2
libvpx-d83295f2e1642461d2ac1415942258af95475781.zip
Merge "Add a TODO"
Diffstat (limited to 'vp9')
-rw-r--r--vp9/encoder/vp9_tokenize.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_tokenize.c b/vp9/encoder/vp9_tokenize.c
index 17214c3ee..dcca92d21 100644
--- a/vp9/encoder/vp9_tokenize.c
+++ b/vp9/encoder/vp9_tokenize.c
@@ -288,7 +288,6 @@ struct is_skippable_args {
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 @@ static void is_skippable(int plane, int block,
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};