Fix MIPS DSP optimized fetchUntransformed
These have been wrong since being introduced in 5.3. Change-Id: I5b4aa198c8d4c6726f1c5097abe8d43275722dab Reviewed-by: Ljubomir Papuga <ljubomir.papuga@imgtec.com> Reviewed-by: Gunnar Sletta <gunnar@sletta.org>bb10
parent
ec29c76e18
commit
8135e52cb4
|
|
@ -489,7 +489,7 @@ void QT_FASTCALL comp_func_SourceOut_mips_dsp(uint *dest, const uint *src, int l
|
|||
const uint * QT_FASTCALL qt_fetchUntransformed_888_mips_dsp (uint *buffer, const Operator *, const QSpanData *data,
|
||||
int y, int x, int length)
|
||||
{
|
||||
uchar *line = (uchar *)data->texture.scanLine(y) + x;
|
||||
const uchar *line = data->texture.scanLine(y) + x * 3;
|
||||
fetchUntransformed_888_asm_mips_dsp(buffer, line, length);
|
||||
return buffer;
|
||||
}
|
||||
|
|
@ -497,7 +497,7 @@ const uint * QT_FASTCALL qt_fetchUntransformed_888_mips_dsp (uint *buffer, const
|
|||
const uint * QT_FASTCALL qt_fetchUntransformed_444_mips_dsp (uint *buffer, const Operator *, const QSpanData *data,
|
||||
int y, int x, int length)
|
||||
{
|
||||
uchar *line = (uchar *)data->texture.scanLine(y) + x;
|
||||
const uchar *line = data->texture.scanLine(y) + x * 2;
|
||||
fetchUntransformed_444_asm_mips_dsp(buffer, line, length);
|
||||
return buffer;
|
||||
}
|
||||
|
|
@ -505,7 +505,7 @@ const uint * QT_FASTCALL qt_fetchUntransformed_444_mips_dsp (uint *buffer, const
|
|||
const uint * QT_FASTCALL qt_fetchUntransformed_argb8565_premultiplied_mips_dsp (uint *buffer, const Operator *, const QSpanData *data,
|
||||
int y, int x, int length)
|
||||
{
|
||||
uchar *line = (uchar *)data->texture.scanLine(y) + x;
|
||||
const uchar *line = data->texture.scanLine(y) + x * 3;
|
||||
fetchUntransformed_argb8565_premultiplied_asm_mips_dsp(buffer, line, length);
|
||||
return buffer;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue