Home
last modified time | relevance | path

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

/haiku/src/add-ons/translators/avif/
H A DAVIFTranslator.cpp313 uint8_t* luma = static_cast<uint8_t*>(malloc(bitsSize / 3)); in _TranslateFromBits() local
318 luma[i] = pixels[3 * i + 0]; in _TranslateFromBits()
323 image->yuvPlanes[0] = luma; in _TranslateFromBits()
335 uint8_t* luma = static_cast<uint8_t*>(malloc(bitsSize)); in _TranslateFromBits() local
336 if (stream->Read(luma, bitsSize) != bitsSize) in _TranslateFromBits()
339 image->yuvPlanes[0] = luma; in _TranslateFromBits()
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_maven.c209 uint8 luma; in gx00_maven_mode() local
219 luma = (uint8)(0x0a * brightness); in gx00_maven_mode()
220 if (luma > 0x0f) luma = 0x0f; in gx00_maven_mode()
222 MAVW(LUMA, luma); in gx00_maven_mode()
223 LOG(4,("MAVEN: LUMA setting - %x\n", luma)); in gx00_maven_mode()