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
3950376b
Commit
3950376b
authored
Jul 06, 2011
by
ami_stuff
Committed by
Carl Eugen Hoyos
Jul 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support fourcc YV24.
Fixes ticket #306.
parent
923cff74
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
raw.c
libavcodec/raw.c
+1
-0
rawdec.c
libavcodec/rawdec.c
+1
-0
riff.c
libavformat/riff.c
+1
-0
No files found.
libavcodec/raw.c
View file @
3950376b
...
...
@@ -137,6 +137,7 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
/* special */
{
PIX_FMT_RGB565LE
,
MKTAG
(
3
,
0
,
0
,
0
)
},
/* flipped RGB565LE */
{
PIX_FMT_YUV444P
,
MKTAG
(
'Y'
,
'V'
,
'2'
,
'4'
)
},
/* YUV444P, swapped UV */
{
PIX_FMT_NONE
,
0
},
};
...
...
libavcodec/rawdec.c
View file @
3950376b
...
...
@@ -208,6 +208,7 @@ static int raw_decode(AVCodecContext *avctx,
if
(
avctx
->
codec_tag
==
MKTAG
(
'Y'
,
'V'
,
'1'
,
'2'
)
||
avctx
->
codec_tag
==
MKTAG
(
'Y'
,
'V'
,
'1'
,
'6'
)
||
avctx
->
codec_tag
==
MKTAG
(
'Y'
,
'V'
,
'2'
,
'4'
)
||
avctx
->
codec_tag
==
MKTAG
(
'Y'
,
'V'
,
'U'
,
'9'
))
FFSWAP
(
uint8_t
*
,
picture
->
data
[
1
],
picture
->
data
[
2
]);
...
...
libavformat/riff.c
View file @
3950376b
...
...
@@ -173,6 +173,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'P'
,
'4'
,
'2'
,
'2'
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'Y'
,
'V'
,
'1'
,
'2'
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'Y'
,
'V'
,
'1'
,
'6'
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'Y'
,
'V'
,
'2'
,
'4'
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'U'
,
'Y'
,
'V'
,
'Y'
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'V'
,
'Y'
,
'U'
,
'Y'
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'I'
,
'Y'
,
'U'
,
'V'
)
},
...
...
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