• Home
  • Raw
  • Download

Lines Matching refs:argb

32   uint32_t argb;  member
129 memory = WebPSafeMalloc(argb_size, sizeof(*picture->argb)); in WebPPictureAlloc()
134 picture->argb = (uint32_t*)memory; in WebPPictureAlloc()
144 picture->argb = NULL; in PictureResetARGB()
180 picture->argb = tmp.argb; in PictureAllocARGB()
263 CopyPlane((const uint8_t*)src->argb, 4 * src->argb_stride, in WebPPictureCopy()
264 (uint8_t*)dst->argb, 4 * dst->argb_stride, in WebPPictureCopy()
311 dst->argb = src->argb + top * src->argb_stride + left; in WebPPictureView()
363 (const uint8_t*)(pic->argb + top * pic->argb_stride + left); in WebPPictureCrop()
365 (uint8_t*)tmp.argb, tmp.argb_stride * 4, in WebPPictureCrop()
462 RescalePlane((const uint8_t*)pic->argb, prev_width, prev_height, in WebPPictureRescale()
464 (uint8_t*)tmp.argb, width, height, in WebPPictureRescale()
540 const uint32_t* argb = picture->argb; in WebPPictureHasTransparency() local
541 if (argb == NULL) return 0; in WebPPictureHasTransparency()
544 if (argb[x] < 0xff000000u) return 1; // test any alpha values != 0xff in WebPPictureHasTransparency()
546 argb += picture->argb_stride; in WebPPictureHasTransparency()
700 const uint32_t argb = in Import() local
705 picture->argb[x + y * picture->argb_stride] = argb; in Import()
714 const uint32_t argb = ((uint32_t)a_ptr[offset] << 24) | in Import() local
718 picture->argb[x + y * picture->argb_stride] = argb; in Import()
784 uint8_t* dst = (uint8_t*)picture->argb; in WebPPictureYUVAToARGB()
810 uint32_t* const argb_dst = picture->argb + y * picture->argb_stride; in WebPPictureYUVAToARGB()
824 if (picture->argb == NULL) { in WebPPictureARGBToYUVA()
827 const uint8_t* const argb = (const uint8_t*)picture->argb; in WebPPictureARGBToYUVA() local
828 const uint8_t* const r = ALPHA_IS_LAST ? argb + 2 : argb + 1; in WebPPictureARGBToYUVA()
829 const uint8_t* const g = ALPHA_IS_LAST ? argb + 1 : argb + 2; in WebPPictureARGBToYUVA()
830 const uint8_t* const b = ALPHA_IS_LAST ? argb + 0 : argb + 3; in WebPPictureARGBToYUVA()
831 const uint8_t* const a = ALPHA_IS_LAST ? argb + 3 : argb + 0; in WebPPictureARGBToYUVA()
842 tmp.argb = picture->argb; in WebPPictureARGBToYUVA()