static int read_old_huffman_tables(HYuvContext *s)
{
-#if 1
GetBitContext gb;
int i;
generate_joint_tables(s);
return 0;
-#else
- av_log(s->avctx, AV_LOG_DEBUG, "v1 huffyuv is not supported \n");
- return -1;
-#endif
}
static av_cold void alloc_temp(HYuvContext *s)
#define SAMPLES 1000
double ideal[SAMPLES];
double samples[SAMPLES];
-#if 1
for (n0 = 0; n0 < 40; n0 = 2 * n0 + 1) {
for (n1 = 0; n1 < 10; n1 = 2 * n1 + 1) {
-#else
- {
- {
- n0 = 7;
- n1 = 1;
-#endif
double best_error = 1000000000;
double bestpar0 = 1;
double bestpar1 = 0.001;