Searched refs:pixelBuffer (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DStatsFilter.java81 private void calcMeanAndStd(ByteBuffer pixelBuffer, int width, int height, Quad quad) { argument
83 pixelBuffer.rewind();
84 regionscore(pixelBuffer, width, height, quad.topLeft().x, quad.topLeft().y,
98 ByteBuffer pixelBuffer = inputFrame.lockBytes(Frame.MODE_READ);
100 calcMeanAndStd(pixelBuffer, inputFrame.getWidth(), inputFrame.getHeight(), mCropRect);
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp139 * pixelBuffer - image buffer to generate a frame from.
140 * width - width of the pixelBuffer in pixels.
141 * height - height of the pixelBuffer in pixels.
142 * pixelFmt - format of the pixelBuffer, one of:
146 * bufSize - the size of the pixelBuffer in bytes.
149 uint8_t* pixelBuffer,
150 int32_t bufWidth, // Width of the pixelBuffer
151 int32_t bufHeight, // Height of the pixelBuffer
152 int32_t pixelFmt, // Format of the pixelBuffer
163 } else if (pixelBuffer
148 produceFrame(const sp<ANativeWindow>& anw, uint8_t* pixelBuffer, int32_t bufWidth, int32_t bufHeight, int32_t pixelFmt, int32_t bufSize) argument
567 LegacyCameraDevice_nativeProduceFrame(JNIEnv* env, jobject thiz, jobject surface, jbyteArray pixelBuffer, jint width, jint height, jint pixelFormat) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyCameraDevice.java675 static void produceFrame(Surface surface, byte[] pixelBuffer, int width, argument
679 checkNotNull(pixelBuffer);
683 LegacyExceptionUtils.throwOnError(nativeProduceFrame(surface, pixelBuffer, width, height,
798 private static native int nativeProduceFrame(Surface surface, byte[] pixelBuffer, int width, argument
/frameworks/base/libs/hwui/font/
H A DFont.cpp212 PixelBuffer* pixelBuffer = cacheTexture->getPixelBuffer(); local
214 uint32_t formatSize = PixelBuffer::formatSize(pixelBuffer->getFormat());
215 uint32_t alpha_channel_offset = PixelBuffer::formatAlphaOffset(pixelBuffer->getFormat());
221 const uint8_t* cacheBuffer = pixelBuffer->map();

Completed in 625 milliseconds