Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
10c7876a
Commit
10c7876a
authored
Sep 30, 2014
by
Deb Mukherjee
Committed by
Gerrit Code Review
Sep 30, 2014
Browse files
Merge "Moves transform type defines to vp9_common"
parents
317fca8f
872b207b
Changes
3
Hide whitespace changes
Inline
Side-by-side
vp9/common/vp9_common.h
View file @
10c7876a
...
...
@@ -77,8 +77,22 @@ static INLINE uint16_t clip_pixel_high(int val, int bd) {
}
}
// Note:
// tran_low_t is the datatype used for final transform coefficients.
// tran_high_t is the datatype used for intermediate transform stages.
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:
// tran_low_t is the datatype used for final transform coefficients.
// tran_high_t is the datatype used for intermediate transform stages.
typedef
int32_t
tran_high_t
;
typedef
int16_t
tran_low_t
;
#endif // CONFIG_VP9_HIGHBITDEPTH
#if CONFIG_DEBUG
...
...
vp9/common/vp9_idct.h
View file @
10c7876a
...
...
@@ -36,17 +36,6 @@ extern "C" {
#define dual_set_epi16(a, b) \
_mm_set_epi16(b, b, b, b, a, a, a, a)
// Note:
// tran_low_t is the datatype used for final transform coefficients.
// tran_high_t is the datatype used for intermediate transform stages.
#if CONFIG_VP9_HIGHBITDEPTH
typedef
int64_t
tran_high_t
;
typedef
int32_t
tran_low_t
;
#else
typedef
int32_t
tran_high_t
;
typedef
int16_t
tran_low_t
;
#endif
// Constants:
// for (int i = 1; i< 32; ++i)
// printf("static const int cospi_%d_64 = %.0f;\n", i,
...
...
vp9/common/vp9_rtcd_defs.pl
View file @
10c7876a
...
...
@@ -5,8 +5,8 @@ print <<EOF
*/
#include "vpx/vpx_integer.h"
#include "vp9/common/vp9_common.h"
#include "vp9/common/vp9_enums.h"
#include "vp9/common/vp9_idct.h"
struct macroblockd;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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