Mercurial > libavcodec.hg
comparison libpostproc/postprocess.h @ 103:0ec7d482ec8d libavcodec
small changes for mplayer integration:
- getModeForQuality -> getPpModeForQuality renamed
- #define POSTPROCESS_H -> NEWPOSTPROCESS_H (to avoid conflicts)
| author | arpi |
|---|---|
| date | Sat, 13 Oct 2001 15:38:19 +0000 |
| parents | 4f072fa99ccf |
| children | 9607b48e2c2d |
comparison
equal
deleted
inserted
replaced
| 102:2cb2660cbd7e | 103:0ec7d482ec8d |
|---|---|
| 14 You should have received a copy of the GNU General Public License | 14 You should have received a copy of the GNU General Public License |
| 15 along with this program; if not, write to the Free Software | 15 along with this program; if not, write to the Free Software |
| 16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 17 */ | 17 */ |
| 18 | 18 |
| 19 | 19 // POSTPROCESS_H is defined by opendivx's postprocess.h |
| 20 #ifndef POSTPROCESS_H | 20 #ifndef NEWPOSTPROCESS_H |
| 21 #define POSTPROCESS_H | 21 #define NEWPOSTPROCESS_H |
| 22 | 22 |
| 23 #define BLOCK_SIZE 8 | 23 #define BLOCK_SIZE 8 |
| 24 #define TEMP_STRIDE 8 | 24 #define TEMP_STRIDE 8 |
| 25 | 25 |
| 26 #define V_DEBLOCK 0x01 | 26 #define V_DEBLOCK 0x01 |
| 64 #endif | 64 #endif |
| 65 | 65 |
| 66 //#ifdef __cplusplus | 66 //#ifdef __cplusplus |
| 67 //#include <inttypes.h> | 67 //#include <inttypes.h> |
| 68 | 68 |
| 69 void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int width, int height, | 69 //void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int width, int height, |
| 70 QP_STORE_T QPs[], int QPStride, int isColor, int mode); | 70 // QP_STORE_T QPs[], int QPStride, int isColor, int mode); |
| 71 //#endif | 71 //#endif |
| 72 | 72 |
| 73 //#ifdef __cplusplus | 73 //#ifdef __cplusplus |
| 74 //extern "C" | 74 //extern "C" |
| 75 //{ | 75 //{ |
| 76 //#endif | 76 //#endif |
| 77 void postprocess(unsigned char * src[], int src_stride, | 77 void postprocess(unsigned char * src[], int src_stride, |
| 78 unsigned char * dst[], int dst_stride, | 78 unsigned char * dst[], int dst_stride, |
| 79 int horizontal_size, int vertical_size, | 79 int horizontal_size, int vertical_size, |
| 80 QP_STORE_T *QP_store, int QP_stride, | 80 QP_STORE_T *QP_store, int QP_stride, int mode); |
| 81 int mode); | 81 int getPpModeForQuality(int quality); |
| 82 | |
| 83 int getModeForQuality(int quality); | |
| 84 //#ifdef __cplusplus | 82 //#ifdef __cplusplus |
| 85 //} | 83 //} |
| 86 //#endif | 84 //#endif |
| 87 | 85 |
| 86 #define GET_PP_QUALITY_MAX 6 | |
| 88 | 87 |
| 89 #endif | 88 #endif |
