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

/frameworks/av/include/media/stagefright/
H A DYUVImage.h56 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height);
60 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer);
68 static size_t bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height);
/frameworks/base/graphics/java/android/renderscript/
H A DType.java288 * @param yuvFormat {@link android.graphics.ImageFormat#YV12}, {@link android.graphics.ImageFormat#NV21}, or
291 public Builder setYuvFormat(int yuvFormat) { argument
292 switch (yuvFormat) {
303 mYuv = yuvFormat;
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DType.java266 * @param yuvFormat {@link android.graphics.ImageFormat#YV12} or {@link android.graphics.ImageFormat#NV21}
268 public Builder setYuvFormat(int yuvFormat) { argument
269 switch (yuvFormat) {
278 mYuv = yuvFormat;
/frameworks/av/media/libstagefright/yuv/
H A DYUVImage.cpp26 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height) { argument
27 mYUVFormat = yuvFormat;
31 size_t numberOfBytes = bufferSize(yuvFormat, width, height);
39 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer) { argument
40 mYUVFormat = yuvFormat;
50 size_t YUVImage::bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height) { argument
53 if (yuvFormat == YUV420Planar || yuvFormat == YUV420SemiPlanar) {

Completed in 100 milliseconds