Lines Matching refs:MediaImage2
1491 if (imageData->size() != sizeof(MediaImage2)) { in copyOneYuvTile()
1493 __FUNCTION__, imageData->size(), sizeof(MediaImage2)); in copyOneYuvTile()
1496 MediaImage2* imageInfo = reinterpret_cast<MediaImage2*>(imageData->data()); in copyOneYuvTile()
1497 if (imageInfo->mType != MediaImage2::MEDIA_IMAGE_TYPE_YUV || in copyOneYuvTile()
1511 __FUNCTION__, imageInfo->mPlane[MediaImage2::U].mOffset, in copyOneYuvTile()
1512 imageInfo->mPlane[MediaImage2::V].mOffset, in copyOneYuvTile()
1513 imageInfo->mPlane[MediaImage2::U].mRowInc, in copyOneYuvTile()
1514 imageInfo->mPlane[MediaImage2::V].mRowInc, in copyOneYuvTile()
1515 imageInfo->mPlane[MediaImage2::U].mColInc, in copyOneYuvTile()
1516 imageInfo->mPlane[MediaImage2::V].mColInc); in copyOneYuvTile()
1520 uint8_t *dst = codecBuffer->data() + imageInfo->mPlane[MediaImage2::Y].mOffset + in copyOneYuvTile()
1521 imageInfo->mPlane[MediaImage2::Y].mRowInc * (row - top); in copyOneYuvTile()
1526 bool codecUPlaneFirst = imageInfo->mPlane[MediaImage2::V].mOffset > in copyOneYuvTile()
1527 imageInfo->mPlane[MediaImage2::U].mOffset; in copyOneYuvTile()
1529 imageInfo->mPlane[MediaImage2::V].mOffset - imageInfo->mPlane[MediaImage2::U].mOffset : in copyOneYuvTile()
1530 imageInfo->mPlane[MediaImage2::U].mOffset - imageInfo->mPlane[MediaImage2::V].mOffset; in copyOneYuvTile()
1532 (imageInfo->mPlane[MediaImage2::U].mRowInc == in copyOneYuvTile()
1533 imageInfo->mPlane[MediaImage2::V].mRowInc) && in copyOneYuvTile()
1534 (imageInfo->mPlane[MediaImage2::U].mColInc == 2) && in copyOneYuvTile()
1535 (imageInfo->mPlane[MediaImage2::V].mColInc == 2); in copyOneYuvTile()
1538 imageInfo->mPlane[MediaImage2::U].mRowInc * imageInfo->mHeight/2) || in copyOneYuvTile()
1540 imageInfo->mPlane[MediaImage2::V].mRowInc * imageInfo->mHeight/2))) && in copyOneYuvTile()
1541 imageInfo->mPlane[MediaImage2::U].mColInc == 1 && in copyOneYuvTile()
1542 imageInfo->mPlane[MediaImage2::V].mColInc == 1; in copyOneYuvTile()
1551 MediaImage2::PlaneIndex dstPlane = codecUvOffsetDiff > 0 ? MediaImage2::U : MediaImage2::V; in copyOneYuvTile()
1560 uint8_t *dst = codecBuffer->data() + imageInfo->mPlane[MediaImage2::U].mOffset + in copyOneYuvTile()
1561 imageInfo->mPlane[MediaImage2::U].mRowInc * (row - top/2); in copyOneYuvTile()
1567 uint8_t *dst = codecBuffer->data() + imageInfo->mPlane[MediaImage2::V].mOffset + in copyOneYuvTile()
1568 imageInfo->mPlane[MediaImage2::V].mRowInc * (row - top/2); in copyOneYuvTile()
1578 int32_t dstIndex = imageInfo->mPlane[MediaImage2::U].mOffset + in copyOneYuvTile()
1579 imageInfo->mPlane[MediaImage2::U].mRowInc * (row - top/2) + in copyOneYuvTile()
1580 imageInfo->mPlane[MediaImage2::U].mColInc * (col - left/2); in copyOneYuvTile()
1585 dstIndex = imageInfo->mPlane[MediaImage2::V].mOffset + in copyOneYuvTile()
1586 imageInfo->mPlane[MediaImage2::V].mRowInc * (row - top/2) + in copyOneYuvTile()
1587 imageInfo->mPlane[MediaImage2::V].mColInc * (col - left/2); in copyOneYuvTile()