Searched defs:pixelFormat (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_hardware_HardwareBuffer.cpp76 int pixelFormat = android_hardware_HardwareBuffer_convertToPixelFormat(format); local
77 if (pixelFormat == 0) {
85 sp<GraphicBuffer> buffer = new GraphicBuffer(width, height, pixelFormat, layers,
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp603 jbyteArray pixelBuffer, jint width, jint height, jint pixelFormat) {
626 pixelFormat, bufSize);
637 jint pixelFormat) {
644 status_t err = native_window_set_buffers_format(anw.get(), pixelFormat);
602 LegacyCameraDevice_nativeProduceFrame(JNIEnv* env, jobject thiz, jobject surface, jbyteArray pixelBuffer, jint width, jint height, jint pixelFormat) argument
636 LegacyCameraDevice_nativeSetSurfaceFormat(JNIEnv* env, jobject thiz, jobject surface, jint pixelFormat) argument
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DCustomSurfaceView.java96 public void setMode(int pixelFormat, boolean drawNameOnReady) { argument
98 getHolder().setFormat(pixelFormat);
H A DSurfaceCompositionMeasuringActivity.java52 * 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...]
/frameworks/native/include/layerproto/
H A DLayerProtoParser.h99 std::string pixelFormat; member in class:android::surfaceflinger::LayerProtoParser::Layer
/frameworks/native/services/surfaceflinger/
H A DLayerStats.cpp165 const char* LayerStats::layerPixelFormat(int32_t pixelFormat) { argument
166 return decodePixelFormat(pixelFormat).c_str();
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
H A DLayerProtoParser.h99 std::string pixelFormat; member in class:android::surfaceflinger::LayerProtoParser::Layer
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyCameraDevice.java706 int height, int pixelFormat)
714 pixelFormat));
717 static void setSurfaceFormat(Surface surface, int pixelFormat) argument
721 LegacyExceptionUtils.throwOnError(nativeSetSurfaceFormat(surface, pixelFormat));
829 int height, int pixelFormat);
831 private static native int nativeSetSurfaceFormat(Surface surface, int pixelFormat); argument
705 produceFrame(Surface surface, byte[] pixelBuffer, int width, int height, int pixelFormat) argument
828 nativeProduceFrame(Surface surface, byte[] pixelBuffer, int width, int height, int pixelFormat) argument
/frameworks/base/core/jni/android/graphics/
H A DImageDecoder.cpp408 jint pixelFormat = postProcessAndRelease(env, jdecoder, std::move(canvas)); local
414 switch (pixelFormat) {
425 msg.printf("invalid return from postProcess: %i", pixelFormat);
433 msg.printf("incompatible return from postProcess: %i", pixelFormat);
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLPipeline.cpp326 PixelFormat pixelFormat; local
336 pixelFormat = PIXEL_FORMAT_RGBA_8888;
344 pixelFormat = PIXEL_FORMAT_RGBA_FP16;
347 pixelFormat = PIXEL_FORMAT_RGBA_8888;
353 pixelFormat = PIXEL_FORMAT_RGB_565;
359 pixelFormat = PIXEL_FORMAT_RGBA_8888;
386 info.width(), info.height(), pixelFormat,
/frameworks/base/libs/hwui/renderthread/
H A DOpenGLPipeline.cpp422 PixelFormat pixelFormat = internalFormatToPixelFormat(internalFormat); local
424 info.width(), info.height(), pixelFormat,
/frameworks/av/media/libstagefright/bqhelper/
H A DGraphicBufferSource.cpp536 android_dataspace dataspace, android_pixel_format pixelFormat) {
542 mLastDataspace, mDefaultColorAspectsPacked, pixelFormat);
535 onDataspaceChanged_l( android_dataspace dataspace, android_pixel_format pixelFormat) argument
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp2086 android_pixel_format pixelFormat = (android_pixel_format)msg.u.event_data.data3; local
2101 params.nPixelFormat = pixelFormat;
/frameworks/native/opengl/libagl/
H A Degl.cpp1122 int32_t& pixelFormat, int32_t& depthFormat)
1126 pixelFormat = GGL_PIXEL_FORMAT_RGB_565;
1130 pixelFormat = GGL_PIXEL_FORMAT_RGB_565;
1134 pixelFormat = GGL_PIXEL_FORMAT_RGBX_8888;
1138 pixelFormat = GGL_PIXEL_FORMAT_RGBX_8888;
1142 pixelFormat = GGL_PIXEL_FORMAT_RGBA_8888;
1146 pixelFormat = GGL_PIXEL_FORMAT_RGBA_8888;
1150 pixelFormat = GGL_PIXEL_FORMAT_A_8;
1154 pixelFormat = GGL_PIXEL_FORMAT_A_8;
1158 pixelFormat
1121 getConfigFormatInfo(EGLint configID, int32_t& pixelFormat, int32_t& depthFormat) argument
1311 int32_t pixelFormat; local
1360 int32_t pixelFormat; local
1399 int32_t pixelFormat; local
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp487 hardware::graphics::common::V1_0::PixelFormat pixelFormat) {
488 return static_cast<uint32_t>(pixelFormat);
486 mapToFrameworkFormat( hardware::graphics::common::V1_0::PixelFormat pixelFormat) argument

Completed in 295 milliseconds