[FFmpeg-trac] #2388(undetermined:closed): ape: fail to seek
FFmpeg
trac at avcodec.org
Mon Mar 25 21:54:56 CET 2013
#2388: ape: fail to seek
-------------------------------------+-------------------------------------
Reporter: ami_stuff | Owner:
Type: defect | Status: closed
Priority: normal | Component:
Version: git-master | undetermined
Keywords: ape | Resolution: invalid
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by DonMoir):
I am able to seek to any real time position on the test_2.ape file but
it's slow. The bottleneck is in do_apply_filter of apedec.c when it calls:
{{{
res = ctx->dsp.scalarproduct_and_madd_int16(f->coeffs, f->delay -
order,
f->adaptcoeffs - order,order, APESIGN(*data));
}}}
APESIGN(*data) is always either -1, 0, or +1, so it seems it could be
optimized on that and maybe table driven. I would have to think that it's
been looked at in that regard but don't know. Not sure if it's worth the
effort but something to think about.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2388#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list