Home
last modified time | relevance | path

Searched refs:pixelFormat (Results 1 – 25 of 88) sorted by relevance

1234

/frameworks/av/services/camera/virtualcamera/tests/
DVirtualCameraDeviceTest.cc84 const int pixelFormat; member
92 a.pixelFormat == b.pixelFormat && in operator ==()
99 << config.pixelFormat << ", streamConfiguration " in operator <<()
120 .pixelFormat = entry.data.i32[i], in getAvailableStreamConfigurations()
155 .format = static_cast<PixelFormat>(config.pixelFormat), in TEST_P()
173 .pixelFormat = Format::YUV_420_888,
182 .pixelFormat =
187 .pixelFormat =
192 .pixelFormat = ANDROID_SCALER_AVAILABLE_FORMATS_BLOB},
196 .pixelFormat =
[all …]
DVirtualCameraSessionTest.cc155 .pixelFormat = Format::YUV_420_888, in SetUp()
160 .pixelFormat = Format::YUV_420_888, in SetUp()
332 .pixelFormat = Format::YUV_420_888, in TEST_F()
336 .pixelFormat = Format::RGBA_8888, in TEST_F()
360 .pixelFormat = Format::YUV_420_888, in TEST_F()
364 .pixelFormat = Format::RGBA_8888, in TEST_F()
387 .pixelFormat = Format::YUV_420_888, in TEST_F()
391 .pixelFormat = Format::RGBA_8888, in TEST_F()
431 .pixelFormat = Format::YUV_420_888, in TEST_F()
435 .pixelFormat = Format::RGBA_8888, in TEST_F()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java122 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 …]
DSurfaceCompositionTest.java76 int pixelFormat = TEST_PIXEL_FORMATS[i]; in testSurfaceCompositionPerformance() local
77 String formatName = SurfaceCompositionMeasuringActivity.getPixelFormatInfo(pixelFormat); in testSurfaceCompositionPerformance()
78 CompositorScore score = getActivity().measureCompositionScore(pixelFormat); in testSurfaceCompositionPerformance()
85 if (pixelFormat == PixelFormat.TRANSLUCENT) { in testSurfaceCompositionPerformance()
99 int pixelFormat = TEST_PIXEL_FORMATS[i]; in testSurfaceAllocationPerformance() local
100 String formatName = SurfaceCompositionMeasuringActivity.getPixelFormatInfo(pixelFormat); in testSurfaceAllocationPerformance()
101 AllocationScore score = getActivity().measureAllocationScore(pixelFormat); in testSurfaceAllocationPerformance()
109 if (pixelFormat == PixelFormat.TRANSLUCENT) { in testSurfaceAllocationPerformance()
/frameworks/base/libs/hwui/
DDeviceInfo.cpp61 AHardwareBuffer_Format pixelFormat; in updateDisplayInfo() local
62 ADisplay_getPreferredWideColorFormat(displays[i], &dataspace, &pixelFormat); in updateDisplayInfo()
64 if (pixelFormat == AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM) { in updateDisplayInfo()
66 } else if (pixelFormat == AHARDWAREBUFFER_FORMAT_R16G16B16A16_FLOAT) { in updateDisplayInfo()
69 LOG_ALWAYS_FATAL("Unreachable: unsupported pixel format: %d", pixelFormat); in updateDisplayInfo()
/frameworks/native/libs/ui/include_types/ui/
DHdrRenderTypeUtils.h38 std::optional<ui::PixelFormat> pixelFormat,
52 pixelFormat.has_value() && pixelFormat.value() == ui::PixelFormat::RGBA_FP16) {
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DRenderEngine.h201 int pixelFormat; member
221 : pixelFormat(_pixelFormat), in RenderEngineCreationArgs()
236 Builder& setPixelFormat(int pixelFormat) { in setPixelFormat()
237 this->pixelFormat = pixelFormat; in setPixelFormat()
273 return RenderEngineCreationArgs(pixelFormat, imageCacheSize, useColorManagement, in build()
281 int pixelFormat = 1;
/frameworks/native/services/surfaceflinger/tests/
DLayerState_test.cpp33 args.pixelFormat = ui::PixelFormat::RGB_565; in TEST()
50 ASSERT_EQ(args.pixelFormat, args2.pixelFormat); in TEST()
63 args.pixelFormat = ui::PixelFormat::RGB_565; in TEST()
80 ASSERT_EQ(args.pixelFormat, args2.pixelFormat); in TEST()
/frameworks/native/libs/renderengine/include/renderengine/
DRenderEngine.h299 int pixelFormat; member
321 : pixelFormat(_pixelFormat), in RenderEngineCreationArgs()
336 Builder& setPixelFormat(int pixelFormat) { in setPixelFormat()
337 this->pixelFormat = pixelFormat; in setPixelFormat()
373 return RenderEngineCreationArgs(pixelFormat, imageCacheSize, enableProtectedContext, in build()
380 int pixelFormat = 1;
/frameworks/native/libs/gui/include/gui/fake/
DBufferData.h26 BufferData(uint64_t bufferId, uint32_t width, uint32_t height, int32_t pixelFormat, in BufferData() argument
31 mPixelFormat(pixelFormat), in BufferData()
/frameworks/native/libs/renderengine/include/renderengine/mock/
DFakeExternalTexture.h36 FakeExternalTexture(uint32_t width, uint32_t height, uint64_t id, PixelFormat pixelFormat, in FakeExternalTexture() argument
38 : mWidth(width), mHeight(height), mId(id), mPixelFormat(pixelFormat), mUsage(usage) {} in FakeExternalTexture()
/frameworks/native/libs/gui/
DGLConsumerUtils.cpp35 float bufferHeight, PixelFormat pixelFormat, in computeTransformMatrix() argument
78 switch (pixelFormat) { in computeTransformMatrix()
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraStream.cc50 ui::PixelFormat pixelFormat; in createGraphicBuffer() local
55 mapper.getPixelFormatRequested(bufferHandle, &pixelFormat) != NO_ERROR) { in createGraphicBuffer()
62 static_cast<int>(pixelFormat), layerCount, usage, width); in createGraphicBuffer()
/frameworks/av/media/module/aidlpersistentsurface/
DAidlGraphicBufferSource.cpp51 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged() argument
52 mAidlNode->dispatchDataSpaceChanged(dataSpace, aspects, pixelFormat); in dispatchDataSpaceChanged()
/frameworks/av/media/libstagefright/omx/
DOmxGraphicBufferSource.cpp55 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged() argument
56 mOmxNode->dispatchDataSpaceChanged(dataSpace, aspects, pixelFormat); in dispatchDataSpaceChanged()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotController.java223 int pixelFormat) { in createImeSnapshot() argument
236 bounds, 1.0f, pixelFormat, null); in createImeSnapshot()
252 final int pixelFormat = mPersistInfoProvider.use16BitFormat() in snapshotImeFromAttachedTask() local
255 return createImeSnapshot(task, pixelFormat); in snapshotImeFromAttachedTask()
/frameworks/av/services/camera/virtualcamera/aidl/android/companion/virtualcamera/
DSupportedStreamConfiguration.aidl29 Format pixelFormat = Format.UNKNOWN;
DIVirtualCameraCallback.aidl40 in Format pixelFormat); in onStreamConfigured() argument
/frameworks/av/media/module/aidlpersistentsurface/wrapper/
DWAidlGraphicBufferSource.cpp78 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged()
80 dataSpace, aspects, pixelFormat); in dispatchDataSpaceChanged()
88 static_cast<long>(pixelFormat)); in dispatchDataSpaceChanged()
/frameworks/native/libs/renderengine/skia/
DSkiaGLRenderEngine.cpp101 const ui::PixelFormat pixelFormat = static_cast<ui::PixelFormat>(format); in selectEGLConfig() local
102 const bool is1010102 = pixelFormat == ui::PixelFormat::RGBA_1010102; in selectEGLConfig()
172 config = chooseEglConfig(display, args.pixelFormat, /*logConfig*/ true); in create()
191 placeholder = createPlaceholderEglPbufferSurface(display, config, args.pixelFormat, in create()
202 protectedPlaceholder = createPlaceholderEglPbufferSurface(display, config, args.pixelFormat, in create()
273 : SkiaRenderEngine(args.threaded, static_cast<PixelFormat>(args.pixelFormat), in SkiaGLRenderEngine()
/frameworks/av/media/codec2/sfplugin/
DC2AidlNode.cpp90 int32_t pixelFormat) { in onDataSpaceChanged() argument
96 static_cast<uint32_t>(pixelFormat))); in onDataSpaceChanged()
/frameworks/av/media/libstagefright/omx/1.0/
DWGraphicBufferSource.cpp67 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/
Dandroid_window_ScreenCapture.cpp40 jfieldID pixelFormat; member
144 captureArgs.pixelFormat = static_cast<ui::PixelFormat>( in getCaptureArgs()
145 env->GetIntField(captureArgsObject, gCaptureArgsClassInfo.pixelFormat)); in getCaptureArgs()
300 gCaptureArgsClassInfo.pixelFormat = GetFieldIDOrDie(env, captureArgsClazz, "mPixelFormat", "I"); in register_android_window_ScreenCapture()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DIOmxNodeWrapper.h34 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) = 0;
/frameworks/av/media/module/aidlpersistentsurface/include/media/stagefright/aidlpersistentsurface/
DIAidlNodeWrapper.h33 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) = 0;

1234