comparison loader/dshow/test.c @ 184:385a68be7494

fixed Quality setting
author arpi_esp
date Wed, 21 Mar 2001 20:46:42 +0000
parents a4d3c83eeb52
children 3bf0d70b4c7f
comparison
equal deleted inserted replaced
183:c2f246c2411d 184:385a68be7494
27 DS_VideoDecoder_Open("divx_c32.ax", &CLSID_DivxDecompressorCF, &bih, 0, &dst); 27 DS_VideoDecoder_Open("divx_c32.ax", &CLSID_DivxDecompressorCF, &bih, 0, &dst);
28 28
29 // DS_VideoDecoder_SetDestFmt(16,fccYUY2); 29 // DS_VideoDecoder_SetDestFmt(16,fccYUY2);
30 DS_VideoDecoder_SetDestFmt(24,0); 30 DS_VideoDecoder_SetDestFmt(24,0);
31 31
32 printf("DivX setting result = %d\n", DS_SetAttr_DivX("Quality",4) );
33
32 DS_VideoDecoder_Start(); 34 DS_VideoDecoder_Start();
33 35
34 printf("DivX setting result = %d\n", DS_SetValue_DivX("Quality",100) );
35 printf("DivX setting result = %d\n", DS_SetValue_DivX("Brightness",60) ); 36 printf("DivX setting result = %d\n", DS_SetValue_DivX("Brightness",60) );
36 37
37 DS_VideoDecoder_DecodeFrame(src, len, 1, 1); 38 DS_VideoDecoder_DecodeFrame(src, len, 1, 1);
38 39
39 #if 0 40 #if 0