• Home
  • Raw
  • Download

Lines Matching refs:utils

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);
90 bool setSource(const utils::PipeArgs& args);
93 overlay::GenericPipe<utils::PRIMARY> mM3d;
108 class S3DExtPipe : utils::NoCopy {
117 bool setCrop(const utils::Dim& d);
118 bool setPosition(const utils::Dim& dim);
119 bool setTransform(const utils::eTransform& param);
120 bool setSource(const utils::PipeArgs& args);
123 overlay::GenericPipe<utils::EXTERNAL> mS3d;
138 class S3DPrimaryPipe : utils::NoCopy {
147 bool setCrop(const utils::Dim& d);
148 bool setPosition(const utils::Dim& dim);
149 bool setTransform(const utils::eTransform& param);
150 bool setSource(const utils::PipeArgs& args);
155 overlay::GenericPipe<utils::PRIMARY> mS3d;
191 inline bool M3DExtPipe<CHAN>::setCrop(const utils::Dim& d) { in setCrop()
192 utils::Dim _dim; in setCrop()
193 if(!utils::getCropS3D<CHAN>(d, _dim, mM3Dfmt)){ in setCrop()
201 inline bool M3DExtPipe<CHAN>::setPosition(const utils::Dim& d) { in setPosition()
202 utils::Dim _dim; in setPosition()
207 utils::Whf _whf(mM3d.getScreenInfo().mFBWidth, in setPosition()
210 if(!utils::getPositionS3D<CHAN>(_whf, _dim)) { in setPosition()
217 inline bool M3DExtPipe<CHAN>::setTransform(const utils::eTransform& param) { in setTransform()
221 inline bool M3DExtPipe<CHAN>::setSource(const utils::PipeArgs& args) in setSource()
224 mM3Dfmt = utils::format3DInput(utils::getS3DFormat(args.whf.format)) | in setSource()
225 utils::HAL_3D_OUT_MONOS_MASK; in setSource()
260 inline bool M3DPrimaryPipe<CHAN>::setCrop(const utils::Dim& d) { in setCrop()
261 utils::Dim _dim; in setCrop()
262 if(!utils::getCropS3D<CHAN>(d, _dim, mM3Dfmt)){ in setCrop()
269 inline bool M3DPrimaryPipe<CHAN>::setPosition(const utils::Dim& d) { in setPosition()
273 inline bool M3DPrimaryPipe<CHAN>::setTransform(const utils::eTransform& param) { in setTransform()
277 inline bool M3DPrimaryPipe<CHAN>::setSource(const utils::PipeArgs& args) in setSource()
280 mM3Dfmt = utils::format3DInput(utils::getS3DFormat(args.whf.format)) | in setSource()
281 utils::HAL_3D_OUT_MONOS_MASK; in setSource()
306 if(!utils::send3DInfoPacket(0)) { in close()
318 inline bool S3DExtPipe<CHAN>::setCrop(const utils::Dim& d) { in setCrop()
319 utils::Dim _dim; in setCrop()
320 if(!utils::getCropS3D<CHAN>(d, _dim, mS3Dfmt)){ in setCrop()
327 inline bool S3DExtPipe<CHAN>::setPosition(const utils::Dim& d) in setPosition()
329 utils::Dim _dim; in setPosition()
330 utils::Whf _whf(mS3d.getScreenInfo().mFBWidth, in setPosition()
333 if(!utils::getPositionS3D<CHAN>(_whf, _dim)) { in setPosition()
340 inline bool S3DExtPipe<CHAN>::setTransform(const utils::eTransform& param) { in setTransform()
344 inline bool S3DExtPipe<CHAN>::setSource(const utils::PipeArgs& args) { in setSource()
345 mS3Dfmt = utils::getS3DFormat(args.whf.format); in setSource()
372 if(!utils::enableBarrier(0)) { in close()
381 uint32_t fmt = mS3Dfmt & utils::OUTPUT_3D_MASK; in commit()
382 if(!utils::send3DInfoPacket(fmt)){ in commit()
393 inline bool S3DPrimaryPipe<CHAN>::setCrop(const utils::Dim& d) { in setCrop()
394 utils::Dim _dim; in setCrop()
395 if(!utils::getCropS3D<CHAN>(d, _dim, mS3Dfmt)){ in setCrop()
402 inline bool S3DPrimaryPipe<CHAN>::setPosition(const utils::Dim& d) in setPosition()
404 utils::Whf fbwhf(mS3d.getScreenInfo().mFBWidth, in setPosition()
409 ALOGE("Failed to use VFB on %d (non fatal)", utils::FB0); in setPosition()
412 utils::Dim _dim; in setPosition()
417 utils::Whf _whf(d.w, d.h, utils::HAL_3D_OUT_SBS_MASK); in setPosition()
418 if(!utils::getPositionS3D<CHAN>(_whf, _dim)) { in setPosition()
429 inline bool S3DPrimaryPipe<utils::OV_PIPE0>::setTransform( in setTransform()
430 const utils::eTransform& param) { in setTransform()
433 case utils::OVERLAY_TRANSFORM_ROT_90: in setTransform()
434 case utils::OVERLAY_TRANSFORM_ROT_270: in setTransform()
435 barrier = utils::BARRIER_LAND; in setTransform()
438 barrier = utils::BARRIER_PORT; in setTransform()
441 if(!utils::enableBarrier(barrier)) { in setTransform()
448 inline bool S3DPrimaryPipe<CHAN>::setTransform(const utils::eTransform& param) { in setTransform()
452 inline bool S3DPrimaryPipe<CHAN>::setSource(const utils::PipeArgs& args) in setSource()
454 mS3Dfmt = utils::getS3DFormat(args.whf.format); in setSource()