Lines Matching refs:planes
76 const C2PlaneInfo &plane = layout.planes[i]; in _ImageCopy()
129 int32_t src_stride_y = view.layout().planes[0].rowInc; in ImageCopy()
130 int32_t src_stride_u = view.layout().planes[1].rowInc; in ImageCopy()
131 int32_t src_stride_v = view.layout().planes[2].rowInc; in ImageCopy()
170 int32_t dst_stride_y = view.layout().planes[0].rowInc; in ImageCopy()
171 int32_t dst_stride_u = view.layout().planes[1].rowInc; in ImageCopy()
172 int32_t dst_stride_v = view.layout().planes[2].rowInc; in ImageCopy()
194 && layout.planes[layout.PLANE_Y].channel == C2PlaneInfo::CHANNEL_Y in IsYUV420()
195 && layout.planes[layout.PLANE_Y].allocatedDepth == 8 in IsYUV420()
196 && layout.planes[layout.PLANE_Y].bitDepth == 8 in IsYUV420()
197 && layout.planes[layout.PLANE_Y].rightShift == 0 in IsYUV420()
198 && layout.planes[layout.PLANE_Y].colSampling == 1 in IsYUV420()
199 && layout.planes[layout.PLANE_Y].rowSampling == 1 in IsYUV420()
200 && layout.planes[layout.PLANE_U].channel == C2PlaneInfo::CHANNEL_CB in IsYUV420()
201 && layout.planes[layout.PLANE_U].allocatedDepth == 8 in IsYUV420()
202 && layout.planes[layout.PLANE_U].bitDepth == 8 in IsYUV420()
203 && layout.planes[layout.PLANE_U].rightShift == 0 in IsYUV420()
204 && layout.planes[layout.PLANE_U].colSampling == 2 in IsYUV420()
205 && layout.planes[layout.PLANE_U].rowSampling == 2 in IsYUV420()
206 && layout.planes[layout.PLANE_V].channel == C2PlaneInfo::CHANNEL_CR in IsYUV420()
207 && layout.planes[layout.PLANE_V].allocatedDepth == 8 in IsYUV420()
208 && layout.planes[layout.PLANE_V].bitDepth == 8 in IsYUV420()
209 && layout.planes[layout.PLANE_V].rightShift == 0 in IsYUV420()
210 && layout.planes[layout.PLANE_V].colSampling == 2 in IsYUV420()
211 && layout.planes[layout.PLANE_V].rowSampling == 2); in IsYUV420()
220 && layout.planes[layout.PLANE_U].colInc == 2 in IsNV12()
221 && layout.planes[layout.PLANE_U].rootIx == layout.PLANE_U in IsNV12()
222 && layout.planes[layout.PLANE_U].offset == 0 in IsNV12()
223 && layout.planes[layout.PLANE_V].colInc == 2 in IsNV12()
224 && layout.planes[layout.PLANE_V].rootIx == layout.PLANE_U in IsNV12()
225 && layout.planes[layout.PLANE_V].offset == 1); in IsNV12()
234 && layout.planes[layout.PLANE_U].colInc == 1 in IsI420()
235 && layout.planes[layout.PLANE_U].rootIx == layout.PLANE_U in IsI420()
236 && layout.planes[layout.PLANE_U].offset == 0 in IsI420()
237 && layout.planes[layout.PLANE_V].colInc == 1 in IsI420()
238 && layout.planes[layout.PLANE_V].rootIx == layout.PLANE_V in IsI420()
239 && layout.planes[layout.PLANE_V].offset == 0); in IsI420()
386 pRed += layout.planes[C2PlanarLayout::PLANE_R].colInc; in ConvertRGBToPlanarYUV()
387 pGreen += layout.planes[C2PlanarLayout::PLANE_G].colInc; in ConvertRGBToPlanarYUV()
388 pBlue += layout.planes[C2PlanarLayout::PLANE_B].colInc; in ConvertRGBToPlanarYUV()
396 pRed -= layout.planes[C2PlanarLayout::PLANE_R].colInc * src.width(); in ConvertRGBToPlanarYUV()
397 pGreen -= layout.planes[C2PlanarLayout::PLANE_G].colInc * src.width(); in ConvertRGBToPlanarYUV()
398 pBlue -= layout.planes[C2PlanarLayout::PLANE_B].colInc * src.width(); in ConvertRGBToPlanarYUV()
399 pRed += layout.planes[C2PlanarLayout::PLANE_R].rowInc; in ConvertRGBToPlanarYUV()
400 pGreen += layout.planes[C2PlanarLayout::PLANE_G].rowInc; in ConvertRGBToPlanarYUV()
401 pBlue += layout.planes[C2PlanarLayout::PLANE_B].rowInc; in ConvertRGBToPlanarYUV()