summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/yuv/YUVImage.cpp
Commit message (Collapse)AuthorAgeFilesLines
* const correctness, validPixel test.Nipun Kwatra2010-08-191-0/+9
| | | | | | | | - made width(), height() const member functions. - added validPixel() which returns true if pixel is in the allowed range. - now testing validPixel in get/setPixelValue Change-Id: I1dee5060bd4f8dcbdcd542ec4647ea328f0185c3
* Adding YUVImage and YUVCanvas.Nipun Kwatra2010-07-291-0/+404
YUVImage is a container class to hold YUV data and provide various utilities, e.g. to set/get pixel values for different YUV formats, fast copying routines, etc. Currently supported YUV420 Planar and YUV420 Semi Planar. YUVCanvas holds a reference to a YUVImage on which it can do various drawing operations. Change-Id: I052a57b7fbc834efe1626914f76c04c091996cac