/* * SCR_ReadNextCinematicFrame */ static void SCR_ReadNextCinematicFrame( void ) { cl.cin.pic = CIN_ReadNextFrame( cl.cin.h, &cl.cin.width, &cl.cin.height, &cl.cin.aspect_numerator, &cl.cin.aspect_denominator, &cl.cin.redraw ); }
/* * SCR_ReadNextCinematicFrame */ static void SCR_ReadNextCinematicFrame( void ) { if( cl.cin.yuv ) { cl.cin.cyuv = CIN_ReadNextFrameYUV( cl.cin.h, &cl.cin.width, &cl.cin.height, &cl.cin.aspect_numerator, &cl.cin.aspect_denominator, &cl.cin.redraw ); // so that various cl.cin.pic == NULL checks still make sense cl.cin.pic = ( uint8_t * )cl.cin.cyuv; } else { cl.cin.pic = CIN_ReadNextFrame( cl.cin.h, &cl.cin.width, &cl.cin.height, &cl.cin.aspect_numerator, &cl.cin.aspect_denominator, &cl.cin.redraw ); } }