Opened 10 years ago

Last modified 9 years ago

#1533 new defect

ffvorbis decoder always decodes to 16 bits

Reported by: hhaamu@… Owned by: reimar
Priority: normal Component: ad
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

The vorbis decoder in libavcodec always translates its internal float decode to 16-bit linear PCM, no matter what the user asks for with the -format switch.

vc->dsp.float_to_int16(data, vc->ret, len);

For "-format floatne", removing that conversion would throw away one bottleneck.

Attachments (1)

mplayerfloatvorbis-v1.diff (5.0 KB) - added by hhaamu@… 10 years ago.
patch

Download all attachments as: .zip

Change History (4)

comment:1 Changed 10 years ago by hhaamu@…

  • Version changed from 1.0rc2 to HEAD

Changed 10 years ago by hhaamu@…

patch

comment:2 Changed 10 years ago by hhaamu@…

something like this, perhaps

comment:3 Changed 9 years ago by compn

  • Owner changed from r_togni@… to reimar
Note: See TracTickets for help on using tickets.