Commit graph

8 commits

Author SHA1 Message Date
José Fonseca
092010db37 util: Use python names consistent with u_format.h 2010-02-26 16:46:34 +00:00
José Fonseca
e2b02ea9db util: Add is_pot() method to formats. 2010-02-26 10:12:53 +00:00
Vinson Lee
3e882e943c util: Remove import of unused sys module. 2010-02-25 17:55:36 -08:00
José Fonseca
816d23505a util: Kill array vs arith layouts. Revamp UTIL_FORMAT_LAYOUT_xxx.
Too confusing. I now can get the same information through other means.
2010-02-24 16:16:21 +00:00
José Fonseca
943314f38f util: Factor out the code to shorten a format name. 2010-02-24 15:45:28 +00:00
José Fonseca
b57d80da77 util: Allow '#' comments in u_format.csv. 2010-02-24 15:45:28 +00:00
José Fonseca
5dce9b252b util: Store more derived data in the the format description. 2010-02-24 12:15:13 +00:00
José Fonseca
3d30524393 util: Auto generate pixel format accessor functions from
This has several advantages over the u_
 - not hand written
 - no intermediate memcpy of raw pixels
 - supports 4 ubytes in addition to floats
 - no need to pass a pipe_transfer

It also has (hopefully temporary) limitations:
 - no support for YUV
 - no support for SRGB
2009-08-30 12:37:03 +01:00