Lines Matching defs:bgr
410 unsigned int bgr = palette[((unsigned char*)element)[0]];
412 r = (bgr & 0x000000FF) * (1.0f / 0x000000FF);
413 g = (bgr & 0x0000FF00) * (1.0f / 0x0000FF00);
414 b = (bgr & 0x00FF0000) * (1.0f / 0x00FF0000);
584 signed char* bgr = (signed char*)element;
586 r = max(bgr[0] * (1.0f / 0x7F), -1.0f);
587 g = max(bgr[1] * (1.0f / 0x7F), -1.0f);
588 b = max(bgr[2] * (1.0f / 0x7F), -1.0f);
603 signed char* bgr = (signed char*)element;
605 r = bgr[0];
606 g = bgr[1];
607 b = bgr[2];
612 unsigned char* bgr = (unsigned char*)element;
614 r = bgr[0];
615 g = bgr[1];
616 b = bgr[2];
729 short* bgr = (short*)element;
731 r = bgr[0];
732 g = bgr[1];
733 b = bgr[2];
738 unsigned short* bgr = (unsigned short*)element;
740 r = bgr[0];
741 g = bgr[1];
742 b = bgr[2];
767 int* bgr = (int*)element;
769 r = static_cast<float>(bgr[0]);
770 g = static_cast<float>(bgr[1]);
771 b = static_cast<float>(bgr[2]);
776 unsigned int* bgr = (unsigned int*)element;
778 r = static_cast<float>(bgr[0]);
779 g = static_cast<float>(bgr[1]);
780 b = static_cast<float>(bgr[2]);