Lines Matching refs:mapper
158 bool AnnOverlayPlane::bufferOffsetSetup(BufferMapper& mapper) in bufferOffsetSetup() argument
168 uint32_t format = mapper.getFormat(); in bufferOffsetSetup()
169 uint32_t gttOffsetInBytes = (mapper.getGttOffsetInPage(0) << 12); in bufferOffsetSetup()
170 uint32_t yStride = mapper.getStride().yuv.yStride; in bufferOffsetSetup()
171 uint32_t uvStride = mapper.getStride().yuv.uvStride; in bufferOffsetSetup()
172 uint32_t w = mapper.getWidth(); in bufferOffsetSetup()
173 uint32_t h = mapper.getHeight(); in bufferOffsetSetup()
174 uint32_t srcX= mapper.getCrop().x; in bufferOffsetSetup()
175 uint32_t srcY= mapper.getCrop().y; in bufferOffsetSetup()
304 bool AnnOverlayPlane::scalingSetup(BufferMapper& mapper) in scalingSetup() argument
358 uint32_t srcWidth = mapper.getCrop().w; in scalingSetup()
359 uint32_t srcHeight = mapper.getCrop().h; in scalingSetup()
616 bool AnnOverlayPlane::setDataBuffer(BufferMapper& mapper) in setDataBuffer() argument
618 if (OverlayPlaneBase::setDataBuffer(mapper) == false) { in setDataBuffer()
622 signalVideoRotation(mapper); in setDataBuffer()
631 mContext.gtt_key = (unsigned long)mapper.getCpuAddress(0); in setDataBuffer()
657 bool AnnOverlayPlane::rotatedBufferReady(BufferMapper& mapper, BufferMapper* &rotatedMapper) in rotatedBufferReady() argument
662 format = mapper.getFormat(); in rotatedBufferReady()
669 payload = (struct VideoPayloadBuffer *)mapper.getCpuAddress(SUB_BUFFER1); in rotatedBufferReady()
689 rotatedMapper = getTTMMapper(mapper, payload); in rotatedBufferReady()
693 void AnnOverlayPlane::signalVideoRotation(BufferMapper& mapper) in signalVideoRotation() argument
699 format = mapper.getFormat(); in signalVideoRotation()
705 payload = (struct VideoPayloadBuffer *)mapper.getCpuAddress(SUB_BUFFER1); in signalVideoRotation()
728 bool AnnOverlayPlane::useOverlayRotation(BufferMapper& mapper) in useOverlayRotation() argument
784 bool AnnOverlayPlane::scaledBufferReady(BufferMapper& mapper, BufferMapper* &scaledMapper, VideoPay… in scaledBufferReady() argument
789 …mapper.setCrop(mapper.getCrop().x, mapper.getCrop().y, payload->scaling_width, payload->scaling_he… in scaledBufferReady()
790 scaledMapper = getTTMMapper(mapper, payload); in scaledBufferReady()