Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
d20f133e
Commit
d20f133e
authored
Jul 03, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: h264_intrapred: port to cpuflag macros
parent
2696789c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
h264_intrapred.asm
libavcodec/x86/h264_intrapred.asm
+0
-0
h264_intrapred_init.c
libavcodec/x86/h264_intrapred_init.c
+12
-12
No files found.
libavcodec/x86/h264_intrapred.asm
View file @
d20f133e
This diff is collapsed.
Click to expand it.
libavcodec/x86/h264_intrapred_init.c
View file @
d20f133e
...
@@ -96,9 +96,9 @@ PRED16x16(horizontal, 10, sse2)
...
@@ -96,9 +96,9 @@ PRED16x16(horizontal, 10, sse2)
void
ff_pred16x16_vertical_mmx
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_vertical_mmx
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_vertical_sse
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_vertical_sse
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_horizontal_mmx
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_horizontal_mmx
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_horizontal_mmx
ext
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_horizontal_mmx
2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_horizontal_ssse3
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_horizontal_ssse3
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_dc_mmx
ext
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_dc_mmx
2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_dc_sse2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_dc_sse2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_dc_ssse3
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_dc_ssse3
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_plane_h264_mmx
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_plane_h264_mmx
(
uint8_t
*
src
,
int
stride
);
...
@@ -114,21 +114,21 @@ void ff_pred16x16_plane_svq3_mmx2 (uint8_t *src, int stride);
...
@@ -114,21 +114,21 @@ void ff_pred16x16_plane_svq3_mmx2 (uint8_t *src, int stride);
void
ff_pred16x16_plane_svq3_sse2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_plane_svq3_sse2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_plane_svq3_ssse3
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_plane_svq3_ssse3
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_tm_vp8_mmx
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_tm_vp8_mmx
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_tm_vp8_mmx
ext
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_tm_vp8_mmx
2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_tm_vp8_sse2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred16x16_tm_vp8_sse2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_top_dc_mmxext
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_top_dc_mmxext
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_dc_rv40_mmxext
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_dc_rv40_mmxext
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_dc_mmxext
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_dc_mmxext
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_vertical_mmx
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_vertical_mmx
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_horizontal_mmx
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_horizontal_mmx
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_horizontal_mmx
ext
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_horizontal_mmx
2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_horizontal_ssse3
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_horizontal_ssse3
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_plane_mmx
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_plane_mmx
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_plane_mmx2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_plane_mmx2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_plane_sse2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_plane_sse2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_plane_ssse3
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_plane_ssse3
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_tm_vp8_mmx
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_tm_vp8_mmx
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_tm_vp8_mmx
ext
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_tm_vp8_mmx
2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_tm_vp8_sse2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_tm_vp8_sse2
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_tm_vp8_ssse3
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8_tm_vp8_ssse3
(
uint8_t
*
src
,
int
stride
);
void
ff_pred8x8l_top_dc_mmxext
(
uint8_t
*
src
,
int
has_topleft
,
int
has_topright
,
int
stride
);
void
ff_pred8x8l_top_dc_mmxext
(
uint8_t
*
src
,
int
has_topleft
,
int
has_topright
,
int
stride
);
...
@@ -163,7 +163,7 @@ void ff_pred4x4_vertical_right_mmxext(uint8_t *src, const uint8_t *topright, int
...
@@ -163,7 +163,7 @@ void ff_pred4x4_vertical_right_mmxext(uint8_t *src, const uint8_t *topright, int
void
ff_pred4x4_horizontal_up_mmxext
(
uint8_t
*
src
,
const
uint8_t
*
topright
,
int
stride
);
void
ff_pred4x4_horizontal_up_mmxext
(
uint8_t
*
src
,
const
uint8_t
*
topright
,
int
stride
);
void
ff_pred4x4_horizontal_down_mmxext
(
uint8_t
*
src
,
const
uint8_t
*
topright
,
int
stride
);
void
ff_pred4x4_horizontal_down_mmxext
(
uint8_t
*
src
,
const
uint8_t
*
topright
,
int
stride
);
void
ff_pred4x4_tm_vp8_mmx
(
uint8_t
*
src
,
const
uint8_t
*
topright
,
int
stride
);
void
ff_pred4x4_tm_vp8_mmx
(
uint8_t
*
src
,
const
uint8_t
*
topright
,
int
stride
);
void
ff_pred4x4_tm_vp8_mmx
ext
(
uint8_t
*
src
,
const
uint8_t
*
topright
,
int
stride
);
void
ff_pred4x4_tm_vp8_mmx
2
(
uint8_t
*
src
,
const
uint8_t
*
topright
,
int
stride
);
void
ff_pred4x4_tm_vp8_ssse3
(
uint8_t
*
src
,
const
uint8_t
*
topright
,
int
stride
);
void
ff_pred4x4_tm_vp8_ssse3
(
uint8_t
*
src
,
const
uint8_t
*
topright
,
int
stride
);
void
ff_pred4x4_vertical_vp8_mmxext
(
uint8_t
*
src
,
const
uint8_t
*
topright
,
int
stride
);
void
ff_pred4x4_vertical_vp8_mmxext
(
uint8_t
*
src
,
const
uint8_t
*
topright
,
int
stride
);
...
@@ -199,10 +199,10 @@ void ff_h264_pred_init_x86(H264PredContext *h, int codec_id, const int bit_depth
...
@@ -199,10 +199,10 @@ void ff_h264_pred_init_x86(H264PredContext *h, int codec_id, const int bit_depth
}
}
if
(
mm_flags
&
AV_CPU_FLAG_MMX2
)
{
if
(
mm_flags
&
AV_CPU_FLAG_MMX2
)
{
h
->
pred16x16
[
HOR_PRED8x8
]
=
ff_pred16x16_horizontal_mmx
ext
;
h
->
pred16x16
[
HOR_PRED8x8
]
=
ff_pred16x16_horizontal_mmx
2
;
h
->
pred16x16
[
DC_PRED8x8
]
=
ff_pred16x16_dc_mmx
ext
;
h
->
pred16x16
[
DC_PRED8x8
]
=
ff_pred16x16_dc_mmx
2
;
if
(
chroma_format_idc
==
1
)
if
(
chroma_format_idc
==
1
)
h
->
pred8x8
[
HOR_PRED8x8
]
=
ff_pred8x8_horizontal_mmx
ext
;
h
->
pred8x8
[
HOR_PRED8x8
]
=
ff_pred8x8_horizontal_mmx
2
;
h
->
pred8x8l
[
TOP_DC_PRED
]
=
ff_pred8x8l_top_dc_mmxext
;
h
->
pred8x8l
[
TOP_DC_PRED
]
=
ff_pred8x8l_top_dc_mmxext
;
h
->
pred8x8l
[
DC_PRED
]
=
ff_pred8x8l_dc_mmxext
;
h
->
pred8x8l
[
DC_PRED
]
=
ff_pred8x8l_dc_mmxext
;
h
->
pred8x8l
[
HOR_PRED
]
=
ff_pred8x8l_horizontal_mmxext
;
h
->
pred8x8l
[
HOR_PRED
]
=
ff_pred8x8l_horizontal_mmxext
;
...
@@ -232,10 +232,10 @@ void ff_h264_pred_init_x86(H264PredContext *h, int codec_id, const int bit_depth
...
@@ -232,10 +232,10 @@ void ff_h264_pred_init_x86(H264PredContext *h, int codec_id, const int bit_depth
}
}
}
}
if
(
codec_id
==
CODEC_ID_VP8
)
{
if
(
codec_id
==
CODEC_ID_VP8
)
{
h
->
pred16x16
[
PLANE_PRED8x8
]
=
ff_pred16x16_tm_vp8_mmx
ext
;
h
->
pred16x16
[
PLANE_PRED8x8
]
=
ff_pred16x16_tm_vp8_mmx
2
;
h
->
pred8x8
[
DC_PRED8x8
]
=
ff_pred8x8_dc_rv40_mmxext
;
h
->
pred8x8
[
DC_PRED8x8
]
=
ff_pred8x8_dc_rv40_mmxext
;
h
->
pred8x8
[
PLANE_PRED8x8
]
=
ff_pred8x8_tm_vp8_mmx
ext
;
h
->
pred8x8
[
PLANE_PRED8x8
]
=
ff_pred8x8_tm_vp8_mmx
2
;
h
->
pred4x4
[
TM_VP8_PRED
]
=
ff_pred4x4_tm_vp8_mmx
ext
;
h
->
pred4x4
[
TM_VP8_PRED
]
=
ff_pred4x4_tm_vp8_mmx
2
;
h
->
pred4x4
[
VERT_PRED
]
=
ff_pred4x4_vertical_vp8_mmxext
;
h
->
pred4x4
[
VERT_PRED
]
=
ff_pred4x4_vertical_vp8_mmxext
;
}
else
{
}
else
{
if
(
chroma_format_idc
==
1
)
if
(
chroma_format_idc
==
1
)
...
...
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