/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
H A D | SurfaceCompositionTest.java | 78 int pixelFormat = TEST_PIXEL_FORMATS[i]; 79 String formatName = SurfaceCompositionMeasuringActivity.getPixelFormatInfo(pixelFormat); 80 CompositorScore score = getActivity().measureCompositionScore(pixelFormat); 87 if (pixelFormat == PixelFormat.TRANSLUCENT) { 101 int pixelFormat = TEST_PIXEL_FORMATS[i]; 102 String formatName = SurfaceCompositionMeasuringActivity.getPixelFormatInfo(pixelFormat); 103 AllocationScore score = getActivity().measureAllocationScore(pixelFormat); 111 if (pixelFormat == PixelFormat.TRANSLUCENT) {
|
H A D | SurfaceCompositionMeasuringActivity.java | 52 * measureCompositionScore(pixelFormat) 57 * measureAllocationScore(pixelFormat) 123 public CompositorScore measureCompositionScore(int pixelFormat) { argument 128 configureSurfacesAndWait(0, pixelFormat, false); 131 new Measurement(mViews.size() + 1, 0.0f), pixelFormat); 150 public AllocationScore measureAllocationScore(int pixelFormat) { argument 155 configureSurfacesAndWait(MIN_NUMBER_OF_SURFACES, pixelFormat, false); 159 configureSurfacesAndWait(0, pixelFormat, false); 199 final int pixelFormat = PIXEL_FORMATS[mPixelFormatSelector.getSelectedItemPosition()]; 206 CompositorScore score = measureCompositionScore(pixelFormat); 403 measureCompositionScore(Measurement ok, Measurement fail, int pixelFormat) argument 421 measureFPS(int surfaceCnt, int pixelFormat) argument 434 waitForSurfacesConfigured(final int pixelFormat) argument 458 configureSurfaces(int surfaceCnt, int pixelFormat, boolean invalidate) argument 470 configureSurfacesAndWait(final int surfaceCnt, final int pixelFormat, final boolean invalidate) argument 513 updateSystemInfo(int pixelFormat) argument 551 getPixelFormatInfo(int pixelFormat) argument [all...] |
H A D | CustomSurfaceView.java | 96 public void setMode(int pixelFormat, boolean drawNameOnReady) { argument 98 getHolder().setFormat(pixelFormat);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | YuvToJpegEncoder.h | 15 * @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 D | LegacyCameraDevice.java | 676 int height, int pixelFormat) 684 pixelFormat)); 687 static void setSurfaceFormat(Surface surface, int pixelFormat) argument 691 LegacyExceptionUtils.throwOnError(nativeSetSurfaceFormat(surface, pixelFormat)); 799 int height, int pixelFormat); 801 private static native int nativeSetSurfaceFormat(Surface surface, int pixelFormat); argument 675 produceFrame(Surface surface, byte[] pixelBuffer, int width, int height, int pixelFormat) argument 798 nativeProduceFrame(Surface surface, byte[] pixelBuffer, int width, int height, int pixelFormat) argument
|
/frameworks/native/opengl/libagl/ |
H A D | mipmap.cpp | 34 const GGLFormat& pixelFormat(c->rasterizer.formats[base->format]); 46 const int bpr = w * pixelFormat.size;
|
H A D | texture.cpp | 278 const GGLFormat& pixelFormat(c->rasterizer.formats[src.format]); 279 const size_t size = src.height * src.stride * pixelFormat.size; 370 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); 372 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; 374 const int32_t stride = bpr / pixelFormat.size; 1192 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); 1194 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; 1196 const int32_t stride = bpr / pixelFormat.size; 1276 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); 1278 const int32_t bpr = ((width * pixelFormat [all...] |
H A D | egl.cpp | 1086 int32_t& pixelFormat, int32_t& depthFormat) 1090 pixelFormat = GGL_PIXEL_FORMAT_RGB_565; 1094 pixelFormat = GGL_PIXEL_FORMAT_RGB_565; 1098 pixelFormat = GGL_PIXEL_FORMAT_RGBX_8888; 1102 pixelFormat = GGL_PIXEL_FORMAT_RGBX_8888; 1106 pixelFormat = GGL_PIXEL_FORMAT_RGBA_8888; 1110 pixelFormat = GGL_PIXEL_FORMAT_RGBA_8888; 1114 pixelFormat = GGL_PIXEL_FORMAT_A_8; 1118 pixelFormat = GGL_PIXEL_FORMAT_A_8; 1271 int32_t pixelFormat; local 1085 getConfigFormatInfo(EGLint configID, int32_t& pixelFormat, int32_t& depthFormat) argument 1320 int32_t pixelFormat; local 1359 int32_t pixelFormat; local [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | GraphicBufferSource.h | 256 void onDataSpaceChanged_l(android_dataspace dataSpace, android_pixel_format pixelFormat);
|
H A D | GraphicBufferSource.cpp | 514 android_dataspace dataSpace, android_pixel_format pixelFormat) { 531 params.nPixelFormat = pixelFormat; 513 onDataSpaceChanged_l( android_dataspace dataSpace, android_pixel_format pixelFormat) argument
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 568 jbyteArray pixelBuffer, jint width, jint height, jint pixelFormat) { 591 pixelFormat, bufSize); 602 jint pixelFormat) { 609 status_t err = native_window_set_buffers_format(anw.get(), pixelFormat); 567 LegacyCameraDevice_nativeProduceFrame(JNIEnv* env, jobject thiz, jobject surface, jbyteArray pixelBuffer, jint width, jint height, jint pixelFormat) argument 601 LegacyCameraDevice_nativeSetSurfaceFormat(JNIEnv* env, jobject thiz, jobject surface, jint pixelFormat) argument
|