José Fonseca
f342ceca38
util: Fix the maximum value computation for SSCALED channels.
2010-03-06 12:49:14 +00:00
José Fonseca
cfde6c50ae
util: Add a new flag, for formats that can be described as a bitmask.
2010-03-06 12:48:39 +00:00
José Fonseca
4757325951
util: Factor some code into u_format_parse.py
2010-02-26 16:46:34 +00:00
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