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
8a78dc49
Commit
8a78dc49
authored
Jun 19, 2014
by
Johann
Committed by
Gerrit Code Review
Jun 19, 2014
Browse files
Merge "Remove labels from quantize"
parents
ab9755f3
fec6886f
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/x86/quantize_sse2.c
View file @
8a78dc49
...
...
@@ -26,11 +26,10 @@
int cmp = (x[z] < boost) | (y[z] == 0); \
zbin_boost_ptr++; \
if (cmp) \
goto select_eob_end_##i
; \
break
; \
qcoeff_ptr[z] = y[z]; \
eob = i; \
zbin_boost_ptr = b->zrun_zbin_boost; \
select_eob_end_##i:; \
} while (0)
void
vp8_regular_quantize_b_sse2
(
BLOCK
*
b
,
BLOCKD
*
d
)
...
...
vp8/encoder/x86/quantize_sse4.c
View file @
8a78dc49
...
...
@@ -17,18 +17,16 @@
#define SELECT_EOB(i, z, x, y, q) \
do { \
__label__ select_eob_end; \
short boost = *zbin_boost_ptr; \
short x_z = _mm_extract_epi16(x, z); \
short y_z = _mm_extract_epi16(y, z); \
int cmp = (x_z < boost) | (y_z == 0); \
zbin_boost_ptr++; \
if (cmp) \
goto select_eob_end
; \
break
; \
q = _mm_insert_epi16(q, y_z, z); \
eob = i; \
zbin_boost_ptr = b->zrun_zbin_boost; \
select_eob_end:; \
} while (0)
void
vp8_regular_quantize_b_sse4_1
(
BLOCK
*
b
,
BLOCKD
*
d
)
{
...
...
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