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
5642dd41
Commit
5642dd41
authored
Feb 23, 2014
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more Bayer colour spaces to the video4linux2 device wrapper.
parent
dd5abb0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
v4l2-common.c
libavdevice/v4l2-common.c
+5
-0
No files found.
libavdevice/v4l2-common.c
View file @
5642dd41
...
@@ -49,7 +49,12 @@ const struct fmt_map avpriv_fmt_conversion_table[] = {
...
@@ -49,7 +49,12 @@ const struct fmt_map avpriv_fmt_conversion_table[] = {
#ifdef V4L2_PIX_FMT_CPIA1
#ifdef V4L2_PIX_FMT_CPIA1
{
AV_PIX_FMT_NONE
,
AV_CODEC_ID_CPIA
,
V4L2_PIX_FMT_CPIA1
},
{
AV_PIX_FMT_NONE
,
AV_CODEC_ID_CPIA
,
V4L2_PIX_FMT_CPIA1
},
#endif
#endif
#ifdef V4L2_PIX_FMT_SRGGB8
{
AV_PIX_FMT_BAYER_BGGR8
,
AV_CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_SBGGR8
},
{
AV_PIX_FMT_BAYER_GBRG8
,
AV_CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_SGBRG8
},
{
AV_PIX_FMT_BAYER_GRBG8
,
AV_CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_SGRBG8
},
{
AV_PIX_FMT_BAYER_RGGB8
,
AV_CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_SRGGB8
},
{
AV_PIX_FMT_BAYER_RGGB8
,
AV_CODEC_ID_RAWVIDEO
,
V4L2_PIX_FMT_SRGGB8
},
#endif
{
AV_PIX_FMT_NONE
,
AV_CODEC_ID_NONE
,
0
},
{
AV_PIX_FMT_NONE
,
AV_CODEC_ID_NONE
,
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