#18 kAAFPixelFormat uses aafColorSpace_t - inconsistent naming

open
nobody
None
1
2003-03-24
2003-03-03
Jim Trainor
No

The CDCI and JPEG codecs use an essence descriptor
called "kAAFPixelFormat".

The value of the kAAFPixelFormat specifier is accessed
using "param.operand.expColorSpace", and is
compared against values that are of enumerated
type "aafColorSpace_e". There is an obvious naming
inconsistency there.

To further confuse matters, especially for developers
using kAAFPixelFormat, there is a type named
aafPixelFormat_e declared in AAFTypes.h.

The kAAFPixelFormat is either poorly named, or
perhaps is being compared against values of the wrong
enumerated type.

Discussion

  • Jim Trainor
    Jim Trainor
    2003-03-24

    • priority: 9 --> 1