#include <png.h>#include <stdio.h>#include <string.h>#include <stdint.h>#include "bcsignals.h"#include "clip.h"#include "colormodels.h"#include "vframe.h"Go to the source code of this file.
Classes | |
| class | PngReadFunction |
Defines | |
| #define | ZERO_YUV(components, type, max) |
| #define | OVERLAY(type, max, components) |
|
|
|
|
|
Value: { \
for(int i = 0; i < h; i++) \
{ \
type *row = (type*)get_rows()[i]; \
for(int j = 0; j < w; j++) \
{ \
row[j * components] = 0; \
row[j * components + 1] = (max + 1) / 2; \
row[j * components + 2] = (max + 1) / 2; \
if(components == 4) row[j * components + 3] = 0; \
} \
} \
}
|
1.4.4