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
085fe982
Commit
085fe982
authored
May 25, 2018
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/hevc_ps: Use correct pix_fmt AV_PIX_FMT_GRAY9 for 9-bit 4:0:0 input.
parent
7b51b802
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
hevc_ps.c
libavcodec/hevc_ps.c
+1
-1
version.h
libavcodec/version.h
+1
-1
No files found.
libavcodec/hevc_ps.c
View file @
085fe982
...
...
@@ -825,7 +825,7 @@ static int map_pixel_format(AVCodecContext *avctx, HEVCSPS *sps)
if
(
sps
->
chroma_format_idc
==
3
)
sps
->
pix_fmt
=
AV_PIX_FMT_YUV444P
;
break
;
case
9
:
if
(
sps
->
chroma_format_idc
==
0
)
sps
->
pix_fmt
=
AV_PIX_FMT_GRAY
16
;
if
(
sps
->
chroma_format_idc
==
0
)
sps
->
pix_fmt
=
AV_PIX_FMT_GRAY
9
;
if
(
sps
->
chroma_format_idc
==
1
)
sps
->
pix_fmt
=
AV_PIX_FMT_YUV420P9
;
if
(
sps
->
chroma_format_idc
==
2
)
sps
->
pix_fmt
=
AV_PIX_FMT_YUV422P9
;
if
(
sps
->
chroma_format_idc
==
3
)
sps
->
pix_fmt
=
AV_PIX_FMT_YUV444P9
;
...
...
libavcodec/version.h
View file @
085fe982
...
...
@@ -29,7 +29,7 @@
#define LIBAVCODEC_VERSION_MAJOR 58
#define LIBAVCODEC_VERSION_MINOR 19
#define LIBAVCODEC_VERSION_MICRO 10
3
#define LIBAVCODEC_VERSION_MICRO 10
4
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
...
...
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