Home
last modified time | relevance | path

Searched refs:YuvFormat (Results 1 – 9 of 9) sorted by relevance

/frameworks/rs/toolkit/test/
DIntrinsicYuvToRgb.kt25 import android.renderscript.toolkit.YuvFormat
35 format: YuvFormat in intrinsicYuvToRgb()
45 YuvFormat.NV21 -> inputBuilder.setYuvFormat(ImageFormat.NV21) in intrinsicYuvToRgb()
46 YuvFormat.YV12 -> inputBuilder.setYuvFormat(ImageFormat.YV12) in intrinsicYuvToRgb()
DReferenceYuvToRgb.kt19 import android.renderscript.toolkit.YuvFormat
26 fun referenceYuvToRgb(inputSignedArray: ByteArray, sizeX: Int, sizeY: Int, format: YuvFormat): Byte… in referenceYuvToRgb()
34 YuvFormat.NV21 -> { in referenceYuvToRgb()
53 YuvFormat.YV12 -> { in referenceYuvToRgb()
DBufferUtils.kt25 import android.renderscript.toolkit.YuvFormat
352 fun randomYuvArray(seed: Long, sizeX: Int, sizeY: Int, format: YuvFormat): ByteArray { in randomYuvArray()
359 YuvFormat.YV12 -> { in randomYuvArray()
363 YuvFormat.NV21 -> totalSize = sizeX * sizeY + halfSizeX * halfSizeY * 2 in randomYuvArray()
DAllTests.kt29 import android.renderscript.toolkit.YuvFormat in <lambda>()
1060 YuvFormat.values().all { format -> in <lambda>()
1072 format: YuvFormat in <lambda>()
1075 if (format == YuvFormat.YV12 && sizeX % 32 != 0) { in <lambda>()
1106 format: YuvFormat in <lambda>()
1109 if (format == YuvFormat.YV12 && sizeX % 32 != 0) { in <lambda>()
/frameworks/rs/toolkit/
DYuvToRgb.cpp49 RenderScriptToolkit::YuvFormat format) in YuvToRgbTask()
52 case RenderScriptToolkit::YuvFormat::NV21:
61 case RenderScriptToolkit::YuvFormat::YV12:
235 size_t sizeY, YuvFormat format) { in yuvToRgb()
DRenderScriptToolkit.h511 enum class YuvFormat { enum
534 YuvFormat format);
DJniEntryPoints.cpp468 static_cast<RenderScriptToolkit::YuvFormat>(format)); in Java_android_renderscript_toolkit_Toolkit_nativeYuvToRgb()
479 static_cast<RenderScriptToolkit::YuvFormat>(format)); in Java_android_renderscript_toolkit_Toolkit_nativeYuvToRgbBitmap()
/frameworks/rs/toolkit/java/
DToolkit.kt1053 fun yuvToRgb(inputArray: ByteArray, sizeX: Int, sizeY: Int, format: YuvFormat): ByteArray { in yuvToRgb()
1079 fun yuvToRgbBitmap(inputArray: ByteArray, sizeX: Int, sizeY: Int, format: YuvFormat): Bitmap { in yuvToRgbBitmap()
1423 enum class YuvFormat(val value: Int) { class
/frameworks/rs/
DrsHidlAdaptation.cpp45 using ::android::hardware::renderscript::V1_0::YuvFormat;
415 (YuvFormat) yuv); in TypeCreate()