Searched defs: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/java/android/hardware/camera2/legacy/
H A DLegacyCameraDevice.java705 static void produceFrame(Surface surface, byte[] pixelBuffer, int width, argument
709 checkNotNull(pixelBuffer);
713 LegacyExceptionUtils.throwOnError(nativeProduceFrame(surface, pixelBuffer, width, height,
828 private static native int nativeProduceFrame(Surface surface, byte[] pixelBuffer, int width, argument
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp158 * pixelBuffer - image buffer to generate a frame from.
159 * width - width of the pixelBuffer in pixels.
160 * height - height of the pixelBuffer in pixels.
161 * pixelFmt - format of the pixelBuffer, one of:
165 * bufSize - the size of the pixelBuffer in bytes.
168 uint8_t* pixelBuffer,
169 int32_t bufWidth, // Width of the pixelBuffer
170 int32_t bufHeight, // Height of the pixelBuffer
171 int32_t pixelFmt, // Format of the pixelBuffer
182 } else if (pixelBuffer
167 produceFrame(const sp<ANativeWindow>& anw, uint8_t* pixelBuffer, int32_t bufWidth, int32_t bufHeight, int32_t pixelFmt, int32_t bufSize) argument
602 LegacyCameraDevice_nativeProduceFrame(JNIEnv* env, jobject thiz, jobject surface, jbyteArray pixelBuffer, jint width, jint height, jint pixelFormat) argument
[all...]
/frameworks/base/libs/hwui/font/
H A DFont.cpp211 PixelBuffer* pixelBuffer = cacheTexture->getPixelBuffer(); local
213 uint32_t formatSize = PixelBuffer::formatSize(pixelBuffer->getFormat());
214 uint32_t alpha_channel_offset = PixelBuffer::formatAlphaOffset(pixelBuffer->getFormat());
220 const uint8_t* cacheBuffer = pixelBuffer->map();

Completed in 10 milliseconds