Lines Matching refs:g_ptr
332 const uint8_t* const g_ptr, in ImportOneRow() argument
342 dst[i + 1 * w] = UpLift(g_ptr[off]); in ImportOneRow()
446 const uint8_t* g_ptr, in PreprocessARGB() argument
493 ImportOneRow(r_ptr, g_ptr, b_ptr, step, picture->width, src1); in PreprocessARGB()
495 ImportOneRow(r_ptr + rgb_stride, g_ptr + rgb_stride, b_ptr + rgb_stride, in PreprocessARGB()
512 g_ptr += 2 * rgb_stride; in PreprocessARGB()
755 const uint8_t* const g_ptr, in ConvertRowToY() argument
763 dst_y[i] = RGBToY(r_ptr[j], g_ptr[j], b_ptr[j], rg); in ConvertRowToY()
768 const uint8_t* const g_ptr, in AccumulateRGBA() argument
780 g = SUM4(g_ptr + j, 4); in AccumulateRGBA()
784 g = LinearToGammaWeighted(g_ptr + j, a_ptr + j, a, 4, rgb_stride); in AccumulateRGBA()
797 g = SUM2(g_ptr + j); in AccumulateRGBA()
801 g = LinearToGammaWeighted(g_ptr + j, a_ptr + j, a, 0, rgb_stride); in AccumulateRGBA()
812 const uint8_t* const g_ptr, in AccumulateRGB() argument
819 dst[1] = SUM4(g_ptr + j, step); in AccumulateRGB()
824 dst[1] = SUM2(g_ptr + j); in AccumulateRGB()
843 const uint8_t* g_ptr, in ImportYUVAFromRGBA() argument
878 if (!PreprocessARGB(r_ptr, g_ptr, b_ptr, step, rgb_stride, picture)) { in ImportYUVAFromRGBA()
922 ConvertRowToY(r_ptr, g_ptr, b_ptr, step, dst_y, width, rg); in ImportYUVAFromRGBA()
924 g_ptr + rgb_stride, in ImportYUVAFromRGBA()
936 AccumulateRGB(r_ptr, g_ptr, b_ptr, step, rgb_stride, tmp_rgb, width); in ImportYUVAFromRGBA()
938 AccumulateRGBA(r_ptr, g_ptr, b_ptr, a_ptr, rgb_stride, tmp_rgb, width); in ImportYUVAFromRGBA()
950 g_ptr += 2 * rgb_stride; in ImportYUVAFromRGBA()
962 ConvertRowToY(r_ptr, g_ptr, b_ptr, step, dst_y, width, rg); in ImportYUVAFromRGBA()
970 AccumulateRGB(r_ptr, g_ptr, b_ptr, step, /* rgb_stride = */ 0, in ImportYUVAFromRGBA()
973 AccumulateRGBA(r_ptr, g_ptr, b_ptr, a_ptr, /* rgb_stride = */ 0, in ImportYUVAFromRGBA()
1104 const uint8_t* g_ptr = rgb + 1; in Import() local
1111 return ImportYUVAFromRGBA(r_ptr, g_ptr, b_ptr, a_ptr, step, rgb_stride, in Import()
1135 WebPPackARGB(a_ptr, r_ptr, g_ptr, b_ptr, width, dst); in Import()
1137 g_ptr += rgb_stride; in Import()
1151 WebPPackRGB(r_ptr, g_ptr, b_ptr, width, step, dst); in Import()
1153 g_ptr += rgb_stride; in Import()