summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
40cf1ad)
The input is not guaranteed to be aligned.
for (i = 0; i < h; i++) {
uint32_t a, b;
for (i = 0; i < h; i++) {
uint32_t a, b;
- a = AV_RN32A(&src1[i * stride]);
- b = AV_RN32A(&src2[i * stride]);
+ a = AV_RN32(&src1[i * stride]);
+ b = AV_RN32(&src2[i * stride]);
AV_WN32A(&dst[i * stride], no_rnd_avg32(a, b));
AV_WN32A(&dst[i * stride], no_rnd_avg32(a, b));
- a = AV_RN32A(&src1[i * stride + 4]);
- b = AV_RN32A(&src2[i * stride + 4]);
+ a = AV_RN32(&src1[i * stride + 4]);
+ b = AV_RN32(&src2[i * stride + 4]);
AV_WN32A(&dst[i * stride + 4], no_rnd_avg32(a, b));
}
}
AV_WN32A(&dst[i * stride + 4], no_rnd_avg32(a, b));
}
}