Home
last modified time | relevance | path

Searched refs:pixelFormat (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java566 int pixelFormat) throws BufferQueueAbandonedException { in configureSurface() argument
572 pixelFormat)); in configureSurface()
576 int height, int pixelFormat) in produceFrame() argument
584 pixelFormat)); in produceFrame()
587 static void setSurfaceFormat(Surface surface, int pixelFormat) in setSurfaceFormat() argument
591 LegacyExceptionUtils.throwOnError(nativeSetSurfaceFormat(surface, pixelFormat)); in setSurfaceFormat()
659 int pixelFormat); in nativeConfigureSurface() argument
662 int height, int pixelFormat); in nativeProduceFrame() argument
664 private static native int nativeSetSurfaceFormat(Surface surface, int pixelFormat); in nativeSetSurfaceFormat() argument
/frameworks/native/opengl/libagl/
Degl.cpp1069 int32_t& pixelFormat, int32_t& depthFormat) in getConfigFormatInfo() argument
1073 pixelFormat = GGL_PIXEL_FORMAT_RGB_565; in getConfigFormatInfo()
1077 pixelFormat = GGL_PIXEL_FORMAT_RGB_565; in getConfigFormatInfo()
1081 pixelFormat = GGL_PIXEL_FORMAT_RGBX_8888; in getConfigFormatInfo()
1085 pixelFormat = GGL_PIXEL_FORMAT_RGBX_8888; in getConfigFormatInfo()
1089 pixelFormat = GGL_PIXEL_FORMAT_RGBA_8888; in getConfigFormatInfo()
1093 pixelFormat = GGL_PIXEL_FORMAT_RGBA_8888; in getConfigFormatInfo()
1097 pixelFormat = GGL_PIXEL_FORMAT_A_8; in getConfigFormatInfo()
1101 pixelFormat = GGL_PIXEL_FORMAT_A_8; in getConfigFormatInfo()
1254 int32_t pixelFormat; in createWindowSurface() local
[all …]
Dtexture.cpp285 const GGLFormat& pixelFormat(c->rasterizer.formats[src.format]); in copyPixels() local
286 const size_t size = src.height * src.stride * pixelFormat.size; in copyPixels()
377 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in createTextureSurface() local
379 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; in createTextureSurface()
381 const int32_t stride = bpr / pixelFormat.size; in createTextureSurface()
1199 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glTexImage2D() local
1201 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; in glTexImage2D()
1203 const int32_t stride = bpr / pixelFormat.size; in glTexImage2D()
1283 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glTexSubImage2D() local
1285 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; in glTexSubImage2D()
[all …]
Dmipmap.cpp34 const GGLFormat& pixelFormat(c->rasterizer.formats[base->format]); in buildAPyramid() local
46 const int bpr = w * pixelFormat.size; in buildAPyramid()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp528 jint width, jint height, jint pixelFormat) { in LegacyCameraDevice_nativeConfigureSurface() argument
535 status_t err = configureSurface(anw, width, height, pixelFormat, CAMERA_DEVICE_BUFFER_SLACK); in LegacyCameraDevice_nativeConfigureSurface()
544 jbyteArray pixelBuffer, jint width, jint height, jint pixelFormat) { in LegacyCameraDevice_nativeProduceFrame() argument
567 pixelFormat, bufSize); in LegacyCameraDevice_nativeProduceFrame()
578 jint pixelFormat) { in LegacyCameraDevice_nativeSetSurfaceFormat() argument
585 status_t err = native_window_set_buffers_format(anw.get(), pixelFormat); in LegacyCameraDevice_nativeSetSurfaceFormat()
/frameworks/base/core/jni/android/graphics/
DYuvToJpegEncoder.h19 static YuvToJpegEncoder* create(int pixelFormat, int* strides);