Home
last modified time | relevance | path

Searched refs:rotation (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/external/opencv/cv/src/
Dcvposit.cpp114 CvMatr32f rotation, CvVect32f translation ) in icvPOSIT() argument
135 if( !rotation ) in icvPOSIT()
165 float tmp = objectVectors[i] * rotation[6] /*[2][0]*/ + in icvPOSIT()
166 objectVectors[N + i] * rotation[7] /*[2][1]*/ + in icvPOSIT()
167 objectVectors[2 * N + i] * rotation[8] /*[2][2]*/; in icvPOSIT()
189 rotation[3*i+j] /*[i][j]*/ = 0; in icvPOSIT()
192 rotation[3*i+j] /*[i][j]*/ += invMatrix[j * N + k] * imgVectors[i * N + k]; in icvPOSIT()
197 inorm = rotation[0] /*[0][0]*/ * rotation[0] /*[0][0]*/ + in icvPOSIT()
198 rotation[1] /*[0][1]*/ * rotation[1] /*[0][1]*/ + in icvPOSIT()
199 rotation[2] /*[0][2]*/ * rotation[2] /*[0][2]*/; in icvPOSIT()
[all …]
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/
Dscenes.js23 body.rotation = {};
24 body.rotation.x = ( Math.random() * 360 ) * Math.PI / 180;
25 body.rotation.y = ( Math.random() * 360 ) * Math.PI / 180;
26 body.rotation.z = ( Math.random() * 360 ) * Math.PI / 180;
51 body.rotation = {};
52 body.rotation.x = ( Math.random() * 360 ) * Math.PI / 180;
53 body.rotation.y = ( Math.random() * 360 ) * Math.PI / 180;
54 body.rotation.z = ( Math.random() * 360 ) * Math.PI / 180;
94 body.rotation = {};
95 body.rotation.x = 0.0;
[all …]
/external/qemu/android/skin/
Dimage.c53 rotate_image( void* data, unsigned width, unsigned height, SkinRotation rotation ) in rotate_image() argument
61 switch (rotation & 3) in rotate_image()
182 h += desc->rotation*1573; in skin_image_desc_hash()
193 return (a->rotation == b->rotation && in skin_image_desc_equal()
390 node->desc.path, node->desc.rotation, node->w*node->h ); in skin_image_cache_remove()
475 if (desc->rotation == SKIN_ROTATION_0 && in skin_image_create()
488 desc0.rotation = SKIN_ROTATION_0; in skin_image_create()
497 if (desc->rotation == SKIN_ROTATION_90 || in skin_image_create()
498 desc->rotation == SKIN_ROTATION_270) in skin_image_create()
508 desc->rotation ); in skin_image_create()
[all …]
Dimage.h34 SkinRotation rotation; /* rotation */ member
75 extern SkinImage* skin_image_rotate( SkinImage* source, SkinRotation rotation );
86 SkinRotation rotation,
/external/chromium_org/ppapi/examples/compositor/
Dspinning_cube.cc237 ESMatrix rotation; in Rotate() local
254 rotation.m[0][0] = (one_minus_cos * xx) + cos_angle; in Rotate()
255 rotation.m[0][1] = (one_minus_cos * xy) - zs; in Rotate()
256 rotation.m[0][2] = (one_minus_cos * zx) + ys; in Rotate()
257 rotation.m[0][3] = 0.0F; in Rotate()
259 rotation.m[1][0] = (one_minus_cos * xy) + zs; in Rotate()
260 rotation.m[1][1] = (one_minus_cos * yy) + cos_angle; in Rotate()
261 rotation.m[1][2] = (one_minus_cos * yz) - xs; in Rotate()
262 rotation.m[1][3] = 0.0F; in Rotate()
264 rotation.m[2][0] = (one_minus_cos * zx) - ys; in Rotate()
[all …]
/external/chromium_org/ppapi/examples/gles2_spinning_cube/
Dspinning_cube.cc253 ESMatrix rotation; in Rotate() local
270 rotation.m[0][0] = (one_minus_cos * xx) + cos_angle; in Rotate()
271 rotation.m[0][1] = (one_minus_cos * xy) - zs; in Rotate()
272 rotation.m[0][2] = (one_minus_cos * zx) + ys; in Rotate()
273 rotation.m[0][3] = 0.0F; in Rotate()
275 rotation.m[1][0] = (one_minus_cos * xy) + zs; in Rotate()
276 rotation.m[1][1] = (one_minus_cos * yy) + cos_angle; in Rotate()
277 rotation.m[1][2] = (one_minus_cos * yz) - xs; in Rotate()
278 rotation.m[1][3] = 0.0F; in Rotate()
280 rotation.m[2][0] = (one_minus_cos * zx) - ys; in Rotate()
[all …]
/external/chromium_org/mojo/apps/js/
Dmain.js154 var rotation = new ESMatrix();
171 rotation.set(0, 0, (oneMinusCos * xx) + cosAngle);
172 rotation.set(0, 1, (oneMinusCos * xy) - zs);
173 rotation.set(0, 2, (oneMinusCos * zx) + ys);
174 rotation.set(0, 3, 0);
176 rotation.set(1, 0, (oneMinusCos * xy) + zs);
177 rotation.set(1, 1, (oneMinusCos * yy) + cosAngle);
178 rotation.set(1, 2, (oneMinusCos * yz) - xs);
179 rotation.set(1, 3, 0);
181 rotation.set(2, 0, (oneMinusCos * zx) - ys);
[all …]
/external/chromium_org/mojo/examples/sample_app/
Dspinning_cube.cc254 ESMatrix rotation; in Rotate() local
271 rotation.m[0][0] = (one_minus_cos * xx) + cos_angle; in Rotate()
272 rotation.m[0][1] = (one_minus_cos * xy) - zs; in Rotate()
273 rotation.m[0][2] = (one_minus_cos * zx) + ys; in Rotate()
274 rotation.m[0][3] = 0.0F; in Rotate()
276 rotation.m[1][0] = (one_minus_cos * xy) + zs; in Rotate()
277 rotation.m[1][1] = (one_minus_cos * yy) + cos_angle; in Rotate()
278 rotation.m[1][2] = (one_minus_cos * yz) - xs; in Rotate()
279 rotation.m[1][3] = 0.0F; in Rotate()
281 rotation.m[2][0] = (one_minus_cos * zx) - ys; in Rotate()
[all …]
/external/chromium_org/media/base/android/java/src/org/chromium/media/
DVideoCaptureTango.java118 int rotation = getDeviceOrientation(); in onPreviewFrame() local
119 if (rotation != mDeviceOrientation) { in onPreviewFrame()
120 mDeviceOrientation = rotation; in onPreviewFrame()
123 rotation = 360 - rotation; in onPreviewFrame()
125 rotation = (mCameraOrientation + rotation) % 360; in onPreviewFrame()
187 rotation); in onPreviewFrame()
DVideoCaptureAndroid.java187 int rotation = getDeviceOrientation(); in onPreviewFrame() local
188 if (rotation != mDeviceOrientation) { in onPreviewFrame()
189 mDeviceOrientation = rotation; in onPreviewFrame()
192 rotation = 360 - rotation; in onPreviewFrame()
194 rotation = (mCameraOrientation + rotation) % 360; in onPreviewFrame()
196 data, mExpectedFrameSize, rotation); in onPreviewFrame()
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dvideocommon.cc159 int rotation, in ComputeCrop() argument
162 if (rotation == 90 || rotation == 270) { in ComputeCrop()
171 ASSERT(rotation == 0 || rotation == 90 || rotation == 180 || rotation == 270); in ComputeCrop()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowDisplay.java25 private int rotation = Surface.ROTATION_0; field in ShadowDisplay
61 return rotation; in getRotation()
125 public void setRotation(int rotation) { in setRotation() argument
126 this.rotation = rotation; in setRotation()
/external/chromium_org/ash/display/
Ddisplay_info_unittest.cc18 EXPECT_EQ(gfx::Display::ROTATE_0, info.rotation()); in TEST_F()
25 EXPECT_EQ(gfx::Display::ROTATE_0, info.rotation()); in TEST_F()
31 EXPECT_EQ(gfx::Display::ROTATE_0, info.rotation()); in TEST_F()
37 EXPECT_EQ(gfx::Display::ROTATE_90, info.rotation()); in TEST_F()
43 EXPECT_EQ(gfx::Display::ROTATE_270, info.rotation()); in TEST_F()
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dwebrtcvideoframe.cc116 int64 elapsed_time, int64 time_stamp, int rotation) { in Init() argument
118 pixel_height, elapsed_time, time_stamp, rotation); in Init()
125 frame->time_stamp, frame->rotation); in Init()
129 if (CanonicalFourCC(frame->fourcc) != FOURCC_I420 || frame->rotation != 0 || in Alias()
142 frame->rotation); in Alias()
159 size_t pixel_height, int64 elapsed_time, int64 time_stamp, int rotation) { in Alias() argument
164 elapsed_time, time_stamp, rotation); in Alias()
278 int64 time_stamp, int rotation) { in Attach() argument
290 rotation_ = rotation; in Attach()
304 int64 elapsed_time, int64 time_stamp, int rotation) { in Reset() argument
[all …]
/external/qemu/android/
Dframebuffer.c79 int rotation, in qframebuffer_init() argument
84 rotation &= 3; in qframebuffer_init()
194 qframebuffer_rotate( QFrameBuffer* qfbuff, int rotation ) in qframebuffer_rotate() argument
198 if ((rotation ^ qfbuff->rotation) & 1) { in qframebuffer_rotate()
209 qfbuff->rotation = rotation; in qframebuffer_rotate()
212 extra->fb_rotate( extra->fb_opaque, rotation ); in qframebuffer_rotate()
Dframebuffer.h53 int rotation; /* rotation to be applied when displaying */ member
79 int rotation,
110 typedef void (*QFrameBufferRotateFunc)( void* opaque, int rotation );
173 qframebuffer_rotate( QFrameBuffer* qfbuff, int rotation );
/external/valgrind/main/memcheck/tests/
Dbug287260.c5 signed int rotation : 10; member
13 r.rotation = 45; in main()
14 fprintf (stderr, "%d\n", r.rotation); in main()
/external/chromium_org/ui/gfx/
Dinterpolated_transform_unittest.cc30 gfx::Transform rotation; in TEST() local
31 rotation.Rotate(i); in TEST()
33 CheckApproximatelyEqual(rotation, interpolated); in TEST()
35 CheckApproximatelyEqual(rotation, interpolated); in TEST()
127 scoped_ptr<ui::InterpolatedTransform> rotation( in GetScreenRotation() local
151 rotation->SetChild(translation.release()); in GetScreenRotation()
152 to_return->SetChild(rotation.release()); in GetScreenRotation()
196 scoped_ptr<ui::InterpolatedTransform> rotation( in GetMaximize() local
203 rotation.release())); in GetMaximize()
Ddisplay.h74 Rotation rotation() const { return rotation_; } in rotation() function
75 void set_rotation(Rotation rotation) { rotation_ = rotation; } in set_rotation() argument
77 void SetRotationAsDegree(int rotation);
/external/chromium_org/third_party/webrtc/modules/video_capture/
Dvideo_capture_impl.cc46 VideoCaptureRotation* rotation) { in RotationFromDegrees() argument
49 *rotation = kCameraRotate0; in RotationFromDegrees()
52 *rotation = kCameraRotate90; in RotationFromDegrees()
55 *rotation = kCameraRotate180; in RotationFromDegrees()
58 *rotation = kCameraRotate270; in RotationFromDegrees()
66 int32_t VideoCaptureImpl::RotationInDegrees(VideoCaptureRotation rotation, in RotationInDegrees() argument
68 switch (rotation) { in RotationInDegrees()
343 int32_t VideoCaptureImpl::SetCaptureRotation(VideoCaptureRotation rotation) { in SetCaptureRotation() argument
346 switch (rotation){ in SetCaptureRotation()
/external/chromium_org/chrome/browser/extensions/api/system_display/
Ddisplay_info_provider_chromeos.cc33 bool IsValidRotationValue(int rotation) { in IsValidRotationValue() argument
34 return rotation == 0 || rotation == 90 || rotation == 180 || rotation == 270; in IsValidRotationValue()
205 info.bounds_origin_y || info.rotation || info.overscan)) { in ValidateParamsForDisplay()
234 if (info.rotation && !IsValidRotationValue(*info.rotation)) { in ValidateParamsForDisplay()
331 if (info.rotation) { in SetInfoImpl()
333 DegreesToRotation(*info.rotation)); in SetInfoImpl()
Ddisplay_info_provider.cc16 int RotationToDegrees(gfx::Display::Rotation rotation) { in RotationToDegrees() argument
17 switch (rotation) { in RotationToDegrees()
41 unit->rotation = RotationToDegrees(display.rotation()); in CreateDisplayUnitInfo()
/external/chromium_org/ui/base/cursor/
Dimage_cursors.cc86 return cursor_loader_->rotation(); in GetRotation()
93 } else if (cursor_loader_->rotation() == display.rotation() && in SetDisplay()
98 cursor_loader_->set_rotation(display.rotation()); in SetDisplay()
Dcursor_loader.h22 gfx::Display::Rotation rotation() const { in rotation() function
26 void set_rotation(gfx::Display::Rotation rotation) { in set_rotation() argument
27 rotation_ = rotation; in set_rotation()
/external/chromium_org/pdf/pdfium/
Dpdfium_page.h46 base::Value* GetAccessibleContentAsValue(int rotation);
66 Area GetCharIndex(const pp::Point& point, int rotation, int* char_index,
82 int rotation);
110 double right, double bottom, int rotation);

12345678910>>...12