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
b2327a82
Commit
b2327a82
authored
Feb 01, 2012
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some missing v4l2 pix_fmt mappings.
parent
46320667
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
v4l2.c
libavdevice/v4l2.c
+3
-0
No files found.
libavdevice/v4l2.c
View file @
b2327a82
...
...
@@ -114,10 +114,13 @@ static struct fmt_map fmt_conversion_table[] = {
{
PIX_FMT_YUV411P
,
CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_YUV411P
},
{
PIX_FMT_YUV410P
,
CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_YUV410
},
{
PIX_FMT_RGB555LE
,
CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_RGB555
},
{
PIX_FMT_RGB555BE
,
CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_RGB555X
},
{
PIX_FMT_RGB565LE
,
CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_RGB565
},
{
PIX_FMT_RGB565BE
,
CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_RGB565X
},
{
PIX_FMT_BGR24
,
CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_BGR24
},
{
PIX_FMT_RGB24
,
CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_RGB24
},
{
PIX_FMT_BGR0
,
CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_BGR32
},
{
PIX_FMT_0RGB
,
CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_RGB32
},
{
PIX_FMT_GRAY8
,
CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_GREY
},
{
PIX_FMT_NV12
,
CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_NV12
},
{
PIX_FMT_NONE
,
CODEC_ID_MJPEG
,
V4L2_PIX_FMT_MJPEG
},
...
...
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