History

avcodec/dca: use LUT for LBR frequency ranges

Values for unsupported frequencies > 48000 Hz are still included (parser will make use of them). Also convert sampling frequencies array to unsigned.

foo86 committed 10 years ago

Commit 64fe1ee1 parent 801dbf03 files · +12 −12Browse files

Showing the changes to libavcodec/dcadata.h (1 of 3 files). Show all

Unified · Split

libavcodec/dcadata.h+2−1
@@ -71,7 +71,8 @@ extern const uint16_t ff_dca_xll_refl_coeff[128]; · 70 unmodified lines
7171
7272 extern const int32_t ff_dca_xll_band_coeff[20];
7373
74−extern const int32_t ff_dca_sampling_freqs[16];
74+extern const uint32_t ff_dca_sampling_freqs[16];
75+extern const uint8_t ff_dca_freq_ranges[16];
7576
7677 extern const uint16_t ff_dca_avg_g3_freqs[3];
7778

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t