mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
bfin: Don't use the vp3 idct functions if bitexact behaviour is expected
In the non-bitexact mode, vp3 currently decodes to the same
frame crcs as before 28f9ab702
(and the output visually looks
correct).
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
f4b0d12f5b
commit
aa8d89536d
@ -53,6 +53,8 @@ void ff_bfin_vp3_idct_add (uint8_t *dest, int line_size, int16_t *block)
|
||||
|
||||
av_cold void ff_vp3dsp_init_bfin(VP3DSPContext *c, int flags)
|
||||
{
|
||||
c->idct_add = ff_bfin_vp3_idct_add;
|
||||
c->idct_put = ff_bfin_vp3_idct_put;
|
||||
if (!(flags & CODEC_FLAG_BITEXACT)) {
|
||||
c->idct_add = ff_bfin_vp3_idct_add;
|
||||
c->idct_put = ff_bfin_vp3_idct_put;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user