Lines Matching refs:ctrl
58 if(!mCtrlData.ctrl.init(fbNum)) {
59 ALOGE("GenericPipe failed to init ctrl");
74 if(!mCtrlData.ctrl.close()) {
75 ALOGE("GenericPipe failed to close ctrl");
89 mCtrlData.ctrl.setSource(args);
93 mCtrlData.ctrl.setCrop(d);
97 mCtrlData.ctrl.setTransform(orient);
101 mCtrlData.ctrl.setPosition(d);
106 return mCtrlData.ctrl.setVisualParams(metadata);
114 ovutils::Dim src(mCtrlData.ctrl.getCrop());
115 ovutils::Dim dst(mCtrlData.ctrl.getPosition());
120 mCtrlData.ctrl.setDownscale(downscale_factor);
121 ret = mCtrlData.ctrl.commit();
128 //TODO Move pipe-id transfer to CtrlData class. Make ctrl and data private.
130 int pipeId = mCtrlData.ctrl.getPipeId();
131 OVASSERT(-1 != pipeId, "Ctrl ID should not be -1");
132 // set pipe id from ctrl to data
139 return mCtrlData.ctrl.getFd();
144 return mCtrlData.ctrl.getCrop();
151 mCtrlData.ctrl.dump();
158 mCtrlData.ctrl.getDump(buf, len);
176 mCtrlData.ctrl.forceSet();