Lines Matching refs:g_ptr
328 const uint8_t* const g_ptr, in ImportOneRow() argument
338 dst[i + 1 * w] = UpLift(g_ptr[off]); in ImportOneRow()
442 const uint8_t* g_ptr, in PreprocessARGB() argument
489 ImportOneRow(r_ptr, g_ptr, b_ptr, step, picture->width, src1); in PreprocessARGB()
491 ImportOneRow(r_ptr + rgb_stride, g_ptr + rgb_stride, b_ptr + rgb_stride, in PreprocessARGB()
508 g_ptr += 2 * rgb_stride; in PreprocessARGB()
751 const uint8_t* const g_ptr, in ConvertRowToY() argument
759 dst_y[i] = RGBToY(r_ptr[j], g_ptr[j], b_ptr[j], rg); in ConvertRowToY()
764 const uint8_t* const g_ptr, in AccumulateRGBA() argument
776 g = SUM4(g_ptr + j, 4); in AccumulateRGBA()
780 g = LinearToGammaWeighted(g_ptr + j, a_ptr + j, a, 4, rgb_stride); in AccumulateRGBA()
793 g = SUM2(g_ptr + j); in AccumulateRGBA()
797 g = LinearToGammaWeighted(g_ptr + j, a_ptr + j, a, 0, rgb_stride); in AccumulateRGBA()
808 const uint8_t* const g_ptr, in AccumulateRGB() argument
815 dst[1] = SUM4(g_ptr + j, step); in AccumulateRGB()
820 dst[1] = SUM2(g_ptr + j); in AccumulateRGB()
839 const uint8_t* g_ptr, in ImportYUVAFromRGBA() argument
874 if (!PreprocessARGB(r_ptr, g_ptr, b_ptr, step, rgb_stride, picture)) { in ImportYUVAFromRGBA()
918 ConvertRowToY(r_ptr, g_ptr, b_ptr, step, dst_y, width, rg); in ImportYUVAFromRGBA()
920 g_ptr + rgb_stride, in ImportYUVAFromRGBA()
932 AccumulateRGB(r_ptr, g_ptr, b_ptr, step, rgb_stride, tmp_rgb, width); in ImportYUVAFromRGBA()
934 AccumulateRGBA(r_ptr, g_ptr, b_ptr, a_ptr, rgb_stride, tmp_rgb, width); in ImportYUVAFromRGBA()
946 g_ptr += 2 * rgb_stride; in ImportYUVAFromRGBA()
958 ConvertRowToY(r_ptr, g_ptr, b_ptr, step, dst_y, width, rg); in ImportYUVAFromRGBA()
966 AccumulateRGB(r_ptr, g_ptr, b_ptr, step, /* rgb_stride = */ 0, in ImportYUVAFromRGBA()
969 AccumulateRGBA(r_ptr, g_ptr, b_ptr, a_ptr, /* rgb_stride = */ 0, in ImportYUVAFromRGBA()
1100 const uint8_t* g_ptr = rgb + 1; in Import() local
1107 return ImportYUVAFromRGBA(r_ptr, g_ptr, b_ptr, a_ptr, step, rgb_stride, in Import()
1131 WebPPackARGB(a_ptr, r_ptr, g_ptr, b_ptr, width, dst); in Import()
1133 g_ptr += rgb_stride; in Import()
1147 WebPPackRGB(r_ptr, g_ptr, b_ptr, width, step, dst); in Import()
1149 g_ptr += rgb_stride; in Import()