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
4e0799a4
Commit
4e0799a4
authored
Aug 20, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: Add some missing av_cold to arch-specific init functions
parent
3aa682f2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
swscale_bfin.c
libswscale/bfin/swscale_bfin.c
+2
-1
yuv2rgb_bfin.c
libswscale/bfin/yuv2rgb_bfin.c
+2
-1
yuv2yuv_altivec.c
libswscale/ppc/yuv2yuv_altivec.c
+3
-2
No files found.
libswscale/bfin/swscale_bfin.c
View file @
4e0799a4
...
...
@@ -23,6 +23,7 @@
#include <stdint.h>
#include "config.h"
#include "libavutil/attributes.h"
#include "libswscale/swscale_internal.h"
#if defined (__FDPIC__) && CONFIG_SRAM
...
...
@@ -71,7 +72,7 @@ static int yuyvtoyv12_unscaled(SwsContext *c, const uint8_t *src[],
return
srcSliceH
;
}
void
ff_get_unscaled_swscale_bfin
(
SwsContext
*
c
)
av_cold
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 @
4e0799a4
...
...
@@ -24,6 +24,7 @@
#include <stdint.h>
#include "config.h"
#include "libavutil/attributes.h"
#include "libswscale/swscale_internal.h"
#if defined(__FDPIC__) && CONFIG_SRAM
...
...
@@ -167,7 +168,7 @@ static int bfin_yuv420_bgr565(SwsContext *c, const uint8_t **in, int *instrides,
outstrides
,
ff_bfin_yuv2rgb565_line
,
0
,
565
);
}
SwsFunc
ff_yuv2rgb_init_bfin
(
SwsContext
*
c
)
av_cold
SwsFunc
ff_yuv2rgb_init_bfin
(
SwsContext
*
c
)
{
SwsFunc
f
;
...
...
libswscale/ppc/yuv2yuv_altivec.c
View file @
4e0799a4
...
...
@@ -24,9 +24,10 @@
#include <inttypes.h>
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h"
#include "libavutil/cpu.h"
#if HAVE_ALTIVEC
...
...
@@ -183,7 +184,7 @@ static int yv12touyvy_unscaled_altivec(SwsContext *c, const uint8_t *src[],
#endif
/* HAVE_ALTIVEC */
void
ff_get_unscaled_swscale_ppc
(
SwsContext
*
c
)
av_cold
void
ff_get_unscaled_swscale_ppc
(
SwsContext
*
c
)
{
#if HAVE_ALTIVEC
if
((
av_get_cpu_flags
()
&
AV_CPU_FLAG_ALTIVEC
)
&&
!
(
c
->
srcW
&
15
)
&&
...
...
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