Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qgstvideobuffer.cpp File Reference

(b8d296c8df903bb09c8a546f160616431c0cbb62)

#include "qgstvideobuffer_p.h"
#include "qgstreamervideosink_p.h"
#include <private/qvideotexturehelper_p.h>
#include <qpa/qplatformnativeinterface.h>
#include <qguiapplication.h>
#include <gst/video/video.h>
#include <gst/video/video-frame.h>
#include <gst/video/gstvideometa.h>
#include <gst/pbutils/gstpluginsbaseversion.h>
#include <common/qgstutils_p.h>
+ Include dependency graph for qgstvideobuffer.cpp:

Go to the source code of this file.

Macros

#define fourcc_code(a, b, c, d)
 
#define DRM_FORMAT_RGBA8888   fourcc_code('R', 'A', '2', '4') /* [31:0] R:G:B:A 8:8:8:8 little endian */
 
#define DRM_FORMAT_RGB888   fourcc_code('R', 'G', '2', '4') /* [23:0] R:G:B little endian */
 
#define DRM_FORMAT_RG88   fourcc_code('R', 'G', '8', '8') /* [15:0] R:G 8:8 little endian */
 
#define DRM_FORMAT_ABGR8888   fourcc_code('A', 'B', '2', '4') /* [31:0] A:B:G:R 8:8:8:8 little endian */
 
#define DRM_FORMAT_BGR888   fourcc_code('B', 'G', '2', '4') /* [23:0] B:G:R little endian */
 
#define DRM_FORMAT_GR88   fourcc_code('G', 'R', '8', '8') /* [15:0] G:R 8:8 little endian */
 
#define DRM_FORMAT_R8   fourcc_code('R', '8', ' ', ' ') /* [7:0] R */
 
#define DRM_FORMAT_R16   fourcc_code('R', '1', '6', ' ') /* [15:0] R little endian */
 
#define DRM_FORMAT_RGB565   fourcc_code('R', 'G', '1', '6') /* [15:0] R:G:B 5:6:5 little endian */
 
#define DRM_FORMAT_RG1616   fourcc_code('R', 'G', '3', '2') /* [31:0] R:G 16:16 little endian */
 
#define DRM_FORMAT_GR1616   fourcc_code('G', 'R', '3', '2') /* [31:0] G:R 16:16 little endian */
 
#define DRM_FORMAT_BGRA1010102   fourcc_code('B', 'A', '3', '0') /* [31:0] B:G:R:A 10:10:10:2 little endian */
 

Macro Definition Documentation

◆ DRM_FORMAT_ABGR8888

#define DRM_FORMAT_ABGR8888   fourcc_code('A', 'B', '2', '4') /* [31:0] A:B:G:R 8:8:8:8 little endian */

Definition at line 44 of file qgstvideobuffer.cpp.

◆ DRM_FORMAT_BGR888

#define DRM_FORMAT_BGR888   fourcc_code('B', 'G', '2', '4') /* [23:0] B:G:R little endian */

Definition at line 45 of file qgstvideobuffer.cpp.

◆ DRM_FORMAT_BGRA1010102

#define DRM_FORMAT_BGRA1010102   fourcc_code('B', 'A', '3', '0') /* [31:0] B:G:R:A 10:10:10:2 little endian */

Definition at line 52 of file qgstvideobuffer.cpp.

◆ DRM_FORMAT_GR1616

#define DRM_FORMAT_GR1616   fourcc_code('G', 'R', '3', '2') /* [31:0] G:R 16:16 little endian */

Definition at line 51 of file qgstvideobuffer.cpp.

◆ DRM_FORMAT_GR88

#define DRM_FORMAT_GR88   fourcc_code('G', 'R', '8', '8') /* [15:0] G:R 8:8 little endian */

Definition at line 46 of file qgstvideobuffer.cpp.

◆ DRM_FORMAT_R16

#define DRM_FORMAT_R16   fourcc_code('R', '1', '6', ' ') /* [15:0] R little endian */

Definition at line 48 of file qgstvideobuffer.cpp.

◆ DRM_FORMAT_R8

#define DRM_FORMAT_R8   fourcc_code('R', '8', ' ', ' ') /* [7:0] R */

Definition at line 47 of file qgstvideobuffer.cpp.

◆ DRM_FORMAT_RG1616

#define DRM_FORMAT_RG1616   fourcc_code('R', 'G', '3', '2') /* [31:0] R:G 16:16 little endian */

Definition at line 50 of file qgstvideobuffer.cpp.

◆ DRM_FORMAT_RG88

#define DRM_FORMAT_RG88   fourcc_code('R', 'G', '8', '8') /* [15:0] R:G 8:8 little endian */

Definition at line 43 of file qgstvideobuffer.cpp.

◆ DRM_FORMAT_RGB565

#define DRM_FORMAT_RGB565   fourcc_code('R', 'G', '1', '6') /* [15:0] R:G:B 5:6:5 little endian */

Definition at line 49 of file qgstvideobuffer.cpp.

◆ DRM_FORMAT_RGB888

#define DRM_FORMAT_RGB888   fourcc_code('R', 'G', '2', '4') /* [23:0] R:G:B little endian */

Definition at line 42 of file qgstvideobuffer.cpp.

◆ DRM_FORMAT_RGBA8888

#define DRM_FORMAT_RGBA8888   fourcc_code('R', 'A', '2', '4') /* [31:0] R:G:B:A 8:8:8:8 little endian */

Definition at line 41 of file qgstvideobuffer.cpp.

◆ fourcc_code

#define fourcc_code ( a,
b,
c,
d )
Value:
((uint32_t)(a) | ((uint32_t)(b) << 8) | \
((uint32_t)(c) << 16) | ((uint32_t)(d) << 24))
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]
const GLubyte * c

Definition at line 38 of file qgstvideobuffer.cpp.