#include "clip.h"#include "colormodels.h"#include "filexml.h"#include "language.h"#include "picon_png.h"#include "rgb601.h"#include "rgb601window.h"#include <stdio.h>#include <string.h>

Go to the source code of this file.
Defines | |
| #define | CREATE_TABLE(max) |
| #define | PROCESS(table, type, components, yuv) |
| #define CREATE_TABLE | ( | max | ) |
Value:
{ \
for(int i = 0; i < max; i++) \
{ \
int forward_output = (int)((double)0.8588 * i + max * 0.0627 + 0.5); \
int reverse_output = (int)((double)1.1644 * i - max * 0.0627 + 0.5); \
forward_table[i] = CLIP(forward_output, 0, max - 1); \
reverse_table[i] = CLIP(reverse_output, 0, max - 1); \
} \
}
Definition at line 132 of file rgb601.C.
Referenced by RGB601Main::create_table().
1.5.5