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
2601eef8
Commit
2601eef8
authored
Jul 11, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/magicyuv: add support for recently added YUV444P10
parent
af9dc02e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
magicyuv.c
libavcodec/magicyuv.c
+7
-0
isom.c
libavformat/isom.c
+1
-0
riff.c
libavformat/riff.c
+1
-0
No files found.
libavcodec/magicyuv.c
View file @
2601eef8
...
...
@@ -592,6 +592,13 @@ static int magy_decode_frame(AVCodecContext *avctx, void *data,
s
->
magy_decode_slice
=
magy_decode_slice10
;
s
->
bps
=
10
;
break
;
case
0x76
:
avctx
->
pix_fmt
=
AV_PIX_FMT_YUV444P10
;
s
->
max
=
1024
;
s
->
huff_build
=
huff_build10
;
s
->
magy_decode_slice
=
magy_decode_slice10
;
s
->
bps
=
10
;
break
;
case
0x6d
:
avctx
->
pix_fmt
=
AV_PIX_FMT_GBRP10
;
s
->
decorrelate
=
1
;
...
...
libavformat/isom.c
View file @
2601eef8
...
...
@@ -290,6 +290,7 @@ const AVCodecTag ff_codec_movvideo_tags[] = {
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'0'
,
'R'
,
'A'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'0'
,
'R'
,
'G'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'0'
,
'Y'
,
'2'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'0'
,
'Y'
,
'4'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'8'
,
'R'
,
'G'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'8'
,
'R'
,
'A'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'8'
,
'G'
,
'0'
)
},
...
...
libavformat/riff.c
View file @
2601eef8
...
...
@@ -454,6 +454,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'0'
,
'R'
,
'G'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'0'
,
'G'
,
'0'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'0'
,
'Y'
,
'2'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'0'
,
'Y'
,
'4'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'2'
,
'R'
,
'A'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'2'
,
'R'
,
'G'
)
},
{
AV_CODEC_ID_YLC
,
MKTAG
(
'Y'
,
'L'
,
'C'
,
'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