Lines Matching refs:yuv
254 static size_t DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) { in DeriveYUVLayout() argument
259 if (yuv == HAL_PIXEL_FORMAT_YCbCr_420_888) { in DeriveYUVLayout()
271 state->yuv.shift = 1; in DeriveYUVLayout()
272 state->yuv.step = 1; in DeriveYUVLayout()
276 switch(yuv) { in DeriveYUVLayout()
296 state->yuv.step = 2; in DeriveYUVLayout()
323 if (alloc->mHal.state.yuv) { in AllocationBuildPointerTable()
324 o += DeriveYUVLayout(alloc->mHal.state.yuv, &alloc->mHal.drvState); in AllocationBuildPointerTable()
837 if (alloc->mHal.state.yuv) { in rsdAllocationIoReceive()
838 DeriveYUVLayout(alloc->mHal.state.yuv, &alloc->mHal.drvState); in rsdAllocationIoReceive()
893 if (alloc->mHal.state.yuv) { in rsdAllocationData2D()
897 if (alloc->mHal.state.yuv == HAL_PIXEL_FORMAT_YV12) { in rsdAllocationData2D()
900 } else if (alloc->mHal.state.yuv == HAL_PIXEL_FORMAT_YCrCb_420_SP) { in rsdAllocationData2D()