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
9eb3f11c
Commit
9eb3f11c
authored
Mar 16, 2014
by
Matt Oliver
Committed by
Michael Niedermayer
Mar 16, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing external declarations.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
590805b7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
constants.h
libavcodec/x86/constants.h
+2
-0
rgb2rgb.c
libswscale/x86/rgb2rgb.c
+4
-0
No files found.
libavcodec/x86/constants.h
View file @
9eb3f11c
...
...
@@ -31,6 +31,7 @@ extern const xmm_reg ff_pw_3;
extern
const
xmm_reg
ff_pw_4
;
extern
const
xmm_reg
ff_pw_5
;
extern
const
xmm_reg
ff_pw_8
;
extern
const
xmm_reg
ff_pw_9
;
extern
const
uint64_t
ff_pw_15
;
extern
const
xmm_reg
ff_pw_16
;
extern
const
xmm_reg
ff_pw_18
;
...
...
@@ -45,6 +46,7 @@ extern const uint64_t ff_pw_255;
extern
const
xmm_reg
ff_pb_1
;
extern
const
xmm_reg
ff_pb_3
;
extern
const
xmm_reg
ff_pb_80
;
extern
const
xmm_reg
ff_pb_F8
;
extern
const
uint64_t
ff_pb_FC
;
...
...
libswscale/x86/rgb2rgb.c
View file @
9eb3f11c
...
...
@@ -76,6 +76,10 @@ DECLARE_ASM_CONST(8, uint64_t, mul15_mid) = 0x4200420042004200ULL;
DECLARE_ASM_CONST
(
8
,
uint64_t
,
mul15_hi
)
=
0x0210021002100210ULL
;
DECLARE_ASM_CONST
(
8
,
uint64_t
,
mul16_mid
)
=
0x2080208020802080ULL
;
DECLARE_ALIGNED
(
8
,
extern
const
uint64_t
,
ff_bgr2YOffset
);
DECLARE_ALIGNED
(
8
,
extern
const
uint64_t
,
ff_w1111
);
DECLARE_ALIGNED
(
8
,
extern
const
uint64_t
,
ff_bgr2UVOffset
);
#define BY ((int)( 0.098*(1<<RGB2YUV_SHIFT)+0.5))
#define BV ((int)(-0.071*(1<<RGB2YUV_SHIFT)+0.5))
#define BU ((int)( 0.439*(1<<RGB2YUV_SHIFT)+0.5))
...
...
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