Home
last modified time | relevance | path

Searched refs:METADATA_SCALE (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp35 #define METADATA_SCALE(x) (static_cast<EGLint>(x * EGL_METADATA_SCALING_EXT)) macro
273 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT, METADATA_SCALE(0.640)); in setSurfaceMetadata()
274 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_DISPLAY_PRIMARY_RY_EXT, METADATA_SCALE(0.330)); in setSurfaceMetadata()
275 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_DISPLAY_PRIMARY_GX_EXT, METADATA_SCALE(0.290)); in setSurfaceMetadata()
276 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_DISPLAY_PRIMARY_GY_EXT, METADATA_SCALE(0.600)); in setSurfaceMetadata()
277 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_DISPLAY_PRIMARY_BX_EXT, METADATA_SCALE(0.150)); in setSurfaceMetadata()
278 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_DISPLAY_PRIMARY_BY_EXT, METADATA_SCALE(0.060)); in setSurfaceMetadata()
279 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_WHITE_POINT_X_EXT, METADATA_SCALE(0.3127)); in setSurfaceMetadata()
280 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_WHITE_POINT_Y_EXT, METADATA_SCALE(0.3290)); in setSurfaceMetadata()
282 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_MAX_LUMINANCE_EXT, METADATA_SCALE(350)); in setSurfaceMetadata()
[all …]
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp18 #define METADATA_SCALE(x) (static_cast<EGLint>(x * EGL_METADATA_SCALING_EXT)) macro
338 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT, METADATA_SCALE(0.640)); in setSurfaceMetadata()
339 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_DISPLAY_PRIMARY_RY_EXT, METADATA_SCALE(0.330)); in setSurfaceMetadata()
340 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_DISPLAY_PRIMARY_GX_EXT, METADATA_SCALE(0.290)); in setSurfaceMetadata()
341 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_DISPLAY_PRIMARY_GY_EXT, METADATA_SCALE(0.600)); in setSurfaceMetadata()
342 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_DISPLAY_PRIMARY_BX_EXT, METADATA_SCALE(0.150)); in setSurfaceMetadata()
343 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_DISPLAY_PRIMARY_BY_EXT, METADATA_SCALE(0.060)); in setSurfaceMetadata()
344 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_WHITE_POINT_X_EXT, METADATA_SCALE(0.3127)); in setSurfaceMetadata()
345 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_WHITE_POINT_Y_EXT, METADATA_SCALE(0.3290)); in setSurfaceMetadata()
347 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_MAX_LUMINANCE_EXT, METADATA_SCALE(350)); in setSurfaceMetadata()
[all …]
/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp53 #define METADATA_SCALE(x) (static_cast<EGLint>(x * EGL_METADATA_SCALING_EXT)) macro
482 METADATA_SCALE(0.640)); in setSurfaceSmpteMetadata()
484 METADATA_SCALE(0.330)); in setSurfaceSmpteMetadata()
486 METADATA_SCALE(0.290)); in setSurfaceSmpteMetadata()
488 METADATA_SCALE(0.600)); in setSurfaceSmpteMetadata()
490 METADATA_SCALE(0.150)); in setSurfaceSmpteMetadata()
492 METADATA_SCALE(0.060)); in setSurfaceSmpteMetadata()
494 METADATA_SCALE(0.3127)); in setSurfaceSmpteMetadata()
496 METADATA_SCALE(0.3290)); in setSurfaceSmpteMetadata()
498 METADATA_SCALE(300)); in setSurfaceSmpteMetadata()
[all …]