Home | History | Annotate | Download | only in codec

Lines Matching refs:sizeInfo

59     SkCodec::YUVSizeInfo sizeInfo;
63 bool result = fCodec->queryYUV8(&sizeInfo, colorSpace);
66 fYWidth = sizeInfo.fYSize.width();
67 fUWidth = sizeInfo.fUSize.width();
68 fVWidth = sizeInfo.fVSize.width();
71 sizes[0].fWidth = (int) sizeInfo.fYWidthBytes;
72 sizes[0].fHeight = sizeInfo.fYSize.height();
73 sizes[1].fWidth = (int) sizeInfo.fUWidthBytes;
74 sizes[1].fHeight = sizeInfo.fUSize.height();
75 sizes[2].fWidth = (int) sizeInfo.fVWidthBytes;
76 sizes[2].fHeight = sizeInfo.fVSize.height();
81 // Set the sizeInfo with the true widths and heights
83 sizeInfo.fYSize.set(fYWidth, sizes[0].height());
84 sizeInfo.fUSize.set(fUWidth, sizes[1].height());
85 sizeInfo.fVSize.set(fVWidth, sizes[2].height());
87 // Set the sizeInfo with the allocated widths
88 sizeInfo.fYWidthBytes = sizes[0].width();
89 sizeInfo.fUWidthBytes = sizes[1].width();
90 sizeInfo.fVWidthBytes = sizes[2].width();
91 SkCodec::Result result = fCodec->getYUV8Planes(sizeInfo, planes);