Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guillaume Martres
aom-rav1e
Commits
cafae5b5
Commit
cafae5b5
authored
May 13, 2015
by
Johann
Committed by
Gerrit Code Review
May 13, 2015
Browse files
Merge "Relocate memory operations for common code"
parents
3007db0b
1d7ccd53
Changes
48
Hide whitespace changes
Inline
Side-by-side
test/dct16x16_test.cc
View file @
cafae5b5
...
...
@@ -22,6 +22,7 @@
#include
"vp9/common/vp9_entropy.h"
#include
"vpx/vpx_codec.h"
#include
"vpx/vpx_integer.h"
#include
"vpx_ports/mem.h"
using
libvpx_test
::
ACMRandom
;
...
...
test/dct32x32_test.cc
View file @
cafae5b5
...
...
@@ -23,6 +23,7 @@
#include
"vp9/common/vp9_entropy.h"
#include
"vpx/vpx_codec.h"
#include
"vpx/vpx_integer.h"
#include
"vpx_ports/mem.h"
using
libvpx_test
::
ACMRandom
;
...
...
test/fdct4x4_test.cc
View file @
cafae5b5
...
...
@@ -22,6 +22,7 @@
#include
"vp9/common/vp9_entropy.h"
#include
"vpx/vpx_codec.h"
#include
"vpx/vpx_integer.h"
#include
"vpx_ports/mem.h"
using
libvpx_test
::
ACMRandom
;
...
...
test/fdct8x8_test.cc
View file @
cafae5b5
...
...
@@ -22,6 +22,7 @@
#include
"vp9/common/vp9_entropy.h"
#include
"vpx/vpx_codec.h"
#include
"vpx/vpx_integer.h"
#include
"vpx_ports/mem.h"
const
int
kNumCoeffs
=
64
;
const
double
kPi
=
3.141592653589793238462643383279502884
;
...
...
test/sad_test.cc
View file @
cafae5b5
...
...
@@ -16,22 +16,7 @@
#include
"./vpx_config.h"
#include
"./vpx_dsp_rtcd.h"
#include
"vpx_mem/vpx_mem.h"
/* Needed for ROUND_POWER_OF_TWO and CONVERT_TO* macros, both of which should be
* moved to a more generic location. Alternatively the *avg functions could be
* restricted to VP9 builds, but it would be better to avoid that sort of
* specificity.
* TODO(johannkoenig): move these macros to a common location.
*/
#if CONFIG_VP9_HIGHBITDEPTH
#include
"vp9/common/vp9_common.h"
#endif // CONFIG_VP9_HIGHBITDEPTH
#ifndef ROUND_POWER_OF_TWO
#define ROUND_POWER_OF_TWO(value, n) \
(((value) + (1 << ((n) - 1))) >> (n))
#endif // ROUND_POWER_OF_TWO
#include
"vpx_ports/mem.h"
#include
"test/acm_random.h"
#include
"test/clear_system_state.h"
...
...
test/variance_test.cc
View file @
cafae5b5
...
...
@@ -20,6 +20,7 @@
#include
"vpx/vpx_codec.h"
#include
"vpx/vpx_integer.h"
#include
"vpx_mem/vpx_mem.h"
#include
"vpx_ports/mem.h"
#if CONFIG_VP8_ENCODER
# include "./vp8_rtcd.h"
# include "vp8/common/variance.h"
...
...
vp9/common/arm/neon/vp9_idct16x16_1_add_neon.c
View file @
cafae5b5
...
...
@@ -9,6 +9,8 @@
*/
#include
<arm_neon.h>
#include
"vpx_ports/mem.h"
#include
"vp9/common/vp9_idct.h"
void
vp9_idct16x16_1_add_neon
(
...
...
vp9/common/arm/neon/vp9_idct32x32_1_add_neon.c
View file @
cafae5b5
...
...
@@ -9,10 +9,12 @@
*/
#include
<arm_neon.h>
#include
"vp9/common/vp9_idct.h"
#include
"./vpx_config.h"
#include
"vpx_ports/mem.h"
#include
"vp9/common/vp9_idct.h"
static
INLINE
void
LD_16x8
(
uint8_t
*
d
,
int
d_stride
,
...
...
vp9/common/arm/neon/vp9_idct4x4_1_add_neon.c
View file @
cafae5b5
...
...
@@ -9,6 +9,8 @@
*/
#include
<arm_neon.h>
#include
"vpx_ports/mem.h"
#include
"vp9/common/vp9_idct.h"
void
vp9_idct4x4_1_add_neon
(
...
...
vp9/common/arm/neon/vp9_idct8x8_1_add_neon.c
View file @
cafae5b5
...
...
@@ -9,6 +9,8 @@
*/
#include
<arm_neon.h>
#include
"vpx_ports/mem.h"
#include
"vp9/common/vp9_idct.h"
void
vp9_idct8x8_1_add_neon
(
...
...
vp9/common/mips/dspr2/vp9_itrans16_dspr2.c
View file @
cafae5b5
...
...
@@ -13,6 +13,7 @@
#include
"./vpx_config.h"
#include
"./vp9_rtcd.h"
#include
"vpx_ports/mem.h"
#include
"vp9/common/vp9_common.h"
#include
"vp9/common/vp9_blockd.h"
#include
"vp9/common/vp9_idct.h"
...
...
vp9/common/mips/dspr2/vp9_itrans32_cols_dspr2.c
View file @
cafae5b5
...
...
@@ -12,6 +12,7 @@
#include
"./vpx_config.h"
#include
"./vp9_rtcd.h"
#include
"vpx_ports/mem.h"
#include
"vp9/common/vp9_common.h"
#include
"vp9/common/vp9_blockd.h"
#include
"vp9/common/vp9_idct.h"
...
...
vp9/common/mips/dspr2/vp9_itrans4_dspr2.c
View file @
cafae5b5
...
...
@@ -13,6 +13,7 @@
#include
"./vpx_config.h"
#include
"./vp9_rtcd.h"
#include
"vpx_ports/mem.h"
#include
"vp9/common/vp9_common.h"
#include
"vp9/common/vp9_blockd.h"
#include
"vp9/common/vp9_idct.h"
...
...
vp9/common/mips/dspr2/vp9_itrans8_dspr2.c
View file @
cafae5b5
...
...
@@ -13,6 +13,7 @@
#include
"./vpx_config.h"
#include
"./vp9_rtcd.h"
#include
"vpx_ports/mem.h"
#include
"vp9/common/vp9_common.h"
#include
"vp9/common/vp9_blockd.h"
#include
"vp9/common/vp9_idct.h"
...
...
vp9/common/mips/dspr2/vp9_loopfilter_filters_dspr2.h
View file @
cafae5b5
...
...
@@ -14,6 +14,7 @@
#include
<stdlib.h>
#include
"./vp9_rtcd.h"
#include
"vpx_ports/mem.h"
#include
"vp9/common/vp9_common.h"
#include
"vp9/common/vp9_onyxc_int.h"
...
...
vp9/common/vp9_common.h
View file @
cafae5b5
...
...
@@ -27,12 +27,6 @@ extern "C" {
#define MIN(x, y) (((x) < (y)) ? (x) : (y))
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
#define ROUND_POWER_OF_TWO(value, n) \
(((value) + (1 << ((n) - 1))) >> (n))
#define ALIGN_POWER_OF_TWO(value, n) \
(((value) + ((1 << (n)) - 1)) & ~((1 << (n)) - 1))
// Only need this for fixed-size arrays, for structs just assign.
#define vp9_copy(dest, src) { \
assert(sizeof(dest) == sizeof(src)); \
...
...
@@ -83,9 +77,6 @@ static INLINE uint16_t clip_pixel_highbd(int val, int bd) {
typedef
int64_t
tran_high_t
;
typedef
int32_t
tran_low_t
;
#define CONVERT_TO_SHORTPTR(x) ((uint16_t*)(((uintptr_t)x) << 1))
#define CONVERT_TO_BYTEPTR(x) ((uint8_t*)(((uintptr_t)x) >> 1 ))
#else
// Note:
...
...
vp9/common/vp9_idct.c
View file @
cafae5b5
...
...
@@ -11,6 +11,7 @@
#include
<math.h>
#include
"./vp9_rtcd.h"
#include
"vpx_ports/mem.h"
#include
"vp9/common/vp9_blockd.h"
#include
"vp9/common/vp9_idct.h"
#include
"vp9/common/vp9_systemdependent.h"
...
...
vp9/common/vp9_idct.h
View file @
cafae5b5
...
...
@@ -14,6 +14,7 @@
#include
<assert.h>
#include
"./vpx_config.h"
#include
"vpx_ports/mem.h"
#include
"vp9/common/vp9_common.h"
#include
"vp9/common/vp9_enums.h"
...
...
vp9/common/vp9_loopfilter.c
View file @
cafae5b5
...
...
@@ -13,6 +13,7 @@
#include
"vp9/common/vp9_onyxc_int.h"
#include
"vp9/common/vp9_reconinter.h"
#include
"vpx_mem/vpx_mem.h"
#include
"vpx_ports/mem.h"
#include
"vp9/common/vp9_seg_common.h"
...
...
vp9/common/vp9_loopfilter_filters.c
View file @
cafae5b5
...
...
@@ -9,6 +9,7 @@
*/
#include
"./vpx_config.h"
#include
"vpx_ports/mem.h"
#include
"vp9/common/vp9_common.h"
#include
"vp9/common/vp9_loopfilter.h"
#include
"vp9/common/vp9_onyxc_int.h"
...
...
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment