Mercurial > libavcodec.hg
comparison dsputil.h @ 252:ddb1a0e94cf4 libavcodec
- Added PSNR feature to libavcodec and ffmpeg. By now just Y PSNR until I'm
sure it works ok. Also it's slow, so use it only when you _really_ need to
measure quality.
- Fix libavcodec Makefile to enable profiling.
author | pulento |
---|---|
date | Tue, 26 Feb 2002 22:14:27 +0000 |
parents | 73df666cacc7 |
children | db20b987c32d |
comparison
equal
deleted
inserted
replaced
251:75091bfc577b | 252:ddb1a0e94cf4 |
---|---|
1 #ifndef DSPUTIL_H | 1 #ifndef DSPUTIL_H |
2 #define DSPUTIL_H | 2 #define DSPUTIL_H |
3 | 3 |
4 #include "common.h" | 4 #include "common.h" |
5 #include "avcodec.h" | |
5 | 6 |
6 /* dct code */ | 7 /* dct code */ |
7 typedef short DCTELEM; | 8 typedef short DCTELEM; |
8 | 9 |
9 void jpeg_fdct_ifast (DCTELEM *data); | 10 void jpeg_fdct_ifast (DCTELEM *data); |
136 | 137 |
137 #define __align8 | 138 #define __align8 |
138 | 139 |
139 #endif | 140 #endif |
140 | 141 |
142 /* PSNR */ | |
143 void get_psnr(UINT8 *orig_image[3], UINT8 *coded_image[3], | |
144 int orig_linesize[3], int coded_linesize, | |
145 AVCodecContext *avctx); | |
146 | |
141 #endif | 147 #endif |