• Home
  • Raw
  • Download

Lines Matching refs:argb

580                                    uint32_t* const argb) {  in CopyTileWithPrediction()  argument
608 argb[pix] = VP8LSubPixels(current_row[col], predict); in CopyTileWithPrediction()
614 uint32_t* const argb, uint32_t* const argb_scratch, in VP8LResidualImage() argument
633 memcpy(current_tile_rows, &argb[tile_y_offset * width], in VP8LResidualImage()
647 argb_scratch, argb); in VP8LResidualImage()
657 const uint32_t a = argb[ix]; in VP8LResidualImage()
735 const uint32_t argb = argb_data[i]; in VP8LSubtractGreenFromBlueAndRed() local
736 const uint32_t green = (argb >> 8) & 0xff; in VP8LSubtractGreenFromBlueAndRed()
737 const uint32_t new_r = (((argb >> 16) & 0xff) - green) & 0xff; in VP8LSubtractGreenFromBlueAndRed()
738 const uint32_t new_b = ((argb & 0xff) - green) & 0xff; in VP8LSubtractGreenFromBlueAndRed()
739 argb_data[i] = (argb & 0xff00ff00) | (new_r << 16) | new_b; in VP8LSubtractGreenFromBlueAndRed()
763 const uint32_t argb = *data; in AddGreenToBlueAndRed() local
764 const uint32_t green = ((argb >> 8) & 0xff); in AddGreenToBlueAndRed()
765 uint32_t red_blue = (argb & 0x00ff00ffu); in AddGreenToBlueAndRed()
768 *data++ = (argb & 0xff00ff00u) | red_blue; in AddGreenToBlueAndRed()
806 uint32_t argb, int inverse) { in TransformColor() argument
807 const uint32_t green = argb >> 8; in TransformColor()
808 const uint32_t red = argb >> 16; in TransformColor()
810 uint32_t new_blue = argb; in TransformColor()
825 return (argb & 0xff00ff00u) | (new_red << 16) | (new_blue); in TransformColor()
829 uint32_t argb) { in TransformColorRed() argument
830 const uint32_t green = argb >> 8; in TransformColorRed()
831 uint32_t new_red = argb >> 16; in TransformColorRed()
838 uint32_t argb) { in TransformColorBlue() argument
839 const uint32_t green = argb >> 8; in TransformColorBlue()
840 const uint32_t red = argb >> 16; in TransformColorBlue()
841 uint8_t new_blue = argb; in TransformColorBlue()
847 static WEBP_INLINE int SkipRepeatedPixels(const uint32_t* const argb, in SkipRepeatedPixels() argument
849 const uint32_t v = argb[ix]; in SkipRepeatedPixels()
851 if (v == argb[ix - xsize] && in SkipRepeatedPixels()
852 argb[ix - 1] == argb[ix - xsize - 1] && in SkipRepeatedPixels()
853 argb[ix - 2] == argb[ix - xsize - 2] && in SkipRepeatedPixels()
854 argb[ix - 3] == argb[ix - xsize - 3]) { in SkipRepeatedPixels()
857 return v == argb[ix - 3] && v == argb[ix - 2] && v == argb[ix - 1]; in SkipRepeatedPixels()
859 return v == argb[ix - 3] && v == argb[ix - 2] && v == argb[ix - 1]; in SkipRepeatedPixels()
880 const uint32_t* const argb) { in GetBestColorTransformForTile() argument
909 if (SkipRepeatedPixels(argb, ix, xsize)) { in GetBestColorTransformForTile()
912 ++histo[TransformColorRed(green_to_red, argb[ix])]; // red. in GetBestColorTransformForTile()
939 if (SkipRepeatedPixels(argb, ix, xsize)) { in GetBestColorTransformForTile()
942 ++histo[TransformColorBlue(green_to_blue, red_to_blue, argb[ix])]; in GetBestColorTransformForTile()
978 uint32_t* const argb) { in CopyTileWithColorTransform() argument
995 argb[ix] = TransformColor(&color_transform, argb[ix], 0); in CopyTileWithColorTransform()
1001 uint32_t* const argb, uint32_t* image) { in VP8LColorSpaceTransform() argument
1033 argb); in VP8LColorSpaceTransform()
1037 color_transform, argb); in VP8LColorSpaceTransform()
1054 argb[ix] == argb[ix - 2] && in VP8LColorSpaceTransform()
1055 argb[ix] == argb[ix - 1]) { in VP8LColorSpaceTransform()
1059 argb[ix - 2] == argb[ix - width - 2] && in VP8LColorSpaceTransform()
1060 argb[ix - 1] == argb[ix - width - 1] && in VP8LColorSpaceTransform()
1061 argb[ix] == argb[ix - width]) { in VP8LColorSpaceTransform()
1064 ++accumulated_red_histo[(argb[ix] >> 16) & 0xff]; in VP8LColorSpaceTransform()
1065 ++accumulated_blue_histo[argb[ix] & 0xff]; in VP8LColorSpaceTransform()
1213 const uint32_t argb = *src++; in ConvertBGRAToRGB() local
1214 *dst++ = (argb >> 16) & 0xff; in ConvertBGRAToRGB()
1215 *dst++ = (argb >> 8) & 0xff; in ConvertBGRAToRGB()
1216 *dst++ = (argb >> 0) & 0xff; in ConvertBGRAToRGB()
1224 const uint32_t argb = *src++; in ConvertBGRAToRGBA() local
1225 *dst++ = (argb >> 16) & 0xff; in ConvertBGRAToRGBA()
1226 *dst++ = (argb >> 8) & 0xff; in ConvertBGRAToRGBA()
1227 *dst++ = (argb >> 0) & 0xff; in ConvertBGRAToRGBA()
1228 *dst++ = (argb >> 24) & 0xff; in ConvertBGRAToRGBA()
1236 const uint32_t argb = *src++; in ConvertBGRAToRGBA4444() local
1237 const uint8_t rg = ((argb >> 16) & 0xf0) | ((argb >> 12) & 0xf); in ConvertBGRAToRGBA4444()
1238 const uint8_t ba = ((argb >> 0) & 0xf0) | ((argb >> 28) & 0xf); in ConvertBGRAToRGBA4444()
1253 const uint32_t argb = *src++; in ConvertBGRAToRGB565() local
1254 const uint8_t rg = ((argb >> 16) & 0xf8) | ((argb >> 13) & 0x7); in ConvertBGRAToRGB565()
1255 const uint8_t gb = ((argb >> 5) & 0xe0) | ((argb >> 3) & 0x1f); in ConvertBGRAToRGB565()
1270 const uint32_t argb = *src++; in ConvertBGRAToBGR() local
1271 *dst++ = (argb >> 0) & 0xff; in ConvertBGRAToBGR()
1272 *dst++ = (argb >> 8) & 0xff; in ConvertBGRAToBGR()
1273 *dst++ = (argb >> 16) & 0xff; in ConvertBGRAToBGR()
1282 uint32_t argb = *src++; in CopyOrSwap() local
1287 __asm__ volatile("bswap %0" : "=r"(argb) : "0"(argb)); in CopyOrSwap()
1288 *(uint32_t*)dst = argb; in CopyOrSwap()
1290 argb = _byteswap_ulong(argb); in CopyOrSwap()
1291 *(uint32_t*)dst = argb; in CopyOrSwap()
1293 dst[0] = (argb >> 24) & 0xff; in CopyOrSwap()
1294 dst[1] = (argb >> 16) & 0xff; in CopyOrSwap()
1295 dst[2] = (argb >> 8) & 0xff; in CopyOrSwap()
1296 dst[3] = (argb >> 0) & 0xff; in CopyOrSwap()
1299 dst[0] = (argb >> 24) & 0xff; in CopyOrSwap()
1300 dst[1] = (argb >> 16) & 0xff; in CopyOrSwap()
1301 dst[2] = (argb >> 8) & 0xff; in CopyOrSwap()
1302 dst[3] = (argb >> 0) & 0xff; in CopyOrSwap()
1305 dst[0] = (argb >> 0) & 0xff; in CopyOrSwap()
1306 dst[1] = (argb >> 8) & 0xff; in CopyOrSwap()
1307 dst[2] = (argb >> 16) & 0xff; in CopyOrSwap()
1308 dst[3] = (argb >> 24) & 0xff; in CopyOrSwap()
1310 dst += sizeof(argb); in CopyOrSwap()