Lines Matching defs:Ctrl
48 class Ctrl : utils::NoCopy {
52 explicit Ctrl();
54 ~Ctrl();
73 /* ctrl id */
75 /* ctrl fd */
90 // mdp ctrl struct(info e.g.)
121 /* This class just creates a Ctrl Data pair to be used by a pipe.
123 * need to use the Ctrl channel in hwc_prepare (i.e config stage) and Data
127 Ctrl ctrl;
133 inline Ctrl::Ctrl() {
137 inline Ctrl::~Ctrl() {
141 inline bool Ctrl::close() {
147 inline bool Ctrl::init(uint32_t fbnum) {
150 ALOGE("Ctrl failed to init fbnum=%d", fbnum);
156 inline void Ctrl::setSource(const utils::PipeArgs& args)
161 inline void Ctrl::setPosition(const utils::Dim& dim)
166 inline void Ctrl::setTransform(const utils::eTransform& orient)
171 inline void Ctrl::setCrop(const utils::Dim& d)
176 inline bool Ctrl::setVisualParams(const MetaData_t &metadata)
179 ALOGE("Ctrl setVisualParams failed in MDP setVisualParams");
185 inline void Ctrl::dump() const {
186 ALOGE("== Dump Ctrl start ==");
188 ALOGE("== Dump Ctrl end ==");
191 inline bool Ctrl::commit() {
193 ALOGE("Ctrl commit failed set overlay");
199 inline int Ctrl::getPipeId() const {
203 inline int Ctrl::getFd() const {
207 inline void Ctrl::updateSrcFormat(const uint32_t& rotDstFmt) {
211 inline utils::Dim Ctrl::getCrop() const {
215 inline utils::Dim Ctrl::getPosition() const {
219 inline void Ctrl::setDownscale(int dscale_factor) {
223 inline void Ctrl::getDump(char *buf, size_t len) {