Home | History | Annotate | Download | only in anniedale

Lines Matching refs:mapper

166 bool AnnOverlayPlane::bufferOffsetSetup(BufferMapper& mapper)
176 uint32_t format = mapper.getFormat();
177 uint32_t gttOffsetInBytes = (mapper.getGttOffsetInPage(0) << 12);
191 uint32_t yStride = mapper.getStride().yuv.yStride;
192 uint32_t uvStride = mapper.getStride().yuv.uvStride;
193 uint32_t h = mapper.getHeight();
194 uint32_t srcX= mapper.getCrop().x;
195 uint32_t srcY= mapper.getCrop().y;
324 bool AnnOverlayPlane::coordinateSetup(BufferMapper& mapper)
328 uint32_t format = mapper.getFormat();
331 return OverlayPlaneBase::coordinateSetup(mapper);
340 backBuffer->SWIDTH = mapper.getCrop().w;
341 backBuffer->SHEIGHT = mapper.getCrop().h;
342 backBuffer->SWIDTHSW = calculateSWidthSW(0, mapper.getCrop().w) << 2;
343 backBuffer->OSTRIDE = mapper.getStride().rgb.stride & (~0x3f);
347 bool AnnOverlayPlane::scalingSetup(BufferMapper& mapper)
401 uint32_t srcWidth = mapper.getCrop().w;
402 uint32_t srcHeight = mapper.getCrop().h;
405 uint32_t format = mapper.getFormat();
674 bool AnnOverlayPlane::setDataBuffer(BufferMapper& mapper)
694 mapper.setCrop(mSrcCrop.x, mSrcCrop.y, mSrcCrop.w, mSrcCrop.h);
699 if (OverlayPlaneBase::setDataBuffer(mapper) == false) {
703 signalVideoRotation(mapper);
735 bool AnnOverlayPlane::rotatedBufferReady(BufferMapper& mapper, BufferMapper* &rotatedMapper)
740 format = mapper.getFormat();
747 payload = (struct VideoPayloadBuffer *)mapper.getCpuAddress(SUB_BUFFER1);
767 rotatedMapper = getTTMMapper(mapper, payload);
771 void AnnOverlayPlane::signalVideoRotation(BufferMapper& mapper)
777 format = mapper.getFormat();
783 payload = (struct VideoPayloadBuffer *)mapper.getCpuAddress(SUB_BUFFER1);
806 bool AnnOverlayPlane::useOverlayRotation(BufferMapper& /* mapper */)