Home | History | Annotate | Download | only in main

Lines Matching defs:luminance

494     * Converting to luminance also requires converting to RGBA first, so we can
495 * then compute luminance values as L=R+G+B. Notice that this is different
571 * If the dst format is Luminance, we need to do the conversion by computing
580 /* Compute float Luminance values from RGBA float */
582 void *luminance;
589 luminance = malloc(luminance_bytes);
590 if (!luminance) {
596 luminance, format, transferOps);
598 /* Convert from Luminance float to dst (this will hadle type conversion
603 luminance, luminance_format, luminance_stride,
605 free(luminance);