summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/yuv
Commit message (Collapse)AuthorAgeFilesLines
* frameworks/base: remove LOCAL_PRELINK_MODULEIliyan Malchev2011-03-141-1/+1
| | | | | Change-Id: I54dd62ebef47e7690afa5a858f3cad941b135481 Signed-off-by: Iliyan Malchev <malchev@google.com>
* Fix build.Ying Wang2010-12-291-0/+2
| | | | | | | Due to a bug (fixed by 59163bf2f15e28712be6598144ae0fdb94dac52b), libstagefright_yuv.so was actually not prelinked. Change-Id: Idbc9b968708d0fc31a087d2e4f24398072d915e2
* Added downsample()Nipun Kwatra2010-08-201-1/+29
| | | | | | | | Added a downsample function which downsamples the source image starting at an offset and skipping every few pixels. Currently no low pass filtering is done, but it should be added later. Change-Id: Iec34092c536bfc661a15521e6a1ef2ef3f815c61
* 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-293-0/+500
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