/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | SurfaceCompositionMeasuringActivity.java | 122 public CompositorScore measureCompositionScore(int pixelFormat) { in measureCompositionScore() argument 127 configureSurfacesAndWait(0, pixelFormat, false); in measureCompositionScore() 130 new Measurement(mViews.size() + 1, 0.0f), pixelFormat); in measureCompositionScore() 149 public AllocationScore measureAllocationScore(int pixelFormat) { in measureAllocationScore() argument 154 configureSurfacesAndWait(MIN_NUMBER_OF_SURFACES, pixelFormat, false); in measureAllocationScore() 158 configureSurfacesAndWait(0, pixelFormat, false); in measureAllocationScore() 198 final int pixelFormat = PIXEL_FORMATS[mPixelFormatSelector.getSelectedItemPosition()]; in doTest() local 205 CompositorScore score = measureCompositionScore(pixelFormat); in doTest() 206 sb.append("\n " + getPixelFormatInfo(pixelFormat) + ":" + in doTest() 212 AllocationScore score = measureAllocationScore(pixelFormat); in doTest() [all …]
|
D | SurfaceCompositionTest.java | 75 int pixelFormat = TEST_PIXEL_FORMATS[i]; in testSurfaceCompositionPerformance() local 76 String formatName = SurfaceCompositionMeasuringActivity.getPixelFormatInfo(pixelFormat); in testSurfaceCompositionPerformance() 77 CompositorScore score = getActivity().measureCompositionScore(pixelFormat); in testSurfaceCompositionPerformance() 84 if (pixelFormat == PixelFormat.TRANSLUCENT) { in testSurfaceCompositionPerformance() 98 int pixelFormat = TEST_PIXEL_FORMATS[i]; in testSurfaceAllocationPerformance() local 99 String formatName = SurfaceCompositionMeasuringActivity.getPixelFormatInfo(pixelFormat); in testSurfaceAllocationPerformance() 100 AllocationScore score = getActivity().measureAllocationScore(pixelFormat); in testSurfaceAllocationPerformance() 108 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/native/libs/renderengine/include/renderengine/ |
D | RenderEngine.h | 180 int pixelFormat; member 200 : pixelFormat(_pixelFormat) in RenderEngineCreationArgs() 213 Builder& setPixelFormat(int pixelFormat) { in setPixelFormat() 214 this->pixelFormat = pixelFormat; in setPixelFormat() 242 return RenderEngineCreationArgs(pixelFormat, imageCacheSize, useColorManagement, in build() 249 int pixelFormat = 1;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | DisplayCreationArgs.h | 51 ui::PixelFormat pixelFormat = static_cast<ui::PixelFormat>(PIXEL_FORMAT_UNKNOWN); member 88 DisplayCreationArgsBuilder& setPixelFormat(ui::PixelFormat pixelFormat) { in setPixelFormat() argument 89 mArgs.pixelFormat = pixelFormat; in setPixelFormat()
|
/frameworks/base/libs/hwui/ |
D | HardwareBitmapUploader.cpp | 45 PixelFormat pixelFormat; member 317 formatInfo.pixelFormat = PIXEL_FORMAT_RGBA_8888; in determineFormat() 326 formatInfo.pixelFormat = PIXEL_FORMAT_RGBA_FP16; in determineFormat() 330 formatInfo.pixelFormat = PIXEL_FORMAT_RGBA_8888; in determineFormat() 337 formatInfo.pixelFormat = PIXEL_FORMAT_RGB_565; in determineFormat() 344 formatInfo.pixelFormat = PIXEL_FORMAT_RGBA_8888; in determineFormat() 399 format.pixelFormat, in allocateHardwareBitmap()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotController.java | 279 boolean prepareTaskSnapshot(Task task, int pixelFormat, TaskSnapshot.Builder builder) { 320 if (pixelFormat == PixelFormat.UNKNOWN) { 321 pixelFormat = mPersister.use16BitFormat() && activity.fillsParent() 327 final boolean isTranslucent = PixelFormat.formatHasAlpha(pixelFormat) 331 builder.setPixelFormat(pixelFormat); 358 float scaleFraction, int pixelFormat, Point outTaskSize) { 379 pixelFormat, excludeLayers); 398 TaskSnapshot snapshotTask(Task task, int pixelFormat) { 401 if (!prepareTaskSnapshot(task, pixelFormat, builder)) {
|
/frameworks/av/media/libstagefright/omx/ |
D | OmxGraphicBufferSource.cpp | 55 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged() argument 56 mOmxNode->dispatchDataSpaceChanged(dataSpace, aspects, pixelFormat); in dispatchDataSpaceChanged()
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | WGraphicBufferSource.cpp | 67 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged() 74 tMsg.data.eventData.data3 = pixelFormat; in dispatchDataSpaceChanged() 81 static_cast<long>(pixelFormat)); in dispatchDataSpaceChanged()
|
/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 | 610 jbyteArray pixelBuffer, jint width, jint height, jint pixelFormat) { in LegacyCameraDevice_nativeProduceFrame() argument 633 pixelFormat, bufSize); in LegacyCameraDevice_nativeProduceFrame() 644 jint pixelFormat) { in LegacyCameraDevice_nativeSetSurfaceFormat() argument 651 status_t err = native_window_set_buffers_format(anw.get(), pixelFormat); in LegacyCameraDevice_nativeSetSurfaceFormat()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | Display.cpp | 65 mId = maybeAllocateDisplayIdForVirtualDisplay(args.pixels, args.pixelFormat); in setConfiguration() 70 ui::Size pixels, ui::PixelFormat pixelFormat) const { in maybeAllocateDisplayIdForVirtualDisplay() 73 static_cast<uint32_t>(pixels.height), &pixelFormat); in maybeAllocateDisplayIdForVirtualDisplay() 337 getRenderSurface()->setBufferPixelFormat(clientTargetProperty.pixelFormat); in applyClientTargetRequests()
|
D | RenderSurface.cpp | 107 void RenderSurface::setBufferPixelFormat(ui::PixelFormat pixelFormat) { in setBufferPixelFormat() argument 108 native_window_set_buffers_format(mNativeWindow.get(), static_cast<int32_t>(pixelFormat)); in setBufferPixelFormat()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | IOmxNodeWrapper.h | 34 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) = 0;
|
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/ |
D | ComponentWrapper.h | 34 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) = 0;
|
D | GraphicBufferSource.h | 354 void onDataspaceChanged_l(android_dataspace dataspace, android_pixel_format pixelFormat);
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotControllerTest.java | 139 final int pixelFormat = PixelFormat.RGBA_8888; in testSnapshotBuilder() local 158 builder.setPixelFormat(pixelFormat); in testSnapshotBuilder() 162 assertEquals(pixelFormat, builder.getPixelFormat()); in testSnapshotBuilder()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyCameraDevice.java | 740 int height, int pixelFormat) in produceFrame() argument 748 pixelFormat)); in produceFrame() 751 static void setSurfaceFormat(Surface surface, int pixelFormat) in setSurfaceFormat() argument 755 LegacyExceptionUtils.throwOnError(nativeSetSurfaceFormat(surface, pixelFormat)); in setSurfaceFormat() 863 int height, int pixelFormat); in nativeProduceFrame() argument 865 private static native int nativeSetSurfaceFormat(Surface surface, int pixelFormat); in nativeSetSurfaceFormat() argument
|
/frameworks/av/media/codec2/sfplugin/ |
D | Omx2IGraphicBufferSource.cpp | 73 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged() 80 msg.u.event_data.data3 = pixelFormat; in dispatchDataSpaceChanged()
|
/frameworks/base/libs/hwui/renderthread/ |
D | VulkanSurface.cpp | 210 outWindowInfo->pixelFormat = ColorTypeToPixelFormat(colorType); in InitializeWindowInfoStruct() 212 if (outWindowInfo->pixelFormat == PIXEL_FORMAT_RGBA_FP16) { in InitializeWindowInfoStruct() 266 int err = native_window_set_buffers_format(window, windowInfo.pixelFormat); in UpdateWindow() 269 windowInfo.pixelFormat, strerror(-err), err); in UpdateWindow()
|
D | VulkanSurface.h | 94 PixelFormat pixelFormat; member
|
/frameworks/base/libs/hwui/jni/ |
D | ImageDecoder.cpp | 398 jint pixelFormat = postProcessAndRelease(env, jdecoder, std::move(canvas)); in ImageDecoder_nDecodeBitmap() local 404 switch (pixelFormat) { in ImageDecoder_nDecodeBitmap() 415 msg.printf("invalid return from postProcess: %i", pixelFormat); in ImageDecoder_nDecodeBitmap() 423 msg.printf("incompatible return from postProcess: %i", pixelFormat); in ImageDecoder_nDecodeBitmap()
|
D | YuvToJpegEncoder.h | 19 static YuvToJpegEncoder* create(int pixelFormat, int* strides);
|
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/ |
D | LayerProtoParser.h | 99 std::string pixelFormat; variable
|
/frameworks/native/services/surfaceflinger/layerproto/ |
D | LayerProtoParser.cpp | 95 layer.pixelFormat = layerProto.pixel_format(); in generateLayer() 293 StringAppendF(&result, "defaultPixelFormat=%s, ", pixelFormat.c_str()); in to_string()
|