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

/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.h15 * @param pixelFormat The yuv pixel format as defined in ui/PixelFormat.h.
17 * @return an encoder based on the pixelFormat.
19 static YuvToJpegEncoder* create(int pixelFormat, int* strides);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyCameraDevice.java566 int pixelFormat) throws BufferQueueAbandonedException {
572 pixelFormat));
576 int height, int pixelFormat)
584 pixelFormat));
587 static void setSurfaceFormat(Surface surface, int pixelFormat) argument
591 LegacyExceptionUtils.throwOnError(nativeSetSurfaceFormat(surface, pixelFormat));
659 int pixelFormat);
662 int height, int pixelFormat);
664 private static native int nativeSetSurfaceFormat(Surface surface, int pixelFormat); argument
565 configureSurface(Surface surface, int width, int height, int pixelFormat) argument
575 produceFrame(Surface surface, byte[] pixelBuffer, int width, int height, int pixelFormat) argument
658 nativeConfigureSurface(Surface surface, int width, int height, int pixelFormat) argument
661 nativeProduceFrame(Surface surface, byte[] pixelBuffer, int width, int height, int pixelFormat) argument
/frameworks/native/opengl/libagl/
H A Dmipmap.cpp34 const GGLFormat& pixelFormat(c->rasterizer.formats[base->format]);
46 const int bpr = w * pixelFormat.size;
H A Dtexture.cpp285 const GGLFormat& pixelFormat(c->rasterizer.formats[src.format]);
286 const size_t size = src.height * src.stride * pixelFormat.size;
377 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]);
379 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align;
381 const int32_t stride = bpr / pixelFormat.size;
1199 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]);
1201 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align;
1203 const int32_t stride = bpr / pixelFormat.size;
1283 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]);
1285 const int32_t bpr = ((width * pixelFormat
[all...]
H A Degl.cpp1069 int32_t& pixelFormat, int32_t& depthFormat)
1073 pixelFormat = GGL_PIXEL_FORMAT_RGB_565;
1077 pixelFormat = GGL_PIXEL_FORMAT_RGB_565;
1081 pixelFormat = GGL_PIXEL_FORMAT_RGBX_8888;
1085 pixelFormat = GGL_PIXEL_FORMAT_RGBX_8888;
1089 pixelFormat = GGL_PIXEL_FORMAT_RGBA_8888;
1093 pixelFormat = GGL_PIXEL_FORMAT_RGBA_8888;
1097 pixelFormat = GGL_PIXEL_FORMAT_A_8;
1101 pixelFormat = GGL_PIXEL_FORMAT_A_8;
1254 int32_t pixelFormat; local
1068 getConfigFormatInfo(EGLint configID, int32_t& pixelFormat, int32_t& depthFormat) argument
1303 int32_t pixelFormat; local
1342 int32_t pixelFormat; local
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp528 jint width, jint height, jint pixelFormat) {
535 status_t err = configureSurface(anw, width, height, pixelFormat, CAMERA_DEVICE_BUFFER_SLACK);
544 jbyteArray pixelBuffer, jint width, jint height, jint pixelFormat) {
567 pixelFormat, bufSize);
578 jint pixelFormat) {
585 status_t err = native_window_set_buffers_format(anw.get(), pixelFormat);
527 LegacyCameraDevice_nativeConfigureSurface(JNIEnv* env, jobject thiz, jobject surface, jint width, jint height, jint pixelFormat) argument
543 LegacyCameraDevice_nativeProduceFrame(JNIEnv* env, jobject thiz, jobject surface, jbyteArray pixelBuffer, jint width, jint height, jint pixelFormat) argument
577 LegacyCameraDevice_nativeSetSurfaceFormat(JNIEnv* env, jobject thiz, jobject surface, jint pixelFormat) argument

Completed in 98 milliseconds