changeset 25753:90cca303fbdd

Remove broken test program that likely never worked.
author diego
date Fri, 18 Jan 2008 01:57:40 +0000
parents 559b0e9d47fb
children e614d49112b5
files libvo/jpeg_enc.c
diffstat 1 files changed, 0 insertions(+), 26 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/jpeg_enc.c	Thu Jan 17 15:49:31 2008 +0000
+++ b/libvo/jpeg_enc.c	Fri Jan 18 01:57:40 2008 +0000
@@ -488,29 +488,3 @@
 	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