Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp418 int32_t width, height, surfaceHalFormat; in ImageWriter_init() local
457 if ((res = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &surfaceHalFormat)) != OK) { in ImageWriter_init()
488 surfaceHalFormat = hardwareBufferFormat; in ImageWriter_init()
491 ctx->setBufferFormat(surfaceHalFormat); in ImageWriter_init()
496 surfaceHalFormat, static_cast<android_dataspace>(surfaceDataspace))); in ImageWriter_init()
502 if (!(ndkUsage == -1 && isFormatOpaque(surfaceHalFormat))) { in ImageWriter_init()