Lines Matching refs:b_ptr
333 const uint8_t* const b_ptr, in ImportOneRow() argument
343 dst[i + 2 * w] = UpLift(b_ptr[off]); in ImportOneRow()
447 const uint8_t* b_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()
513 b_ptr += 2 * rgb_stride; in PreprocessARGB()
756 const uint8_t* const b_ptr, in ConvertRowToY() argument
763 dst_y[i] = RGBToY(r_ptr[j], g_ptr[j], b_ptr[j], rg); in ConvertRowToY()
769 const uint8_t* const b_ptr, in AccumulateRGBA() argument
781 b = SUM4(b_ptr + j, 4); in AccumulateRGBA()
785 b = LinearToGammaWeighted(b_ptr + j, a_ptr + j, a, 4, rgb_stride); in AccumulateRGBA()
798 b = SUM2(b_ptr + j); in AccumulateRGBA()
802 b = LinearToGammaWeighted(b_ptr + j, a_ptr + j, a, 0, rgb_stride); in AccumulateRGBA()
813 const uint8_t* const b_ptr, in AccumulateRGB() argument
820 dst[2] = SUM4(b_ptr + j, step); in AccumulateRGB()
825 dst[2] = SUM2(b_ptr + j); in AccumulateRGB()
844 const uint8_t* b_ptr, in ImportYUVAFromRGBA() argument
855 const int is_rgb = (r_ptr < b_ptr); // otherwise it's bgr in ImportYUVAFromRGBA()
878 if (!PreprocessARGB(r_ptr, g_ptr, b_ptr, step, rgb_stride, picture)) { in ImportYUVAFromRGBA()
917 WebPConvertBGR24ToY(b_ptr, dst_y, width); in ImportYUVAFromRGBA()
918 WebPConvertBGR24ToY(b_ptr + rgb_stride, in ImportYUVAFromRGBA()
922 ConvertRowToY(r_ptr, g_ptr, b_ptr, step, dst_y, width, rg); in ImportYUVAFromRGBA()
925 b_ptr + rgb_stride, step, 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()
949 b_ptr += 2 * rgb_stride; in ImportYUVAFromRGBA()
956 if (r_ptr < b_ptr) { in ImportYUVAFromRGBA()
959 WebPConvertBGR24ToY(b_ptr, dst_y, width); 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()
1105 const uint8_t* b_ptr = rgb + (swap_rb ? 0 : 2); 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()
1138 b_ptr += rgb_stride; in Import()
1151 WebPPackRGB(r_ptr, g_ptr, b_ptr, width, step, dst); in Import()
1154 b_ptr += rgb_stride; in Import()