Mercurial > libavcodec.hg
comparison libpostproc/postprocess.h @ 183:d310beb2d848 libavcodec
-npp fq:<quantizer>
force quantizer (for these lq movies which where reencoded at high bitrates)
(c) 2002
| author | michael |
|---|---|
| date | Thu, 03 Jan 2002 14:16:13 +0000 |
| parents | 3ccd74a91074 |
| children | 3ef1cc75d5f5 |
comparison
equal
deleted
inserted
replaced
| 182:3ccd74a91074 | 183:d310beb2d848 |
|---|---|
| 1 /* | 1 /* |
| 2 Copyright (C) 2001 Michael Niedermayer (michaelni@gmx.at) | 2 Copyright (C) 2001-2002 Michael Niedermayer (michaelni@gmx.at) |
| 3 | 3 |
| 4 This program is free software; you can redistribute it and/or modify | 4 This program is free software; you can redistribute it and/or modify |
| 5 it under the terms of the GNU General Public License as published by | 5 it under the terms of the GNU General Public License as published by |
| 6 the Free Software Foundation; either version 2 of the License, or | 6 the Free Software Foundation; either version 2 of the License, or |
| 7 (at your option) any later version. | 7 (at your option) any later version. |
| 55 #define CUBIC_BLEND_DEINT_FILTER 0x8000 // (not implemented yet) | 55 #define CUBIC_BLEND_DEINT_FILTER 0x8000 // (not implemented yet) |
| 56 #define CUBIC_IPOL_DEINT_FILTER 0x40000 // 262144 | 56 #define CUBIC_IPOL_DEINT_FILTER 0x40000 // 262144 |
| 57 #define MEDIAN_DEINT_FILTER 0x80000 // 524288 | 57 #define MEDIAN_DEINT_FILTER 0x80000 // 524288 |
| 58 | 58 |
| 59 #define TEMP_NOISE_FILTER 0x100000 | 59 #define TEMP_NOISE_FILTER 0x100000 |
| 60 #define FORCE_QUANT 0x200000 | |
| 60 | 61 |
| 61 | 62 |
| 62 #define GET_PP_QUALITY_MAX 6 | 63 #define GET_PP_QUALITY_MAX 6 |
| 63 | 64 |
| 64 //must be defined if stride%8 != 0 | 65 //must be defined if stride%8 != 0 |
| 85 int maxAllowedY; // for brihtness correction | 86 int maxAllowedY; // for brihtness correction |
| 86 | 87 |
| 87 int maxTmpNoise[3]; // for Temporal Noise Reducing filter (Maximal sum of abs differences) | 88 int maxTmpNoise[3]; // for Temporal Noise Reducing filter (Maximal sum of abs differences) |
| 88 | 89 |
| 89 int maxDcDiff; // max abs diff between pixels to be considered flat | 90 int maxDcDiff; // max abs diff between pixels to be considered flat |
| 91 int forcedQuant; // quantizer if FORCE_QUANT is used | |
| 90 }; | 92 }; |
| 91 | 93 |
| 92 struct PPFilter{ | 94 struct PPFilter{ |
| 93 char *shortName; | 95 char *shortName; |
| 94 char *longName; | 96 char *longName; |
