/hardware/qcom/display/msm8084/liboverlay/pipes/ |
D | overlay3DPipe.h | 48 class M3DExtPipe : utils::NoCopy { 57 bool setCrop(const utils::Dim& d); 58 bool setPosition(const utils::Dim& dim); 59 bool setTransform(const utils::eTransform& param); 60 bool setSource(const utils::PipeArgs& args); 63 overlay::GenericPipe<utils::EXTERNAL> mM3d; 78 class M3DPrimaryPipe : utils::NoCopy { 87 bool setCrop(const utils::Dim& d); 88 bool setPosition(const utils::Dim& dim); 89 bool setTransform(const utils::eTransform& param); [all …]
|
/hardware/qcom/display/msm8960/liboverlay/pipes/ |
D | overlay3DPipe.h | 48 class M3DExtPipe : utils::NoCopy { 57 bool setCrop(const utils::Dim& d); 58 bool setPosition(const utils::Dim& dim); 59 bool setTransform(const utils::eTransform& param); 60 bool setSource(const utils::PipeArgs& args); 63 overlay::GenericPipe<utils::EXTERNAL> mM3d; 78 class M3DPrimaryPipe : utils::NoCopy { 87 bool setCrop(const utils::Dim& d); 88 bool setPosition(const utils::Dim& dim); 89 bool setTransform(const utils::eTransform& param); [all …]
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlay.h | 42 class Overlay : utils::NoCopy { 84 utils::eDest getPipe(const PipeSpecs& pipeSpecs); 89 utils::eDest reservePipe(int pipeid); 91 utils::eDest getDest(int pipeid); 93 int getPipeId(utils::eDest dest); 95 void setSource(const utils::PipeArgs args, utils::eDest dest); 96 void setCrop(const utils::Dim& d, utils::eDest dest); 97 void setColor(const uint32_t color, utils::eDest dest); 98 void setTransform(const int orientation, utils::eDest dest); 99 void setPosition(const utils::Dim& dim, utils::eDest dest); [all …]
|
D | overlayMdp.h | 54 void setSource(const utils::PipeArgs& pargs); 59 void setCrop(const utils::Dim& d); 62 void setTransform(const utils::eTransform& orient); 64 void setPosition(const utils::Dim& dim); 78 utils::Dim getDstRectDim() const; 80 utils::Dim getSrcRectDim() const; 86 void setPipeType(const utils::eMdpPipeType& pType); 101 void setZ(utils::eZorder z); 103 void setIsFg(utils::eIsFg isFg); 105 utils::Whf getSrcWhf() const; [all …]
|
D | overlayRotator.h | 71 virtual void setSource(const utils::Whf& wfh) = 0; 72 virtual void setCrop(const utils::Dim& crop) = 0; 73 virtual void setFlags(const utils::eMdpFlags& flags) = 0; 74 virtual void setTransform(const utils::eTransform& rot) = 0; 83 virtual utils::Whf getDstWhf() const = 0; 84 virtual utils::Dim getDstDimensions() const = 0; 96 static uint32_t calcOutputBufSize(const utils::Whf& destWhf); 111 virtual void setSource(const utils::Whf& wfh); 112 virtual void setCrop(const utils::Dim& crop); 113 virtual void setFlags(const utils::eMdpFlags& flags); [all …]
|
D | overlayCtrlData.h | 37 namespace ovutils = overlay::utils; 48 class Ctrl : utils::NoCopy { 57 void setSource(const utils::PipeArgs& args); 59 void setCrop(const utils::Dim& d); 63 void setTransform(const utils::eTransform& p); 65 void setPosition(const utils::Dim& dim); 69 void setPipeType(const utils::eMdpPipeType& pType); 78 utils::Dim getCrop() const; 79 utils::Dim getPosition() const; 97 class Data : utils::NoCopy { [all …]
|
D | overlayMdssRot.cpp | 37 namespace ovutils = overlay::utils; 40 using namespace utils; 66 utils::Whf MdssRot::getDstWhf() const { in getDstWhf() 72 return utils::Whf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in getDstWhf() 76 utils::Dim MdssRot::getDstDimensions() const { in getDstDimensions() 77 return utils::Dim(mRotInfo.dst_rect.x, mRotInfo.dst_rect.y, in getDstDimensions() 84 if(!utils::openDev(mFd, 0, Res::fbPath, O_RDWR)) { in init() 91 void MdssRot::setSource(const overlay::utils::Whf& awhf) { in setSource() 92 utils::Whf whf(awhf); in setSource() 99 void MdssRot::setCrop(const utils::Dim& crop) { in setCrop() [all …]
|
D | overlayMdp.cpp | 33 namespace ovutils = overlay::utils; 44 if(!utils::openDev(mFd, fbnum, in init() 54 utils::memset0(mOVInfo); in reset() 56 mOrientation = utils::OVERLAY_TRANSFORM_0; in reset() 90 void MdpCtrl::setSource(const utils::PipeArgs& args) { in setSource() 104 void MdpCtrl::setCrop(const utils::Dim& d) { in setCrop() 112 void MdpCtrl::setPosition(const overlay::utils::Dim& d) { in setPosition() 116 void MdpCtrl::setTransform(const utils::eTransform& orient) { in setTransform() 117 int rot = utils::getMdpOrient(orient); in setTransform() 119 mOrientation = static_cast<utils::eTransform>(rot); in setTransform() [all …]
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlay.h | 45 class Overlay : utils::NoCopy { 87 utils::eDest getPipe(const PipeSpecs& pipeSpecs); 92 utils::eDest reservePipe(int pipeid); 94 utils::eDest getDest(int pipeid); 96 int getPipeId(utils::eDest dest); 98 void setSource(const utils::PipeArgs args, utils::eDest dest); 99 void setCrop(const utils::Dim& d, utils::eDest dest); 100 void setColor(const uint32_t color, utils::eDest dest); 101 void setTransform(const int orientation, utils::eDest dest); 102 void setPosition(const utils::Dim& dim, utils::eDest dest); [all …]
|
D | overlayMdp.h | 54 void setSource(const utils::PipeArgs& pargs); 59 void setCrop(const utils::Dim& d); 62 void setTransform(const utils::eTransform& orient); 64 void setPosition(const utils::Dim& dim); 78 utils::Dim getDstRectDim() const; 80 utils::Dim getSrcRectDim() const; 86 void setPipeType(const utils::eMdpPipeType& pType); 101 void setZ(utils::eZorder z); 103 utils::Whf getSrcWhf() const; 107 void setBlending(overlay::utils::eBlending blending); [all …]
|
D | overlayRotator.h | 71 virtual void setSource(const utils::Whf& wfh) = 0; 72 virtual void setCrop(const utils::Dim& crop) = 0; 73 virtual void setFlags(const utils::eMdpFlags& flags) = 0; 74 virtual void setTransform(const utils::eTransform& rot) = 0; 94 virtual utils::Whf getDstWhf() const = 0; 95 virtual utils::Dim getDstDimensions() const = 0; 119 static uint32_t calcOutputBufSize(const utils::Whf& destWhf); 135 virtual void setSource(const utils::Whf& wfh); 136 virtual void setCrop(const utils::Dim& crop); 137 virtual void setFlags(const utils::eMdpFlags& flags); [all …]
|
D | overlayCtrlData.h | 37 namespace ovutils = overlay::utils; 48 class Ctrl : utils::NoCopy { 57 void setSource(const utils::PipeArgs& args); 59 void setCrop(const utils::Dim& d); 63 void setTransform(const utils::eTransform& p); 65 void setPosition(const utils::Dim& dim); 69 void setPipeType(const utils::eMdpPipeType& pType); 78 utils::Dim getCrop() const; 79 utils::Dim getPosition() const; 97 class Data : utils::NoCopy { [all …]
|
D | overlayMdpRot.cpp | 25 namespace ovutils = overlay::utils; 61 utils::Whf MdpRot::getDstWhf() const { in getDstWhf() 66 return utils::Whf(alW, alH, mRotImgInfo.dst.format); in getDstWhf() 70 utils::Dim MdpRot::getDstDimensions() const { in getDstDimensions() 75 return utils::Dim(0, 0, alW, alH); in getDstDimensions() 81 if ((utils::ROT_DS_EIGHTH == ds) && (mRotImgInfo.src_rect.h & 0xF)) { in setDownscale() 84 mRotImgInfo.src_rect.h = utils::aligndown(mRotImgInfo.src_rect.h, 16); in setDownscale() 111 void MdpRot::setSource(const overlay::utils::Whf& awhf) { in setSource() 112 utils::Whf whf(awhf); in setSource() 125 void MdpRot::setCrop(const utils::Dim& /*crop*/) { in setCrop() [all …]
|
D | overlayMdp.cpp | 34 namespace ovutils = overlay::utils; 45 if(!utils::openDev(mFd, fbnum, in init() 55 utils::memset0(mOVInfo); in reset() 57 mOrientation = utils::OVERLAY_TRANSFORM_0; in reset() 91 void MdpCtrl::setSource(const utils::PipeArgs& args) { in setSource() 104 void MdpCtrl::setCrop(const utils::Dim& d) { in setCrop() 112 void MdpCtrl::setPosition(const overlay::utils::Dim& d) { in setPosition() 116 void MdpCtrl::setTransform(const utils::eTransform& orient) { in setTransform() 117 int rot = utils::getMdpOrient(orient); in setTransform() 119 mOrientation = static_cast<utils::eTransform>(rot); in setTransform() [all …]
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlay.h | 42 class Overlay : utils::NoCopy { 83 utils::eDest getPipe(const PipeSpecs& pipeSpecs); 88 utils::eDest reservePipe(int pipeid); 90 utils::eDest getDest(int pipeid); 92 int getPipeId(utils::eDest dest); 94 void setSource(const utils::PipeArgs args, utils::eDest dest); 95 void setCrop(const utils::Dim& d, utils::eDest dest); 96 void setColor(const uint32_t color, utils::eDest dest); 97 void setTransform(const int orientation, utils::eDest dest); 98 void setPosition(const utils::Dim& dim, utils::eDest dest); [all …]
|
D | overlayMdp.h | 54 void setSource(const utils::PipeArgs& pargs); 59 void setCrop(const utils::Dim& d); 62 void setTransform(const utils::eTransform& orient); 64 void setPosition(const utils::Dim& dim); 80 utils::Dim getDstRectDim() const; 82 utils::Dim getSrcRectDim() const; 101 void setZ(utils::eZorder z); 103 void setIsFg(utils::eIsFg isFg); 105 utils::Whf getSrcWhf() const; 109 void setBlending(overlay::utils::eBlending blending); [all …]
|
D | overlayCtrlData.h | 37 namespace ovutils = overlay::utils; 48 class Ctrl : utils::NoCopy { 57 void setSource(const utils::PipeArgs& args); 59 void setCrop(const utils::Dim& d); 63 void setTransform(const utils::eTransform& p); 65 void setPosition(const utils::Dim& dim); 76 utils::Dim getCrop() const; 77 utils::Dim getPosition() const; 97 class Data : utils::NoCopy { 128 inline void Ctrl::setSource(const utils::PipeArgs& args) in setSource() [all …]
|
D | overlayRotator.h | 71 virtual void setSource(const utils::Whf& wfh) = 0; 72 virtual void setCrop(const utils::Dim& crop) = 0; 73 virtual void setFlags(const utils::eMdpFlags& flags) = 0; 74 virtual void setTransform(const utils::eTransform& rot) = 0; 91 static uint32_t calcOutputBufSize(const utils::Whf& destWhf); 106 virtual void setSource(const utils::Whf& wfh); 107 virtual void setCrop(const utils::Dim& crop); 108 virtual void setFlags(const utils::eMdpFlags& flags); 109 virtual void setTransform(const utils::eTransform& rot); 149 utils::eTransform mOrientation; [all …]
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlay.h | 41 class Overlay : utils::NoCopy { 63 utils::eDest nextPipe(utils::eMdpPipeType, int dpy); 65 void setSource(const utils::PipeArgs args, utils::eDest dest); 66 void setCrop(const utils::Dim& d, utils::eDest dest); 67 void setTransform(const int orientation, utils::eDest dest); 68 void setPosition(const utils::Dim& dim, utils::eDest dest); 69 void setVisualParams(const MetaData_t& data, utils::eDest dest); 70 bool commit(utils::eDest dest); 71 bool queueBuffer(int fd, uint32_t offset, utils::eDest dest); 122 static utils::eMdpPipeType getPipeType(utils::eDest dest); [all …]
|
D | overlayMdp.h | 54 void setSource(const utils::PipeArgs& pargs); 59 void setCrop(const utils::Dim& d); 60 void setTransform(const utils::eTransform& orient); 62 void setPosition(const utils::Dim& dim); 79 utils::Dim getDstRectDim() const; 81 utils::Dim getSrcRectDim() const; 98 void setZ(utils::eZorder z); 100 void setIsFg(utils::eIsFg isFg); 102 utils::Whf getSrcWhf() const; 106 void setBlending(overlay::utils::eBlending blending); [all …]
|
D | overlayRotator.h | 85 virtual void setSource(const utils::Whf& wfh) = 0; 86 virtual void setSource(const utils::Whf& awhf, const utils::Whf& owhf) = 0; 87 virtual void setFlags(const utils::eMdpFlags& flags) = 0; 88 virtual void setTransform(const utils::eTransform& rot) = 0; 105 static uint32_t calcOutputBufSize(const utils::Whf& destWhf); 120 virtual void setSource(const utils::Whf& wfh); 121 virtual void setSource(const utils::Whf& awhf, const utils::Whf& owhf); 122 virtual void setFlags(const utils::eMdpFlags& flags); 123 virtual void setTransform(const utils::eTransform& rot); 159 utils::Whf mOrigWhf; [all …]
|
D | overlayCtrlData.h | 37 namespace ovutils = overlay::utils; 48 class Ctrl : utils::NoCopy { 61 void setSource(const utils::PipeArgs& args); 63 void setCrop(const utils::Dim& d); 65 void setTransform(const utils::eTransform& p); 67 void setPosition(const utils::Dim& dim); 78 utils::Dim getCrop() const; 79 utils::Dim getPosition() const; 95 class Data : utils::NoCopy { 156 inline void Ctrl::setSource(const utils::PipeArgs& args) in setSource() [all …]
|
D | overlayMdpRot.cpp | 23 namespace ovutils = overlay::utils; 54 if((utils::ROT_DS_HALF == ds) && (mRotImgInfo.src_rect.h &0x3)) in setDownscale() 55 mRotImgInfo.src_rect.h = utils::aligndown(mRotImgInfo.src_rect.h, 4); in setDownscale() 56 else if(((utils::ROT_DS_FOURTH == ds) && (mRotImgInfo.src_rect.h &0x7))) in setDownscale() 57 mRotImgInfo.src_rect.h = utils::aligndown(mRotImgInfo.src_rect.h, 8); in setDownscale() 58 else if(((utils::ROT_DS_EIGHTH == ds) && (mRotImgInfo.src_rect.h &0xf))) in setDownscale() 59 mRotImgInfo.src_rect.h = utils::aligndown(mRotImgInfo.src_rect.h, 16); in setDownscale() 60 } else if ((utils::ROT_DS_EIGHTH == ds) && (mRotImgInfo.src_rect.h & 0xF)) { in setDownscale() 65 mRotImgInfo.src_rect.h = utils::alignup(mRotImgInfo.src_rect.h, 16); in setDownscale() 92 void MdpRot::setSource(const overlay::utils::Whf& awhf) { in setSource() [all …]
|
/hardware/qcom/display/msm8226/liboverlay/pipes/ |
D | overlayGenPipe.h | 38 class GenericPipe : utils::NoCopy { 46 void setSource(const utils::PipeArgs& args); 48 void setCrop(const utils::Dim& d); 52 void setTransform(const utils::eTransform& param); 54 void setPosition(const utils::Dim& dim); 58 void setPipeType(const utils::eMdpPipeType& pType); 65 const utils::PipeArgs& getArgs() const; 67 utils::Dim getCrop() const;
|
/hardware/qcom/display/msm8994/liboverlay/pipes/ |
D | overlayGenPipe.h | 38 class GenericPipe : utils::NoCopy { 46 void setSource(const utils::PipeArgs& args); 48 void setCrop(const utils::Dim& d); 52 void setTransform(const utils::eTransform& param); 54 void setPosition(const utils::Dim& dim); 58 void setPipeType(const utils::eMdpPipeType& pType); 65 const utils::PipeArgs& getArgs() const; 67 utils::Dim getCrop() const;
|