Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
3aa682f2
Commit
3aa682f2
authored
Aug 20, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: consistent names for arch-specific acceleration functions
parent
c2503d9c
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
10 deletions
+9
-10
swscale_bfin.c
libswscale/bfin/swscale_bfin.c
+1
-1
yuv2rgb_bfin.c
libswscale/bfin/yuv2rgb_bfin.c
+1
-1
yuv2yuv_altivec.c
libswscale/ppc/yuv2yuv_altivec.c
+1
-1
swscale_internal.h
libswscale/swscale_internal.h
+3
-4
swscale_unscaled.c
libswscale/swscale_unscaled.c
+2
-2
yuv2rgb.c
libswscale/yuv2rgb.c
+1
-1
No files found.
libswscale/bfin/swscale_bfin.c
View file @
3aa682f2
...
...
@@ -71,7 +71,7 @@ static int yuyvtoyv12_unscaled(SwsContext *c, const uint8_t *src[],
return
srcSliceH
;
}
void
ff_
bfin_get_unscaled_swscale
(
SwsContext
*
c
)
void
ff_
get_unscaled_swscale_bfin
(
SwsContext
*
c
)
{
if
(
c
->
dstFormat
==
AV_PIX_FMT_YUV420P
&&
c
->
srcFormat
==
AV_PIX_FMT_UYVY422
)
{
av_log
(
NULL
,
AV_LOG_VERBOSE
,
...
...
libswscale/bfin/yuv2rgb_bfin.c
View file @
3aa682f2
...
...
@@ -167,7 +167,7 @@ static int bfin_yuv420_bgr565(SwsContext *c, const uint8_t **in, int *instrides,
outstrides
,
ff_bfin_yuv2rgb565_line
,
0
,
565
);
}
SwsFunc
ff_yuv2rgb_
get_func_ptr
_bfin
(
SwsContext
*
c
)
SwsFunc
ff_yuv2rgb_
init
_bfin
(
SwsContext
*
c
)
{
SwsFunc
f
;
...
...
libswscale/ppc/yuv2yuv_altivec.c
View file @
3aa682f2
...
...
@@ -183,7 +183,7 @@ static int yv12touyvy_unscaled_altivec(SwsContext *c, const uint8_t *src[],
#endif
/* HAVE_ALTIVEC */
void
ff_
swscale_get_unscaled
_ppc
(
SwsContext
*
c
)
void
ff_
get_unscaled_swscale
_ppc
(
SwsContext
*
c
)
{
#if HAVE_ALTIVEC
if
((
av_get_cpu_flags
()
&
AV_CPU_FLAG_ALTIVEC
)
&&
!
(
c
->
srcW
&
15
)
&&
...
...
libswscale/swscale_internal.h
View file @
3aa682f2
...
...
@@ -573,8 +573,7 @@ void updateMMXDitherTables(SwsContext *c, int dstY, int lumBufIndex, int chrBufI
SwsFunc
ff_yuv2rgb_init_x86
(
SwsContext
*
c
);
SwsFunc
ff_yuv2rgb_init_vis
(
SwsContext
*
c
);
SwsFunc
ff_yuv2rgb_init_ppc
(
SwsContext
*
c
);
SwsFunc
ff_yuv2rgb_get_func_ptr_bfin
(
SwsContext
*
c
);
void
ff_bfin_get_unscaled_swscale
(
SwsContext
*
c
);
SwsFunc
ff_yuv2rgb_init_bfin
(
SwsContext
*
c
);
const
char
*
sws_format_name
(
enum
AVPixelFormat
format
);
...
...
@@ -735,8 +734,8 @@ extern const AVClass sws_context_class;
* source and destination formats, bit depths, flags, etc.
*/
void
ff_get_unscaled_swscale
(
SwsContext
*
c
);
void
ff_
swscale_get_unscaled
_ppc
(
SwsContext
*
c
);
void
ff_get_unscaled_swscale_bfin
(
SwsContext
*
c
);
void
ff_
get_unscaled_swscale
_ppc
(
SwsContext
*
c
);
/**
* Return function pointer to fastest main scaler path function depending
...
...
libswscale/swscale_unscaled.c
View file @
3aa682f2
...
...
@@ -1090,9 +1090,9 @@ void ff_get_unscaled_swscale(SwsContext *c)
}
if
(
ARCH_BFIN
)
ff_
bfin_get_unscaled_swscale
(
c
);
ff_
get_unscaled_swscale_bfin
(
c
);
if
(
ARCH_PPC
)
ff_
swscale_get_unscaled
_ppc
(
c
);
ff_
get_unscaled_swscale
_ppc
(
c
);
}
static
void
reset_ptr
(
const
uint8_t
*
src
[],
int
format
)
...
...
libswscale/yuv2rgb.c
View file @
3aa682f2
...
...
@@ -565,7 +565,7 @@ SwsFunc ff_yuv2rgb_get_func_ptr(SwsContext *c)
else
if
(
HAVE_VIS
)
t
=
ff_yuv2rgb_init_vis
(
c
);
else
if
(
ARCH_BFIN
)
t
=
ff_yuv2rgb_
get_func_ptr
_bfin
(
c
);
t
=
ff_yuv2rgb_
init
_bfin
(
c
);
else
if
(
ARCH_PPC
)
t
=
ff_yuv2rgb_init_ppc
(
c
);
...
...
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