/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/av/media/libstagefright/omx/ |
H A D | IOmxNodeWrapper.h | 34 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) = 0;
|
H A D | BWGraphicBufferSource.cpp | 47 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { 54 msg.u.event_data.data3 = pixelFormat;
|
H A D | GraphicBufferSource.h | 329 void onDataspaceChanged_l(android_dataspace dataspace, android_pixel_format pixelFormat);
|
H A D | GraphicBufferSource.cpp | 504 android_dataspace dataspace, android_pixel_format pixelFormat) { 509 mOMXNode->dispatchDataSpaceChanged(mLastDataspace, mDefaultColorAspectsPacked, pixelFormat); 503 onDataspaceChanged_l( android_dataspace dataspace, android_pixel_format pixelFormat) argument
|
H A D | OMXNodeInstance.cpp | 1989 android_pixel_format pixelFormat = (android_pixel_format)msg.u.event_data.data3; local 2004 params.nPixelFormat = 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/jni/ |
H A D | android_hardware_HardwareBuffer.cpp | 76 int pixelFormat = android_hardware_HardwareBuffer_convertToPixelFormat(format); local 77 if (pixelFormat == 0) { 85 sp<GraphicBuffer> buffer = new GraphicBuffer(width, height, pixelFormat, layers,
|
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
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | LegacyCameraDevice.java | 683 int height, int pixelFormat) 691 pixelFormat)); 694 static void setSurfaceFormat(Surface surface, int pixelFormat) argument 698 LegacyExceptionUtils.throwOnError(nativeSetSurfaceFormat(surface, pixelFormat)); 806 int height, int pixelFormat); 808 private static native int nativeSetSurfaceFormat(Surface surface, int pixelFormat); argument 682 produceFrame(Surface surface, byte[] pixelBuffer, int width, int height, int pixelFormat) argument 805 nativeProduceFrame(Surface surface, byte[] pixelBuffer, int width, int height, int pixelFormat) argument
|
/frameworks/av/media/libstagefright/omx/1.0/ |
H A D | WGraphicBufferSource.cpp | 63 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { 70 tMsg.data.eventData.data3 = pixelFormat;
|
/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 | 1102 int32_t& pixelFormat, int32_t& depthFormat) 1106 pixelFormat = GGL_PIXEL_FORMAT_RGB_565; 1110 pixelFormat = GGL_PIXEL_FORMAT_RGB_565; 1114 pixelFormat = GGL_PIXEL_FORMAT_RGBX_8888; 1118 pixelFormat = GGL_PIXEL_FORMAT_RGBX_8888; 1122 pixelFormat = GGL_PIXEL_FORMAT_RGBA_8888; 1126 pixelFormat = GGL_PIXEL_FORMAT_RGBA_8888; 1130 pixelFormat = GGL_PIXEL_FORMAT_A_8; 1134 pixelFormat = GGL_PIXEL_FORMAT_A_8; 1138 pixelFormat 1101 getConfigFormatInfo(EGLint configID, int32_t& pixelFormat, int32_t& depthFormat) argument 1291 int32_t pixelFormat; local 1340 int32_t pixelFormat; local 1379 int32_t pixelFormat; local [all...] |
/frameworks/base/libs/hwui/hwui/ |
H A D | Bitmap.cpp | 233 PixelFormat pixelFormat = internalFormatToPixelFormat(internalFormat); local 234 sp<GraphicBuffer> buffer = new GraphicBuffer(info.width(), info.height(), pixelFormat,
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.h | 595 static int mapToFrameworkFormat(hardware::graphics::common::V1_0::PixelFormat pixelFormat);
|
H A D | Camera3Device.cpp | 439 hardware::graphics::common::V1_0::PixelFormat pixelFormat) { 440 return static_cast<uint32_t>(pixelFormat); 438 mapToFrameworkFormat( hardware::graphics::common::V1_0::PixelFormat pixelFormat) argument
|