Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
1bea58e4
Commit
1bea58e4
authored
Oct 29, 2013
by
Dmitry Kovalev
Committed by
Gerrit Code Review
Oct 29, 2013
Browse files
Merge "Adding const to vp9_quantize_b_{32x32,} parameters."
parents
27b8040c
065972f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp9/common/vp9_rtcd_defs.sh
View file @
1bea58e4
...
@@ -672,10 +672,10 @@ specialize vp9_block_error $sse2_x86inc
...
@@ -672,10 +672,10 @@ specialize vp9_block_error $sse2_x86inc
prototype void vp9_subtract_block
"int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride"
prototype void vp9_subtract_block
"int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride"
specialize vp9_subtract_block
$sse2_x86inc
specialize vp9_subtract_block
$sse2_x86inc
prototype void vp9_quantize_b
"int16_t *coeff_ptr, intptr_t n_coeffs, int skip_block, int16_t *zbin_ptr, int16_t *round_ptr, int16_t *quant_ptr, int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan"
prototype void vp9_quantize_b
"
const
int16_t *coeff_ptr, intptr_t n_coeffs, int skip_block,
const
int16_t *zbin_ptr,
const
int16_t *round_ptr,
const
int16_t *quant_ptr,
const
int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr,
const
int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan"
specialize vp9_quantize_b
$ssse3_x86_64
specialize vp9_quantize_b
$ssse3_x86_64
prototype void vp9_quantize_b_32x32
"int16_t *coeff_ptr, intptr_t n_coeffs, int skip_block, int16_t *zbin_ptr, int16_t *round_ptr, int16_t *quant_ptr, int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan"
prototype void vp9_quantize_b_32x32
"
const
int16_t *coeff_ptr, intptr_t n_coeffs, int skip_block,
const
int16_t *zbin_ptr,
const
int16_t *round_ptr,
const
int16_t *quant_ptr,
const
int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr,
const
int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan"
specialize vp9_quantize_b_32x32
$ssse3_x86_64
specialize vp9_quantize_b_32x32
$ssse3_x86_64
#
#
...
...
vp9/encoder/vp9_quantize.c
View file @
1bea58e4
...
@@ -22,12 +22,14 @@
...
@@ -22,12 +22,14 @@
extern
int
enc_debug
;
extern
int
enc_debug
;
#endif
#endif
void
vp9_quantize_b_c
(
int16_t
*
coeff_ptr
,
intptr_t
n_coeffs
,
int
skip_block
,
void
vp9_quantize_b_c
(
const
int16_t
*
coeff_ptr
,
intptr_t
n_coeffs
,
int16_t
*
zbin_ptr
,
int16_t
*
round_ptr
,
int16_t
*
quant_ptr
,
int
skip_block
,
int16_t
*
quant_shift_ptr
,
int16_t
*
qcoeff_ptr
,
const
int16_t
*
zbin_ptr
,
const
int16_t
*
round_ptr
,
int16_t
*
dqcoeff_ptr
,
int16_t
*
dequant_ptr
,
const
int16_t
*
quant_ptr
,
const
int16_t
*
quant_shift_ptr
,
int
zbin_oq_value
,
uint16_t
*
eob_ptr
,
const
int16_t
*
scan
,
int16_t
*
qcoeff_ptr
,
int16_t
*
dqcoeff_ptr
,
const
int16_t
*
iscan
)
{
const
int16_t
*
dequant_ptr
,
int
zbin_oq_value
,
uint16_t
*
eob_ptr
,
const
int16_t
*
scan
,
const
int16_t
*
iscan
)
{
int
i
,
rc
,
eob
;
int
i
,
rc
,
eob
;
int
zbins
[
2
],
nzbins
[
2
],
zbin
;
int
zbins
[
2
],
nzbins
[
2
],
zbin
;
int
x
,
y
,
z
,
sz
;
int
x
,
y
,
z
,
sz
;
...
@@ -86,14 +88,15 @@ void vp9_quantize_b_c(int16_t *coeff_ptr, intptr_t n_coeffs, int skip_block,
...
@@ -86,14 +88,15 @@ void vp9_quantize_b_c(int16_t *coeff_ptr, intptr_t n_coeffs, int skip_block,
*
eob_ptr
=
eob
+
1
;
*
eob_ptr
=
eob
+
1
;
}
}
void
vp9_quantize_b_32x32_c
(
int16_t
*
coeff_ptr
,
intptr_t
n_coeffs
,
void
vp9_quantize_b_32x32_c
(
const
int16_t
*
coeff_ptr
,
intptr_t
n_coeffs
,
int
skip_block
,
int
skip_block
,
int16_t
*
zbin_ptr
,
int16_t
*
round_ptr
,
const
int16_t
*
zbin_ptr
,
const
int16_t
*
round_ptr
,
int16_t
*
quant_ptr
,
int16_t
*
quant_shift_ptr
,
const
int16_t
*
quant_ptr
,
const
int16_t
*
quant_shift_ptr
,
int16_t
*
qcoeff_ptr
,
int16_t
*
dqcoeff_ptr
,
int16_t
*
qcoeff_ptr
,
int16_t
*
dqcoeff_ptr
,
int16_t
*
dequant_ptr
,
int
zbin_oq_value
,
const
int16_t
*
dequant_ptr
,
u
int
16_t
*
eob_ptr
,
const
int16_t
*
scan
,
int
zbin_oq_value
,
u
int16_t
*
eob_ptr
,
const
int16_t
*
iscan
)
{
const
int16_t
*
scan
,
const
int16_t
*
iscan
)
{
int
i
,
rc
,
eob
;
int
i
,
rc
,
eob
;
int
zbins
[
2
],
nzbins
[
2
];
int
zbins
[
2
],
nzbins
[
2
];
int
x
,
y
,
z
,
sz
;
int
x
,
y
,
z
,
sz
;
...
...
Write
Preview
Markdown
is supported
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