X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=dpvsimpledecode.h;h=0b0ac35a140c8ff4311da8d29fab5c65a0582308;hb=488a6f1ca3dcfac44522dcf6307d330d0d4f460c;hp=621b001c919ce477386064256c33821d7d6d0b01;hpb=70b3c52211617e1d585a1bbe805c5fd47176bfd1;p=xonotic%2Fdarkplaces.git diff --git a/dpvsimpledecode.h b/dpvsimpledecode.h index 621b001c..0b0ac35a 100644 --- a/dpvsimpledecode.h +++ b/dpvsimpledecode.h @@ -40,6 +40,9 @@ unsigned int dpvsimpledecode_getheight(void *stream); // returns the framerate of the stream double dpvsimpledecode_getframerate(void *stream); +// returns aspect ratio of the stream +double dpvsimpledecode_getaspectratio(void *stream); + // decodes a video frame to the supplied output pixels int dpvsimpledecode_video(void *stream, void *imagedata, unsigned int Rmask, unsigned int Gmask, unsigned int Bmask, unsigned int bytesperpixel, int imagebytesperrow);