Lines Matching refs:a_ptr
728 const uint8_t* a_ptr,
732 a_ptr[0] * GammaToLinear(src[0]) +
733 a_ptr[step] * GammaToLinear(src[step]) +
734 a_ptr[rgb_stride] * GammaToLinear(src[rgb_stride]) +
735 a_ptr[rgb_stride + step] * GammaToLinear(src[rgb_stride + step]);
759 const uint8_t* const a_ptr,
765 const uint32_t a = SUM4ALPHA(a_ptr + j);
772 r = LinearToGammaWeighted(r_ptr + j, a_ptr + j, a, 4, rgb_stride);
773 g = LinearToGammaWeighted(g_ptr + j, a_ptr + j, a, 4, rgb_stride);
774 b = LinearToGammaWeighted(b_ptr + j, a_ptr + j, a, 4, rgb_stride);
782 const uint32_t a = 2u * SUM2ALPHA(a_ptr + j);
789 r = LinearToGammaWeighted(r_ptr + j, a_ptr + j, a, 0, rgb_stride);
790 g = LinearToGammaWeighted(g_ptr + j, a_ptr + j, a, 0, rgb_stride);
791 b = LinearToGammaWeighted(b_ptr + j, a_ptr + j, a, 0, rgb_stride);
834 const uint8_t* a_ptr,
843 const int has_alpha = CheckNonOpaque(a_ptr, width, height, step, rgb_stride);
872 WebPExtractAlpha(a_ptr, rgb_stride, width, height,
920 rows_have_alpha &= !WebPExtractAlpha(a_ptr, rgb_stride, width, 2,
928 AccumulateRGBA(r_ptr, g_ptr, b_ptr, a_ptr, rgb_stride, tmp_rgb, width);
941 if (has_alpha) a_ptr += 2 * rgb_stride;
955 row_has_alpha &= !WebPExtractAlpha(a_ptr, 0, width, 1, dst_a, 0);
963 AccumulateRGBA(r_ptr, g_ptr, b_ptr, a_ptr, /* rgb_stride = */ 0,
1094 const uint8_t* a_ptr = import_alpha ? rgb + 3 : NULL;
1099 return ImportYUVAFromRGBA(r_ptr, g_ptr, b_ptr, a_ptr, step, rgb_stride,
1110 VP8PackARGB(a_ptr, r_ptr, g_ptr, b_ptr, width, dst);
1111 a_ptr += rgb_stride;