Lines Matching refs:b_ptr
315 const uint8_t* const b_ptr,
324 dst[3 * i + 2] = UpLift(b_ptr[off]);
425 const uint8_t* const b_ptr,
471 ImportOneRow(r_ptr + off1, g_ptr + off1, b_ptr + off1,
474 ImportOneRow(r_ptr + off2, g_ptr + off2, b_ptr + off2,
747 const uint8_t* const b_ptr,
754 dst_y[i] = RGBToY(r_ptr[j], g_ptr[j], b_ptr[j], rg);
760 const uint8_t* const b_ptr,
772 b = SUM4(b_ptr + j, 4);
776 b = LinearToGammaWeighted(b_ptr + j, a_ptr + j, a, 4, rgb_stride);
789 b = SUM2(b_ptr + j);
793 b = LinearToGammaWeighted(b_ptr + j, a_ptr + j, a, 0, rgb_stride);
804 const uint8_t* const b_ptr,
811 dst[2] = SUM4(b_ptr + j, step);
816 dst[2] = SUM2(b_ptr + j);
835 const uint8_t* const b_ptr,
846 const int is_rgb = (r_ptr < b_ptr); // otherwise it's bgr
870 if (!PreprocessARGB(r_ptr, g_ptr, b_ptr, step, rgb_stride, picture)) {
910 WebPConvertBGR24ToY(b_ptr + off1, dst_y, width);
911 WebPConvertBGR24ToY(b_ptr + off2, dst_y + picture->y_stride, width);
914 ConvertRowToY(r_ptr + off1, g_ptr + off1, b_ptr + off1, step,
916 ConvertRowToY(r_ptr + off2, g_ptr + off2, b_ptr + off2, step,
928 AccumulateRGB(r_ptr + off1, g_ptr + off1, b_ptr + off1,
931 AccumulateRGBA(r_ptr + off1, g_ptr + off1, b_ptr + off1, a_ptr + off1,
947 if (r_ptr < b_ptr) {
950 WebPConvertBGR24ToY(b_ptr + off, dst_y, width);
953 ConvertRowToY(r_ptr + off, g_ptr + off, b_ptr + off, step,
962 AccumulateRGB(r_ptr + off, g_ptr + off, b_ptr + off,
965 AccumulateRGBA(r_ptr + off, g_ptr + off, b_ptr + off, a_ptr + off,
1091 const uint8_t* const b_ptr = rgb + (swap_rb ? 0 : 2);
1097 return ImportYUVAFromRGBA(r_ptr, g_ptr, b_ptr, a_ptr, step, rgb_stride,
1110 b_ptr + offset, width, dst);
1117 VP8PackRGB(r_ptr + offset, g_ptr + offset, b_ptr + offset,