comparison libpostproc/postprocess.h @ 793:8e9faf69110f libavcodec

cleanup
author michael
date Tue, 29 Oct 2002 20:12:24 +0000
parents 2d1283d511b7
children fbbe46490ce9
comparison
equal deleted inserted replaced
792:2d1283d511b7 793:8e9faf69110f
66 66
67 char *pp_help; 67 char *pp_help;
68 68
69 //FIXME decide if this should be exported at all 69 //FIXME decide if this should be exported at all
70 typedef struct PPMode{ 70 typedef struct PPMode{
71 int lumMode; //acivates filters for luminance 71 int lumMode; // acivates filters for luminance
72 int chromMode; //acivates filters for chrominance 72 int chromMode; // acivates filters for chrominance
73 int error; // non zero on error 73 int error; // non zero on error
74 74
75 int minAllowedY; // for brigtness correction 75 int minAllowedY; // for brigtness correction
76 int maxAllowedY; // for brihtness correction 76 int maxAllowedY; // for brihtness correction
77 float maxClippedThreshold; // amount of "black" u r willing to loose to get a brightness corrected picture
77 78
78 int maxTmpNoise[3]; // for Temporal Noise Reducing filter (Maximal sum of abs differences) 79 int maxTmpNoise[3]; // for Temporal Noise Reducing filter (Maximal sum of abs differences)
79 80
80 int baseDcDiff; 81 int baseDcDiff;
81 int flatnessThreshold; 82 int flatnessThreshold;
82 83
83 int forcedQuant; // quantizer if FORCE_QUANT is used 84 int forcedQuant; // quantizer if FORCE_QUANT is used
84 } PPMode; 85 } PPMode;
85 86
86 void pp_postprocess(uint8_t * src[3], int srcStride[3], 87 void pp_postprocess(uint8_t * src[3], int srcStride[3],
87 uint8_t * dst[3], int dstStride[3], 88 uint8_t * dst[3], int dstStride[3],
88 int horizontalSize, int verticalSize, 89 int horizontalSize, int verticalSize,