/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | SurfaceCompositionMeasuringActivity.java | 123 public CompositorScore measureCompositionScore(int pixelFormat) { in measureCompositionScore() argument 128 configureSurfacesAndWait(0, pixelFormat, false); in measureCompositionScore() 131 new Measurement(mViews.size() + 1, 0.0f), pixelFormat); in measureCompositionScore() 150 public AllocationScore measureAllocationScore(int pixelFormat) { in measureAllocationScore() argument 155 configureSurfacesAndWait(MIN_NUMBER_OF_SURFACES, pixelFormat, false); in measureAllocationScore() 159 configureSurfacesAndWait(0, pixelFormat, false); in measureAllocationScore() 199 final int pixelFormat = PIXEL_FORMATS[mPixelFormatSelector.getSelectedItemPosition()]; in doTest() local 206 CompositorScore score = measureCompositionScore(pixelFormat); in doTest() 207 sb.append("\n " + getPixelFormatInfo(pixelFormat) + ":" + in doTest() 213 AllocationScore score = measureAllocationScore(pixelFormat); in doTest() [all …]
|
D | SurfaceCompositionTest.java | 78 int pixelFormat = TEST_PIXEL_FORMATS[i]; in testSurfaceCompositionPerformance() local 79 String formatName = SurfaceCompositionMeasuringActivity.getPixelFormatInfo(pixelFormat); in testSurfaceCompositionPerformance() 80 CompositorScore score = getActivity().measureCompositionScore(pixelFormat); in testSurfaceCompositionPerformance() 87 if (pixelFormat == PixelFormat.TRANSLUCENT) { in testSurfaceCompositionPerformance() 101 int pixelFormat = TEST_PIXEL_FORMATS[i]; in testSurfaceAllocationPerformance() local 102 String formatName = SurfaceCompositionMeasuringActivity.getPixelFormatInfo(pixelFormat); in testSurfaceAllocationPerformance() 103 AllocationScore score = getActivity().measureAllocationScore(pixelFormat); in testSurfaceAllocationPerformance() 111 if (pixelFormat == PixelFormat.TRANSLUCENT) { in testSurfaceAllocationPerformance()
|
D | CustomSurfaceView.java | 96 public void setMode(int pixelFormat, boolean drawNameOnReady) { in setMode() argument 98 getHolder().setFormat(pixelFormat); in setMode()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaOpenGLPipeline.cpp | 264 PixelFormat pixelFormat; in allocateHardwareBitmap() local 274 pixelFormat = PIXEL_FORMAT_RGBA_8888; in allocateHardwareBitmap() 282 pixelFormat = PIXEL_FORMAT_RGBA_FP16; in allocateHardwareBitmap() 285 pixelFormat = PIXEL_FORMAT_RGBA_8888; in allocateHardwareBitmap() 291 pixelFormat = PIXEL_FORMAT_RGB_565; in allocateHardwareBitmap() 297 pixelFormat = PIXEL_FORMAT_RGBA_8888; in allocateHardwareBitmap() 330 sp<GraphicBuffer> buffer = new GraphicBuffer(info.width(), info.height(), pixelFormat, in allocateHardwareBitmap()
|
/frameworks/base/core/jni/ |
D | android_hardware_HardwareBuffer.cpp | 76 int pixelFormat = android_hardware_HardwareBuffer_convertToPixelFormat(format); in android_hardware_HardwareBuffer_create() local 77 if (pixelFormat == 0) { in android_hardware_HardwareBuffer_create() 85 sp<GraphicBuffer> buffer = new GraphicBuffer(width, height, pixelFormat, layers, in android_hardware_HardwareBuffer_create()
|
D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 568 jbyteArray pixelBuffer, jint width, jint height, jint pixelFormat) { in LegacyCameraDevice_nativeProduceFrame() argument 591 pixelFormat, bufSize); in LegacyCameraDevice_nativeProduceFrame() 602 jint pixelFormat) { in LegacyCameraDevice_nativeSetSurfaceFormat() argument 609 status_t err = native_window_set_buffers_format(anw.get(), pixelFormat); in LegacyCameraDevice_nativeSetSurfaceFormat()
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | WGraphicBufferSource.cpp | 62 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged() 69 tMsg.data.eventData.data3 = pixelFormat; in dispatchDataSpaceChanged() 76 static_cast<long>(pixelFormat)); in dispatchDataSpaceChanged()
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 1120 int32_t& pixelFormat, int32_t& depthFormat) in getConfigFormatInfo() argument 1124 pixelFormat = GGL_PIXEL_FORMAT_RGB_565; in getConfigFormatInfo() 1128 pixelFormat = GGL_PIXEL_FORMAT_RGB_565; in getConfigFormatInfo() 1132 pixelFormat = GGL_PIXEL_FORMAT_RGBX_8888; in getConfigFormatInfo() 1136 pixelFormat = GGL_PIXEL_FORMAT_RGBX_8888; in getConfigFormatInfo() 1140 pixelFormat = GGL_PIXEL_FORMAT_RGBA_8888; in getConfigFormatInfo() 1144 pixelFormat = GGL_PIXEL_FORMAT_RGBA_8888; in getConfigFormatInfo() 1148 pixelFormat = GGL_PIXEL_FORMAT_A_8; in getConfigFormatInfo() 1152 pixelFormat = GGL_PIXEL_FORMAT_A_8; in getConfigFormatInfo() 1156 pixelFormat = GGL_PIXEL_FORMAT_BGRA_8888; in getConfigFormatInfo() [all …]
|
D | texture.cpp | 278 const GGLFormat& pixelFormat(c->rasterizer.formats[src.format]); in copyPixels() local 279 const size_t size = src.height * src.stride * pixelFormat.size; in copyPixels() 370 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in createTextureSurface() local 372 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; in createTextureSurface() 374 const int32_t stride = bpr / pixelFormat.size; in createTextureSurface() 1192 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glTexImage2D() local 1194 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; in glTexImage2D() 1196 const int32_t stride = bpr / pixelFormat.size; in glTexImage2D() 1276 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glTexSubImage2D() local 1278 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; in glTexSubImage2D() [all …]
|
D | mipmap.cpp | 34 const GGLFormat& pixelFormat(c->rasterizer.formats[base->format]); in buildAPyramid() local 46 const int bpr = w * pixelFormat.size; in buildAPyramid()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | IOmxNodeWrapper.h | 34 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) = 0;
|
D | GraphicBufferSource.h | 336 void onDataspaceChanged_l(android_dataspace dataspace, android_pixel_format pixelFormat);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyCameraDevice.java | 704 int height, int pixelFormat) in produceFrame() argument 712 pixelFormat)); in produceFrame() 715 static void setSurfaceFormat(Surface surface, int pixelFormat) in setSurfaceFormat() argument 719 LegacyExceptionUtils.throwOnError(nativeSetSurfaceFormat(surface, pixelFormat)); in setSurfaceFormat() 827 int height, int pixelFormat); in nativeProduceFrame() argument 829 private static native int nativeSetSurfaceFormat(Surface surface, int pixelFormat); in nativeSetSurfaceFormat() argument
|
/frameworks/av/media/libstagefright/omx/ |
D | BWGraphicBufferSource.cpp | 45 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged() 52 msg.u.event_data.data3 = pixelFormat; in dispatchDataSpaceChanged()
|
D | GraphicBufferSource.cpp | 505 android_dataspace dataspace, android_pixel_format pixelFormat) { in onDataspaceChanged_l() argument 510 mOMXNode->dispatchDataSpaceChanged(mLastDataspace, mDefaultColorAspectsPacked, pixelFormat); in onDataspaceChanged_l()
|
D | OMXNodeInstance.cpp | 2071 android_pixel_format pixelFormat = (android_pixel_format)msg.u.event_data.data3; in handleDataSpaceChanged() local 2086 params.nPixelFormat = pixelFormat; in handleDataSpaceChanged()
|
/frameworks/base/core/jni/android/graphics/ |
D | YuvToJpegEncoder.h | 19 static YuvToJpegEncoder* create(int pixelFormat, int* strides);
|
/frameworks/base/libs/hwui/renderthread/ |
D | OpenGLPipeline.cpp | 409 PixelFormat pixelFormat = internalFormatToPixelFormat(internalFormat); in allocateHardwareBitmap() local 410 sp<GraphicBuffer> buffer = new GraphicBuffer(info.width(), info.height(), pixelFormat, in allocateHardwareBitmap()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3Device.h | 598 static int mapToFrameworkFormat(hardware::graphics::common::V1_0::PixelFormat pixelFormat);
|
D | Camera3Device.cpp | 468 hardware::graphics::common::V1_0::PixelFormat pixelFormat) { in mapToFrameworkFormat() argument 469 return static_cast<uint32_t>(pixelFormat); in mapToFrameworkFormat()
|