Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
x264
Commits
2d816a51
Commit
2d816a51
authored
May 15, 2008
by
Fiona Glaser
Committed by
Loren Merritt
May 17, 2008
Browse files
quant_2x2_dc_ssse3
parent
0bb9b6b8
Changes
3
Hide whitespace changes
Inline
Side-by-side
common/quant.c
View file @
2d816a51
...
...
@@ -243,6 +243,7 @@ void x264_quant_init( x264_t *h, int cpu, x264_quant_function_t *pf )
if
(
cpu
&
X264_CPU_SSSE3
)
{
pf
->
quant_2x2_dc
=
x264_quant_2x2_dc_ssse3
;
pf
->
quant_4x4_dc
=
x264_quant_4x4_dc_ssse3
;
pf
->
quant_4x4
=
x264_quant_4x4_ssse3
;
pf
->
quant_8x8
=
x264_quant_8x8_ssse3
;
...
...
common/x86/quant-a.asm
View file @
2d816a51
...
...
@@ -106,6 +106,11 @@ cglobal x264_quant_2x2_dc_mmxext, 1,1
QUANT_MMX
[
r0
],
mm6
,
mm7
RET
cglobal
x264_quant_2x2_dc_ssse3
,
1
,
1
QUANT_DC_START
QUANT_SSSE3
[
r0
],
mm6
,
mm7
RET
;-----------------------------------------------------------------------------
; void x264_quant_4x4_dc_mmxext( int16_t dct[16], int mf, int bias )
;-----------------------------------------------------------------------------
...
...
common/x86/quant.h
View file @
2d816a51
...
...
@@ -30,6 +30,7 @@ void x264_quant_8x8_mmx( int16_t dct[8][8], uint16_t mf[64], uint16_t bias[64] )
void
x264_quant_4x4_dc_sse2
(
int16_t
dct
[
4
][
4
],
int
mf
,
int
bias
);
void
x264_quant_4x4_sse2
(
int16_t
dct
[
4
][
4
],
uint16_t
mf
[
16
],
uint16_t
bias
[
16
]
);
void
x264_quant_8x8_sse2
(
int16_t
dct
[
8
][
8
],
uint16_t
mf
[
64
],
uint16_t
bias
[
64
]
);
void
x264_quant_2x2_dc_ssse3
(
int16_t
dct
[
2
][
2
],
int
mf
,
int
bias
);
void
x264_quant_4x4_dc_ssse3
(
int16_t
dct
[
4
][
4
],
int
mf
,
int
bias
);
void
x264_quant_4x4_ssse3
(
int16_t
dct
[
4
][
4
],
uint16_t
mf
[
16
],
uint16_t
bias
[
16
]
);
void
x264_quant_8x8_ssse3
(
int16_t
dct
[
8
][
8
],
uint16_t
mf
[
64
],
uint16_t
bias
[
64
]
);
...
...
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