Lines Matching refs:rot
66 bool startRotator(int fd, msm_rotator_img_info& rot);
69 bool rotate(int fd, msm_rotator_data_info& rot);
114 void dump(const char* const s, const msm_rotator_img_info& rot);
115 void dump(const char* const s, const msm_rotator_data_info& rot);
153 inline bool startRotator(int fd, msm_rotator_img_info& rot) {
155 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){
163 inline bool rotate(int fd, msm_rotator_data_info& rot) {
165 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) {
360 inline void dump(const char* const s, const msm_rotator_img_info& rot) {
361 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot=%d, ena=%d scale=%d",
362 s, rot.session_id, rot.dst_x, rot.dst_y,
363 rot.rotations, rot.enable, rot.downscale_ratio);
364 dump("src", rot.src);
365 dump("dst", rot.dst);
366 dump("src_rect", rot.src_rect);
368 inline void dump(const char* const s, const msm_rotator_data_info& rot) {
370 s, rot.session_id, rot.version_key);
371 dump("src", rot.src);
372 dump("dst", rot.dst);
373 dump("src_chroma", rot.src_chroma);
374 dump("dst_chroma", rot.dst_chroma);