Opened 15 years ago

Last modified 13 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: no Analyzed by developer: no

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@… 15 years ago.
patch

Download all attachments as: .zip

Change History (4)

comment:1 by hhaamu@…, 15 years ago

Version: 1.0rc2HEAD

by hhaamu@…, 15 years ago

Attachment: mplayerfloatvorbis-v1.diff added

patch

comment:2 by hhaamu@…, 15 years ago

something like this, perhaps

comment:3 by compn, 13 years ago

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