Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Valentin Platzgummer
qgroundcontrol
Commits
b44e9355
Commit
b44e9355
authored
Jul 09, 2019
by
Tomaz Canabrava
Committed by
Daniel Agar
Jul 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup glPainter
parent
3807cb6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
openglsurfacepainter.cpp
...treaming/gstqtvideosink/painters/openglsurfacepainter.cpp
+13
-13
No files found.
src/VideoStreaming/gstqtvideosink/painters/openglsurfacepainter.cpp
View file @
b44e9355
...
...
@@ -67,26 +67,26 @@ OpenGLSurfacePainter::OpenGLSurfacePainter()
//static
QSet
<
GstVideoFormat
>
OpenGLSurfacePainter
::
supportedPixelFormats
()
{
return
QSet
<
GstVideoFormat
>
(
)
return
QSet
<
GstVideoFormat
>
(
{
//also handled by the generic painter on LE
<<
GST_VIDEO_FORMAT_BGRA
<<
GST_VIDEO_FORMAT_BGRx
GST_VIDEO_FORMAT_BGRA
,
GST_VIDEO_FORMAT_BGRx
,
//also handled by the generic painter on BE
<<
GST_VIDEO_FORMAT_ARGB
<<
GST_VIDEO_FORMAT_xRGB
GST_VIDEO_FORMAT_ARGB
,
GST_VIDEO_FORMAT_xRGB
,
//also handled by the generic painter everywhere
<<
GST_VIDEO_FORMAT_RGB
<<
GST_VIDEO_FORMAT_RGB16
GST_VIDEO_FORMAT_RGB
,
GST_VIDEO_FORMAT_RGB16
,
//not handled by the generic painter
<<
GST_VIDEO_FORMAT_BGR
<<
GST_VIDEO_FORMAT_v308
<<
GST_VIDEO_FORMAT_AYUV
<<
GST_VIDEO_FORMAT_YV12
<<
GST_VIDEO_FORMAT_I420
;
GST_VIDEO_FORMAT_BGR
,
GST_VIDEO_FORMAT_v308
,
GST_VIDEO_FORMAT_AYUV
,
GST_VIDEO_FORMAT_YV12
,
GST_VIDEO_FORMAT_I420
,
})
;
}
void
OpenGLSurfacePainter
::
updateColors
(
int
brightness
,
int
contrast
,
int
hue
,
int
saturation
)
...
...
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