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
23a90768
Commit
23a90768
authored
Feb 27, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/v210dec: Add ff prefix to v210_x86_init()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b37c3396
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
v210dec.c
libavcodec/v210dec.c
+2
-2
v210dec.h
libavcodec/v210dec.h
+1
-1
v210-init.c
libavcodec/x86/v210-init.c
+1
-1
No files found.
libavcodec/v210dec.c
View file @
23a90768
...
...
@@ -63,7 +63,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
s
->
unpack_frame
=
v210_planar_unpack_c
;
if
(
HAVE_MMX
)
v210_x86_init
(
s
);
ff_
v210_x86_init
(
s
);
return
0
;
}
...
...
@@ -101,7 +101,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
if
(
aligned_input
!=
s
->
aligned_input
)
{
s
->
aligned_input
=
aligned_input
;
if
(
HAVE_MMX
)
v210_x86_init
(
s
);
ff_
v210_x86_init
(
s
);
}
if
((
ret
=
ff_get_buffer
(
avctx
,
pic
,
0
))
<
0
)
...
...
libavcodec/v210dec.h
View file @
23a90768
...
...
@@ -31,6 +31,6 @@ typedef struct {
void
(
*
unpack_frame
)(
const
uint32_t
*
src
,
uint16_t
*
y
,
uint16_t
*
u
,
uint16_t
*
v
,
int
width
);
}
V210DecContext
;
void
v210_x86_init
(
V210DecContext
*
s
);
void
ff_
v210_x86_init
(
V210DecContext
*
s
);
#endif
/* AVCODEC_V210DEC_H */
libavcodec/x86/v210-init.c
View file @
23a90768
...
...
@@ -25,7 +25,7 @@ extern void ff_v210_planar_unpack_unaligned_avx(const uint32_t *src, uint16_t *y
extern
void
ff_v210_planar_unpack_aligned_ssse3
(
const
uint32_t
*
src
,
uint16_t
*
y
,
uint16_t
*
u
,
uint16_t
*
v
,
int
width
);
extern
void
ff_v210_planar_unpack_aligned_avx
(
const
uint32_t
*
src
,
uint16_t
*
y
,
uint16_t
*
u
,
uint16_t
*
v
,
int
width
);
av_cold
void
v210_x86_init
(
V210DecContext
*
s
)
av_cold
void
ff_
v210_x86_init
(
V210DecContext
*
s
)
{
int
cpu_flags
=
av_get_cpu_flags
();
...
...
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