diff options
Diffstat (limited to 'dec_video.c')
-rw-r--r-- | dec_video.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dec_video.c b/dec_video.c index 1dc26dfc33..b961f2d0ec 100644 --- a/dec_video.c +++ b/dec_video.c @@ -157,6 +157,15 @@ void decode_cyuv( int height, int bit_per_pixel); +void qt_decode_smc( + unsigned char *encoded, + int encoded_size, + unsigned char *decoded, + int width, + int height, + int encoded_bpp, + int bytes_per_pixel); + //**************************************************************************// // The OpenDivX stuff: //**************************************************************************// @@ -593,6 +602,7 @@ switch(sh_video->codec->driver){ case VFM_MSVIDC: case VFM_FLI: case VFM_QTRLE: + case VFM_QTSMC: { #ifdef USE_MP_IMAGE sh_video->image->type=MP_IMGTYPE_STATIC; @@ -945,6 +955,14 @@ if(verbose>1){ ((out_fmt&255)+7)/8); blit_frame = 3; break; + case VFM_QTSMC: + qt_decode_smc( + start, in_size, sh_video->our_out_buffer, + sh_video->disp_w, sh_video->disp_h, + sh_video->bih->biBitCount, + ((out_fmt&255)+7)/8); + blit_frame = 3; + break; case VFM_CYUV: decode_cyuv(start, in_size, sh_video->our_out_buffer, sh_video->disp_w, sh_video->disp_h, (out_fmt==IMGFMT_YUY2)?16:(out_fmt&255)); |