comparison dsputil.h @ 10496:74b0c1a0851e libavcodec

Add ff_init_ff_cos_tabs function and use it in rdft.c to ensure that the necessary ff_cos_tabs tables are initialized. Fixes issue 1507 (QDM2 broken since r20237 without hardcoded tables).
author reimar
date Thu, 05 Nov 2009 18:29:06 +0000
parents 63910f7ba293
children 5da7180afadf
comparison
equal deleted inserted replaced
10495:8e91a3efdbd2 10496:74b0c1a0851e
767 extern COSTABLE(16384); 767 extern COSTABLE(16384);
768 extern COSTABLE(32768); 768 extern COSTABLE(32768);
769 extern COSTABLE(65536); 769 extern COSTABLE(65536);
770 extern COSTABLE_CONST FFTSample* const ff_cos_tabs[17]; 770 extern COSTABLE_CONST FFTSample* const ff_cos_tabs[17];
771 771
772 /**
773 * Initializes the cosine table in ff_cos_tabs[index]
774 * \param index index in ff_cos_tabs array of the table to initialize
775 */
776 void ff_init_ff_cos_tabs(int index);
777
772 extern SINTABLE(16); 778 extern SINTABLE(16);
773 extern SINTABLE(32); 779 extern SINTABLE(32);
774 extern SINTABLE(64); 780 extern SINTABLE(64);
775 extern SINTABLE(128); 781 extern SINTABLE(128);
776 extern SINTABLE(256); 782 extern SINTABLE(256);