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
9b0510a8
Commit
9b0510a8
authored
Oct 28, 2017
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lsws/yuv2rgb: Fix yuva2rgb32 on big endian hardware.
parent
c8e80925
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
version.h
libswscale/version.h
+1
-1
yuv2rgb.c
libswscale/yuv2rgb.c
+8
-0
No files found.
libswscale/version.h
View file @
9b0510a8
...
...
@@ -28,7 +28,7 @@
#define LIBSWSCALE_VERSION_MAJOR 5
#define LIBSWSCALE_VERSION_MINOR 0
#define LIBSWSCALE_VERSION_MICRO 10
0
#define LIBSWSCALE_VERSION_MICRO 10
1
#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
LIBSWSCALE_VERSION_MINOR, \
...
...
libswscale/yuv2rgb.c
View file @
9b0510a8
...
...
@@ -267,7 +267,11 @@ ENDYUV2RGBLINE(8, 1)
PUTRGB
(
dst_2
,
py_2
,
0
);
ENDYUV2RGBFUNC
()
#if HAVE_BIGENDIAN
YUV2RGBFUNC
(
yuva2argb_c
,
uint32_t
,
1
)
#else
YUV2RGBFUNC
(
yuva2rgba_c
,
uint32_t
,
1
)
#endif
LOADCHROMA
(
0
);
PUTRGBA
(
dst_1
,
py_1
,
pa_1
,
0
,
24
);
PUTRGBA
(
dst_2
,
py_2
,
pa_2
,
0
,
24
);
...
...
@@ -301,7 +305,11 @@ ENDYUV2RGBLINE(8, 1)
PUTRGBA
(
dst_2
,
py_2
,
pa_2
,
0
,
24
);
ENDYUV2RGBFUNC
()
#if HAVE_BIGENDIAN
YUV2RGBFUNC
(
yuva2rgba_c
,
uint32_t
,
1
)
#else
YUV2RGBFUNC
(
yuva2argb_c
,
uint32_t
,
1
)
#endif
LOADCHROMA
(
0
);
PUTRGBA
(
dst_1
,
py_1
,
pa_1
,
0
,
0
);
PUTRGBA
(
dst_2
,
py_2
,
pa_2
,
0
,
0
);
...
...
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