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
5c2c6bbf
Commit
5c2c6bbf
authored
Feb 09, 2012
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow encoding rawvideo RGB0 and friends.
parent
dd7198b2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
raw.c
libavcodec/raw.c
+4
-0
nut.c
libavformat/nut.c
+4
-0
No files found.
libavcodec/raw.c
View file @
5c2c6bbf
...
...
@@ -83,9 +83,13 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
{
PIX_FMT_RGB444BE
,
MKTAG
(
12
,
'B'
,
'G'
,
'R'
)
},
{
PIX_FMT_BGR444BE
,
MKTAG
(
12
,
'R'
,
'G'
,
'B'
)
},
{
PIX_FMT_RGBA
,
MKTAG
(
'R'
,
'G'
,
'B'
,
'A'
)
},
{
PIX_FMT_RGB0
,
MKTAG
(
'R'
,
'G'
,
'B'
,
0
)
},
{
PIX_FMT_BGRA
,
MKTAG
(
'B'
,
'G'
,
'R'
,
'A'
)
},
{
PIX_FMT_BGR0
,
MKTAG
(
'B'
,
'G'
,
'R'
,
0
)
},
{
PIX_FMT_ABGR
,
MKTAG
(
'A'
,
'B'
,
'G'
,
'R'
)
},
{
PIX_FMT_0BGR
,
MKTAG
(
0
,
'B'
,
'G'
,
'R'
)
},
{
PIX_FMT_ARGB
,
MKTAG
(
'A'
,
'R'
,
'G'
,
'B'
)
},
{
PIX_FMT_0RGB
,
MKTAG
(
0
,
'R'
,
'G'
,
'B'
)
},
{
PIX_FMT_RGB24
,
MKTAG
(
'R'
,
'G'
,
'B'
,
24
)
},
{
PIX_FMT_BGR24
,
MKTAG
(
'B'
,
'G'
,
'R'
,
24
)
},
{
PIX_FMT_YUV411P
,
MKTAG
(
'4'
,
'1'
,
'1'
,
'P'
)
},
...
...
libavformat/nut.c
View file @
5c2c6bbf
...
...
@@ -46,9 +46,13 @@ const AVCodecTag ff_nut_video_tags[] = {
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
12
,
'B'
,
'G'
,
'R'
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
12
,
'R'
,
'G'
,
'B'
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'R'
,
'G'
,
'B'
,
'A'
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'R'
,
'G'
,
'B'
,
0
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'B'
,
'G'
,
'R'
,
'A'
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'B'
,
'G'
,
'R'
,
0
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'A'
,
'B'
,
'G'
,
'R'
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
0
,
'B'
,
'G'
,
'R'
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'A'
,
'R'
,
'G'
,
'B'
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
0
,
'R'
,
'G'
,
'B'
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'R'
,
'G'
,
'B'
,
24
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'B'
,
'G'
,
'R'
,
24
)
},
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'4'
,
'1'
,
'1'
,
'P'
)
},
...
...
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