#include "bcdisplayinfo.h"#include "clip.h"#include "bchash.h"#include "filexml.h"#include "guicast.h"#include "keyframe.h"#include "language.h"#include "picon_png.h"#include "pluginvclient.h"#include "vframe.h"#include <string.h>#include <stdint.h>

Go to the source code of this file.
Data Structures | |
| class | DecimateConfig |
| class | DecimateRate |
| class | DecimateRateMenu |
| class | DecimateDifference |
| class | DecimateAvgDifference |
| class | DecimateWindow |
| class | Decimate |
Defines | |
| #define | TOP_FIELD_FIRST 0 |
| #define | BOTTOM_FIELD_FIRST 1 |
| #define | TOTAL_FRAMES 10 |
| #define | DIFFERENCE_MACRO(type, temp_type, components) |
| #define | CALCULATE_DCT(type, components) |
Functions | |
| SET_STRING_MACRO (Decimate) | |
| #define BOTTOM_FIELD_FIRST 1 |
Definition at line 17 of file decimate.C.
Referenced by FrameFieldBottom::handle_event(), FieldFrameBottom::handle_event(), FrameField::handle_opengl(), FrameField::update_gui(), and FieldFrame::update_gui().
| #define CALCULATE_DCT | ( | type, | |||
| components | ) |
Value:
{ \
uint16_t *output = temp; \
for(int k = 0; k < 8; k++) \
{ \
type *input = (type*)frame->get_rows()[i + k] + j * components; \
for(int l = 0; l < 8; l++) \
{ \
*output = (*input << 8) | *input; \
output++; \
input += components; \
} \
} \
fdct(temp); \
}
Definition at line 545 of file decimate.C.
Referenced by Decimate::calculate_fdct().
| #define DIFFERENCE_MACRO | ( | type, | |||
| temp_type, | |||||
| components | ) |
Value:
{ \
temp_type result2 = 0; \
for(int i = 0; i < h; i++) \
{ \
type *row1 = (type*)frame1->get_rows()[i]; \
type *row2 = (type*)frame2->get_rows()[i]; \
for(int j = 0; j < w * components; j++) \
{ \
temp_type temp = *row1 - *row2; \
result2 += (temp > 0 ? temp : -temp); \
row1++; \
row2++; \
} \
} \
result = (int64_t)result2; \
}
Definition at line 421 of file decimate.C.
Referenced by Decimate::calculate_difference().
| #define TOP_FIELD_FIRST 0 |
Definition at line 16 of file decimate.C.
Referenced by FieldFrameConfig::FieldFrameConfig(), FrameFieldConfig::FrameFieldConfig(), FrameFieldTop::handle_event(), FieldFrameTop::handle_event(), FrameField::handle_opengl(), FrameField::process_buffer(), FieldFrame::process_buffer(), FrameField::update_gui(), and FieldFrame::update_gui().
| #define TOTAL_FRAMES 10 |
Definition at line 18 of file decimate.C.
Referenced by Decimate::Decimate(), Decimate::fill_lookahead(), Decimate::process_buffer(), and Decimate::~Decimate().
| SET_STRING_MACRO | ( | Decimate | ) |
1.5.5