Lines Matching refs:a_ptr

742                                              const uint8_t* a_ptr,  in LinearToGammaWeighted()  argument
746 a_ptr[0] * GammaToLinear(src[0]) + in LinearToGammaWeighted()
747 a_ptr[step] * GammaToLinear(src[step]) + in LinearToGammaWeighted()
748 a_ptr[rgb_stride] * GammaToLinear(src[rgb_stride]) + in LinearToGammaWeighted()
749 a_ptr[rgb_stride + step] * GammaToLinear(src[rgb_stride + step]); in LinearToGammaWeighted()
773 const uint8_t* const a_ptr, in ConvertRowsToUVWithAlpha() argument
782 const uint32_t a = SUM4ALPHA(a_ptr + j); in ConvertRowsToUVWithAlpha()
789 r = LinearToGammaWeighted(r_ptr + j, a_ptr + j, a, 4, rgb_stride); in ConvertRowsToUVWithAlpha()
790 g = LinearToGammaWeighted(g_ptr + j, a_ptr + j, a, 4, rgb_stride); in ConvertRowsToUVWithAlpha()
791 b = LinearToGammaWeighted(b_ptr + j, a_ptr + j, a, 4, rgb_stride); in ConvertRowsToUVWithAlpha()
797 const uint32_t a = 2u * SUM2ALPHA(a_ptr + j); in ConvertRowsToUVWithAlpha()
804 r = LinearToGammaWeighted(r_ptr + j, a_ptr + j, a, 0, rgb_stride); in ConvertRowsToUVWithAlpha()
805 g = LinearToGammaWeighted(g_ptr + j, a_ptr + j, a, 0, rgb_stride); in ConvertRowsToUVWithAlpha()
806 b = LinearToGammaWeighted(b_ptr + j, a_ptr + j, a, 0, rgb_stride); in ConvertRowsToUVWithAlpha()
841 const uint8_t* const a_ptr, in ImportYUVAFromRGBA() argument
850 const int has_alpha = CheckNonOpaque(a_ptr, width, height, step, rgb_stride); in ImportYUVAFromRGBA()
878 WebPExtractAlpha(a_ptr, rgb_stride, width, height, in ImportYUVAFromRGBA()
907 rows_have_alpha &= !WebPExtractAlpha(a_ptr + off1, rgb_stride, in ImportYUVAFromRGBA()
917 a_ptr + off1, rgb_stride, in ImportYUVAFromRGBA()
929 row_has_alpha &= !WebPExtractAlpha(a_ptr + off, 0, width, 1, dst_a, 0); in ImportYUVAFromRGBA()
936 a_ptr + off, 0, in ImportYUVAFromRGBA()
1059 const uint8_t* const a_ptr = import_alpha ? rgb + 3 : NULL; in Import() local
1064 return ImportYUVAFromRGBA(r_ptr, g_ptr, b_ptr, a_ptr, step, rgb_stride, in Import()
1075 dst[x] = MakeARGB32(import_alpha ? a_ptr[offset] : 0xff, in Import()