path: root/utils/qvidcap/capture-win-gl.cpp
AgeCommit message (Collapse)AuthorFilesLines
2018-11-20qvidcap: split up capture-win-gl.cpp into capture.cpp and paint.cppHans Verkuil1-2676/+0
The capture-win-gl.cpp was too large, so it is now split in one part (capture.cpp) that deals with streaming and one (paint.cpp) that deals with the openGL shader and render code. It has also been renamed since the -win-gl bit was really a leftover from qv4l2 and made no sense for the openGL-only qvidcap. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2018-10-08qvidcap: Add 16-bit bayer renderingBård Eirik Winther1-0/+28
Add OpenGL support to render all v4l2 16-bit bayer formats Signed-off-by: Bård Eirik Winther <bwinther@cisco.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2018-10-07qvidcap: add parent when creating QAction objects.Hans Verkuil1-3/+3
The QAction constructor has a parent pointer which is optional in Qt >= 5.7. In order to compile under older Qt versions set the parent explicitly. Based on a patch from Gregor Jasny <gjasny@googlemail.com>. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Suggested-by: Gregor Jasny <gjasny@googlemail.com>
2018-09-24v4l-utils: replace all AdobeRGB/YCC references by opRGB/YCC references.Hans Verkuil1-5/+5
In November last year all references to the AdobeRGB colorspace were removed from the CTA-861 standards (all versions) and replaced with the corresponding international opRGB standard (IEC 61966-2-5) due to trademark issues. Do the same in v4l-utils. If nothing else, this keeps the utilities in sync with the standard. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-09-18qvidcap: allocate worst case memory if canOverrideResolution is setHans Verkuil1-1/+5
If the AppMode is one where the user can override the resolution and pixelformat, then the allocated buffers must be sized for worst-case, otherwise you can get segfaults. Also (oops!) delete the old buffer, which wasn't done. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-08-31qvidcap: support the new FWHT codec.Hans Verkuil1-13/+33
It can now decode streams using the new FWHT codec. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-08-31v4l2-ctl/qvidcap: add initial fwht supportHans Verkuil1-1/+1
This hooks in all the required sources, but it is not used yet. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-08-30qvidcap: always allow overriding fieldHans Verkuil1-3/+1
Changing the field setting doesn't change the resolution or buffer size, so this is safe to do even if m_canOverrideResolution is false. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-08-27qvidcap: fix 32-bit compiler warningHans Verkuil1-2/+3
capture-win-gl.cpp: In member function ‘void CaptureGLWin::checkError(const char*)’: capture-win-gl.cpp:690:79: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t {aka unsigned int}’ [-Wformat=] fprintf(stderr, "OpenGL Error (no: %lu) code 0x%x: %s.\n", errNo++, err, msg); ^ Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-08-17qvidcap: show keys you can use in the menu item descriptionsHans Verkuil1-9/+9
Easier to know they exist when you see them in the GUI. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-08-17qvidcap: support -P for video devicesHans Verkuil1-2/+2
Use -P to select a specific pixel format. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-08-17qvidcap: improve 'Unsupported format' messagesHans Verkuil1-2/+6
Show what the unsupport format is. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-08-17qvidcap: add Qt video viewerHans Verkuil1-0/+2621
An Qt OpenGL/OpenGL ES video viewer that can read from video nodes, raw files, stream from the network and generate video using the test pattern generator. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Co-Developed-by: Bård Eirik Winther <bwinther@cisco.com> Signed-off-by: Bård Eirik Winther <bwinther@cisco.com>

Privacy Policy