• Home
  • Raw
  • Download

Lines Matching refs:usedFormat

556 	Format usedFormat = getFormat(aspect);  in imageExtentInBlocks()  local
557 if(usedFormat.isCompressed()) in imageExtentInBlocks()
560 int blockWidth = usedFormat.blockWidth(); in imageExtentInBlocks()
561 int blockHeight = usedFormat.blockHeight(); in imageExtentInBlocks()
573 Format usedFormat = getFormat(aspect); in imageOffsetInBlocks() local
574 if(usedFormat.isCompressed()) in imageOffsetInBlocks()
577 int blockWidth = usedFormat.blockWidth(); in imageOffsetInBlocks()
578 int blockHeight = usedFormat.blockHeight(); in imageOffsetInBlocks()
592 Format usedFormat = getFormat(aspect); in bufferExtentInBlocks() local
597 if(usedFormat.isCompressed()) in bufferExtentInBlocks()
599 int blockWidth = usedFormat.blockWidth(); in bufferExtentInBlocks()
608 if(usedFormat.isCompressed()) in bufferExtentInBlocks()
610 int blockHeight = usedFormat.blockHeight(); in bufferExtentInBlocks()
682 Format usedFormat = getFormat(aspect); in rowPitchBytes() local
683 if(usedFormat.isCompressed()) in rowPitchBytes()
686 return extentInBlocks.width * usedFormat.bytesPerBlock(); in rowPitchBytes()
689 return usedFormat.pitchB(mipLevelExtent.width, borderSize(), true); in rowPitchBytes()
699 Format usedFormat = getFormat(aspect); in slicePitchBytes() local
700 if(usedFormat.isCompressed()) in slicePitchBytes()
703 return extentInBlocks.height * extentInBlocks.width * usedFormat.bytesPerBlock(); in slicePitchBytes()
706 return usedFormat.sliceB(mipLevelExtent.width, mipLevelExtent.height, borderSize(), true); in slicePitchBytes()