Lines Matching refs:YUVImage
18 #define LOG_TAG "YUVImage"
21 #include <media/stagefright/YUVImage.h>
26 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height) {
39 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer) {
50 size_t YUVImage::bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height) {
62 bool YUVImage::initializeYUVPointers() {
83 YUVImage::~YUVImage() {
87 bool YUVImage::getOffsets(int32_t x, int32_t y,
108 bool YUVImage::getOffsetIncrementsPerDataRow(
132 uint8_t* YUVImage::getYAddress(int32_t offset) const {
136 uint8_t* YUVImage::getUAddress(int32_t offset) const {
140 uint8_t* YUVImage::getVAddress(int32_t offset) const {
144 bool YUVImage::getYUVAddresses(int32_t x, int32_t y,
158 bool YUVImage::validPixel(int32_t x, int32_t y) const {
163 bool YUVImage::getPixelValue(int32_t x, int32_t y,
179 bool YUVImage::setPixelValue(int32_t x, int32_t y,
195 void YUVImage::fastCopyRectangle420Planar(
198 const YUVImage &srcImage, YUVImage &destImage) {
277 void YUVImage::fastCopyRectangle420SemiPlanar(
280 const YUVImage &srcImage, YUVImage &destImage) {
346 bool YUVImage::fastCopyRectangle(
349 const YUVImage &srcImage, YUVImage &destImage) {
375 void YUVImage::yuv2rgb(uint8_t yValue, uint8_t uValue, uint8_t vValue,
386 bool YUVImage::writeToPPM(const char *filename) const {