Searched refs:pixels (Results 1 - 6 of 6) sorted by relevance

/system/media/mca/filterpacks/performance/java/
H A DThroughput.java30 public Throughput(int totalFrames, int periodFrames, int periodTime, int pixels) { argument
34 mPixels = pixels;
/system/media/mca/filterfw/native/core/
H A Dgl_frame.h66 // Copies the pixels from another GL frame to this frame.
141 // Copies pixels from texture or FBO to the specified buffer.
144 // Reads the pixels from the internal texture to the given buffer.
145 bool ReadTexturePixels(uint8_t* pixels) const;
147 // Reads the pixels from the internal FBO to the given buffer.
148 bool ReadFboPixels(uint8_t* pixels) const;
150 // Writes the specified pixels to the internal texture.
151 bool UploadTexturePixels(const uint8_t* pixels);
H A Dgl_frame.cpp347 bool GLFrame::ReadFboPixels(uint8_t* pixels) const {
356 pixels);
362 bool GLFrame::ReadTexturePixels(uint8_t* pixels) const {
363 // Read pixels from texture if we do not have an FBO
388 return target.ReadFboPixels(pixels);
448 bool GLFrame::UploadTexturePixels(const uint8_t* pixels) { argument
454 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
/system/media/mca/filterfw/jni/
H A Djni_gl_frame.cpp201 // Read the frame pixels
202 uint8_t* pixels = new uint8_t[frame->Size()]; local
203 frame->CopyDataTo(pixels, frame->Size());
206 ConvertRGBAToFloats(pixels, frame->Size(), float_array);
209 delete[] pixels;
222 uint8_t* pixels; local
223 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&pixels));
225 const bool success = frame->WriteData(pixels, size);
238 uint8_t* pixels; local
239 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&pixels));
[all...]
/system/media/mca/filterpacks/imageproc/java/
H A DAutoFixFilter.java279 int pixels = (width - 2 * x_border_thickness) * (height - 2 * y_border_thickness);
296 long temp = (256 * 256 - 1l) * histArray[i] / pixels;
/system/extras/tests/bionic/libc/other/
H A Dtest_jpeg.c147 char* pixels; local

Completed in 340 milliseconds