mirror of https://git.ffmpeg.org/ffmpeg.git
libpostproc/postprocess_template: Don't reimplement FFSWAP
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
a412b5e792
commit
5d10e21809
|
@ -3595,7 +3595,6 @@ static void RENAME(postProcess)(const uint8_t src[], int srcStride, uint8_t dst[
|
||||||
|
|
||||||
for(x = startx, qp_index=0; x < endx; x+=BLOCK_SIZE, qp_index++){
|
for(x = startx, qp_index=0; x < endx; x+=BLOCK_SIZE, qp_index++){
|
||||||
const int stride= dstStride;
|
const int stride= dstStride;
|
||||||
av_unused uint8_t *tmpXchg;
|
|
||||||
c.QP = c.QP_block[qp_index];
|
c.QP = c.QP_block[qp_index];
|
||||||
c.nonBQP = c.nonBQP_block[qp_index];
|
c.nonBQP = c.nonBQP_block[qp_index];
|
||||||
c.pQPb = c.pQPb_block[qp_index];
|
c.pQPb = c.pQPb_block[qp_index];
|
||||||
|
@ -3668,9 +3667,7 @@ static void RENAME(postProcess)(const uint8_t src[], int srcStride, uint8_t dst[
|
||||||
srcBlock+=8;
|
srcBlock+=8;
|
||||||
|
|
||||||
#if TEMPLATE_PP_MMX
|
#if TEMPLATE_PP_MMX
|
||||||
tmpXchg= tempBlock1;
|
FFSWAP(uint8_t *, tempBlock1, tempBlock2);
|
||||||
tempBlock1= tempBlock2;
|
|
||||||
tempBlock2 = tmpXchg;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue