Lines Matching refs:ref
59 static void CollectHistogram(const uint8_t* ref, const uint8_t* pred,
68 VP8FTransform(ref + VP8DspScan[j], pred + VP8DspScan[j], out);
104 dst[(x) + (y) * BPS] = clip_8b(ref[(x) + (y) * BPS] + ((v) >> 3))
110 static WEBP_INLINE void ITransformOne(const uint8_t* ref, const int16_t* in,
143 static void ITransform(const uint8_t* ref, const int16_t* in, uint8_t* dst,
145 ITransformOne(ref, in, dst);
147 ITransformOne(ref + 4, in + 16, dst + 4);
151 static void FTransform(const uint8_t* src, const uint8_t* ref, int16_t* out) {
154 for (i = 0; i < 4; ++i, src += BPS, ref += BPS) {
155 const int d0 = src[0] - ref[0]; // 9bit dynamic range ([-255,255])
156 const int d1 = src[1] - ref[1];
157 const int d2 = src[2] - ref[2];
158 const int d3 = src[3] - ref[3];
180 static void FTransform2(const uint8_t* src, const uint8_t* ref, int16_t* out) {
181 VP8FTransform(src, ref, out);
182 VP8FTransform(src + 4, ref + 4, out + 16);
554 static void Mean16x4(const uint8_t* ref, uint32_t dc[4]) {
560 avg += ref[x + y * BPS];
564 ref += 4; // go to next 4x4 block.