[MPlayer-cvslog] r25781 - trunk/libvo/jpeg_enc.c
diego
subversion at mplayerhq.hu
Fri Jan 18 02:57:41 CET 2008
Author: diego
Date: Fri Jan 18 02:57:40 2008
New Revision: 25781
Log:
Remove broken test program that likely never worked.
Modified:
trunk/libvo/jpeg_enc.c
Modified: trunk/libvo/jpeg_enc.c
==============================================================================
--- trunk/libvo/jpeg_enc.c (original)
+++ trunk/libvo/jpeg_enc.c Fri Jan 18 02:57:40 2008
@@ -488,29 +488,3 @@ void jpeg_enc_uninit(jpeg_enc_t *j) {
av_free(j->s);
av_free(j);
}
-
-#if 0
-
-#define W 32
-#define H 32
-
-int quant_store[MBR+1][MBC+1];
-unsigned char buf[W*H*3/2];
-char code[256*1024];
-
-
-main(void) {
- int i, size;
- FILE *fp;
-
- memset(buf, 0, W*H);
- memset(buf+W*H, 255, W*H/4);
- memset(buf+5*W*H/4, 0, W*H/4);
- mjpeg_encoder_init(W, H, 1, W, 1, W/2, 1, W/2, 1, 1, 0);
-
- size = mjpeg_encode_frame(buf, buf+W*H, buf+5*W*H/4, code);
- fp = fopen("test.jpg", "w");
- fwrite(code, 1, size, fp);
- fclose(fp);
-}
-#endif
More information about the MPlayer-cvslog
mailing list