]> granicus.if.org Git - libvpx/commitdiff
Remove VP10 style bitreader and bitwriter wrappers
authorAlex Converse <aconverse@google.com>
Mon, 26 Sep 2016 20:09:09 +0000 (13:09 -0700)
committerAlex Converse <aconverse@google.com>
Mon, 26 Sep 2016 21:02:34 +0000 (14:02 -0700)
Change-Id: I13eed9cb6950ea4fbdd586d43b73ac0cc2d78d33

av1/av1_cx.mk
av1/av1_dx.mk
av1/decoder/bitreader.h [deleted file]
av1/decoder/decodemv.h
av1/decoder/decoder.h
av1/decoder/dsubexp.h
av1/encoder/bitwriter.h [deleted file]
av1/encoder/subexp.c
av1/encoder/treewriter.h

index ecbe2b32bba95af7c98ad8d6a07e613a731a0b33..2bb405cee9116472b3e6b229832dc2ae126985e0 100644 (file)
@@ -19,7 +19,6 @@ AV1_CX_SRCS_REMOVE-no  += $(AV1_COMMON_SRCS_REMOVE-no)
 AV1_CX_SRCS-yes += av1_cx_iface.c
 
 AV1_CX_SRCS-yes += encoder/bitstream.c
-AV1_CX_SRCS-yes += encoder/bitwriter.h
 AV1_CX_SRCS-yes += encoder/context_tree.c
 AV1_CX_SRCS-yes += encoder/context_tree.h
 AV1_CX_SRCS-yes += encoder/variance_tree.c
index 1ebf5fb27cb1d687fa9365c7fe7d1104bf4db406..36eec30448a0887b9fe65c5f16e65d11c4c40034 100644 (file)
@@ -30,6 +30,5 @@ AV1_DX_SRCS-yes += decoder/decoder.c
 AV1_DX_SRCS-yes += decoder/decoder.h
 AV1_DX_SRCS-yes += decoder/dsubexp.c
 AV1_DX_SRCS-yes += decoder/dsubexp.h
-AV1_DX_SRCS-yes += decoder/bitreader.h
 
 AV1_DX_SRCS-yes := $(filter-out $(AV1_DX_SRCS_REMOVE-yes),$(AV1_DX_SRCS-yes))
diff --git a/av1/decoder/bitreader.h b/av1/decoder/bitreader.h
deleted file mode 100644 (file)
index 4d77664..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- *  Copyright (c) 2016 The WebM project authors. All Rights Reserved.
- *
- *  Use of this source code is governed by a BSD-style license
- *  that can be found in the LICENSE file in the root of the source
- *  tree. An additional intellectual property rights grant can be found
- *  in the file PATENTS.  All contributing project authors may
- *  be found in the AUTHORS file in the root of the source tree.
- */
-
-/* The purpose of this header is to provide compile time pluggable bit reader
- * implementations with a common interface. */
-
-#ifndef AOM10_DECODER_BITREADER_H_
-#define AOM10_DECODER_BITREADER_H_
-
-#include "./aom_config.h"
-
-#if CONFIG_ANS
-#include "aom_dsp/ans.h"
-#include "aom/aomdx.h"  // for av1_decrypt_cb
-#define aom_reader struct AnsDecoder
-#define aom_reader_has_error ans_reader_has_error
-#define aom_read uabs_read
-#define aom_read_bit uabs_read_bit
-#define aom_read_literal uabs_read_literal
-#define aom_read_tree uabs_read_tree
-#else
-#include "aom_dsp/bitreader.h"
-#define aom_reader aom_reader
-#define aom_reader_has_error aom_reader_has_error
-#define aom_read aom_read
-#define aom_read_bit aom_read_bit
-#define aom_read_literal aom_read_literal
-#define aom_read_tree aom_read_tree
-#endif
-
-#endif  // AOM10_DECODER_BITREADER_H_
index aa17b5bc836859e0c2239cd4e32c32026dfc0782..e9162620f090524fa165cf54550dc12122891908 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef AV1_DECODER_DECODEMV_H_
 #define AV1_DECODER_DECODEMV_H_
 
-#include "av1/decoder/bitreader.h"
+#include "aom_dsp/bitreader.h"
 
 #include "av1/decoder/decoder.h"
 
index 43fac67d396e2f69ff62ff40ad875331c300d1ca..3900b44322207e41760ddc7399abfdf6476eb3dc 100644 (file)
@@ -15,7 +15,7 @@
 #include "./aom_config.h"
 
 #include "aom/aom_codec.h"
-#include "av1/decoder/bitreader.h"
+#include "aom_dsp/bitreader.h"
 #include "aom_scale/yv12config.h"
 #include "aom_util/aom_thread.h"
 
index ed88f28370c0cea1c56d0416b44e360b9887598d..c0d372ab028bb547e738db0e7c23c5b100775312 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef AV1_DECODER_DSUBEXP_H_
 #define AV1_DECODER_DSUBEXP_H_
 
-#include "av1/decoder/bitreader.h"
+#include "aom_dsp/bitreader.h"
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/av1/encoder/bitwriter.h b/av1/encoder/bitwriter.h
deleted file mode 100644 (file)
index 21cc6a3..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- *  Copyright (c) 2016 The WebM project authors. All Rights Reserved.
- *
- *  Use of this source code is governed by a BSD-style license
- *  that can be found in the LICENSE file in the root of the source
- *  tree. An additional intellectual property rights grant can be found
- *  in the file PATENTS.  All contributing project authors may
- *  be found in the AUTHORS file in the root of the source tree.
- */
-
-/* The purpose of this header is to provide compile time pluggable bit writer
- * implementations with a common interface. */
-
-#ifndef AOM10_ENCODER_BITWRITER_H_
-#define AOM10_ENCODER_BITWRITER_H_
-
-#include "aom_dsp/bitwriter.h"
-
-#endif  // AOM10_ENCODER_BITWRITER_H_
index aa02e53cb6edc80c7cae55031a15f8102d5ef295..0ca52477f0f9e507fb3a4425cca8b84a0c2dbf08 100644 (file)
@@ -8,7 +8,7 @@
  * Media Patent License 1.0 was not distributed with this source code in the
  * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
  */
-#include "av1/encoder/bitwriter.h"
+#include "aom_dsp/bitwriter.h"
 
 #include "av1/common/common.h"
 #include "av1/common/entropy.h"
index eb7f0a7c8b965486a3cb7de3431ccb97c9fca35b..a7b38b9fb2eb2800f1ddb493e1d17a9cffc6108d 100644 (file)
@@ -17,7 +17,7 @@
 #define tree_writer aom_dk_writer
 #define tree_bit_write aom_dk_write
 #else
-#include "av1/encoder/bitwriter.h"
+#include "aom_dsp/bitwriter.h"
 #define tree_writer aom_writer
 #define tree_bit_write aom_write
 #endif