Home
last modified time | relevance | path

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

12345678910>>...20

/external/deqp/scripts/
Dbuild_android_mustpass.py68 rotation = "unspecified",
76 rotation = "unspecified",
93 rotation = "unspecified",
101 rotation = "unspecified",
108 rotation = "unspecified",
127 rotation = "unspecified",
135 rotation = "unspecified",
142 rotation = "unspecified",
150 rotation = "0",
156 rotation = "90",
[all …]
/external/webrtc/modules/desktop_capture/
Ddesktop_frame_rotation.cc20 libyuv::RotationMode ToLibyuvRotationMode(Rotation rotation) { in ToLibyuvRotationMode() argument
21 switch (rotation) { in ToLibyuvRotationMode()
37 Rotation rotation, in RotateAndOffsetRect() argument
39 DesktopRect result = RotateRect(rect, size, rotation); in RotateAndOffsetRect()
46 Rotation ReverseRotation(Rotation rotation) { in ReverseRotation() argument
47 switch (rotation) { in ReverseRotation()
49 return rotation; in ReverseRotation()
61 DesktopSize RotateSize(DesktopSize size, Rotation rotation) { in RotateSize() argument
62 switch (rotation) { in RotateSize()
74 DesktopRect RotateRect(DesktopRect rect, DesktopSize size, Rotation rotation) { in RotateRect() argument
[all …]
Ddesktop_frame_rotation.h36 const Rotation& rotation,
41 Rotation ReverseRotation(Rotation rotation);
44 DesktopSize RotateSize(DesktopSize size, Rotation rotation);
48 DesktopRect RotateRect(DesktopRect rect, DesktopSize size, Rotation rotation);
/external/angle/src/compiler/translator/tree_util/
DSpecializationConstant.cpp72 TIntermAggregate *CreateMat2x2(const Mat2x2EnumMap &matrix, vk::SurfaceRotation rotation) in CreateMat2x2() argument
76 mat2Args.push_back(CreateFloatNode(matrix[rotation][0])); in CreateMat2x2()
77 mat2Args.push_back(CreateFloatNode(matrix[rotation][1])); in CreateMat2x2()
78 mat2Args.push_back(CreateFloatNode(matrix[rotation][2])); in CreateMat2x2()
79 mat2Args.push_back(CreateFloatNode(matrix[rotation][3])); in CreateMat2x2()
86 TIntermTyped *GenerateMat2x2ArrayWithIndex(const Mat2x2EnumMap &matrix, TIntermSymbol *rotation) in GenerateMat2x2ArrayWithIndex() argument
102 return new TIntermBinary(EOpIndexIndirect, array, rotation); in GenerateMat2x2ArrayWithIndex()
120 constexpr Vec2 CalcFragRotationMultiplyFlipXY(vk::SurfaceRotation rotation) in CalcFragRotationMultiplyFlipXY() argument
122 return Vec2({kFlipXYValue[rotation][0] * kFragRotationMatrices[rotation][0] + in CalcFragRotationMultiplyFlipXY()
123 kFlipXYValue[rotation][1] * kFragRotationMatrices[rotation][1], in CalcFragRotationMultiplyFlipXY()
[all …]
/external/lottie/lottie/src/main/java/com/airbnb/lottie/animation/keyframe/
DTransformKeyframeAnimation.java36 @NonNull private BaseKeyframeAnimation<Float, Float> rotation; field in TransformKeyframeAnimation
49rotation = animatableTransform.getRotation() == null ? null : animatableTransform.getRotation().cr… in TransformKeyframeAnimation()
86 layer.addAnimation(rotation); in addAnimationsToLayer()
111 if (rotation != null) { in addListener()
112 rotation.addUpdateListener(listener); in addListener()
142 if (rotation != null) { in setProgress()
143 rotation.setProgress(progress); in setProgress()
174 if (rotation != null) { in getMatrix()
175 float rotation; in getMatrix() local
176 if (this.rotation instanceof ValueCallbackKeyframeAnimation) { in getMatrix()
[all …]
/external/deqp/external/openglcts/scripts/
Dbuild_mustpass.py109 rotation = "unspecified",
118 rotation = "unspecified",
126 rotation = "0",
133 rotation = "90",
140 rotation = "180",
147 rotation = "270",
156 rotation = "unspecified",
166 rotation = "unspecified",
178 rotation = "unspecified",
185 rotation = "0",
[all …]
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/
DAnimatableTransformParser.java43 AnimatableFloatValue rotation = null; in parse() local
90 rotation = AnimatableValueParser.parseFloat(reader, composition, false); in parse()
91 if (rotation.getKeyframes().isEmpty()) { in parse()
92rotation.getKeyframes().add(new Keyframe(composition, 0f, 0f, null, 0f, composition.getEndFrame())… in parse()
93 } else if (rotation.getKeyframes().get(0).startValue == null) { in parse()
94rotation.getKeyframes().set(0, new Keyframe(composition, 0f, 0f, null, 0f, composition.getEndFrame… in parse()
127 if (isRotationIdentity(rotation)) { in parse()
128 rotation = null; in parse()
139 …return new AnimatableTransform(anchorPoint, position, scale, rotation, opacity, startOpacity, endO… in parse()
152 private static boolean isRotationIdentity(AnimatableFloatValue rotation) { in isRotationIdentity() argument
[all …]
/external/webrtc/sdk/android/api/org/webrtc/
DEncodedImage.java56 public final int rotation; field in EncodedImage
73 int encodedHeight, long captureTimeNs, FrameType frameType, int rotation, in EncodedImage() argument
81 this.rotation = rotation; in EncodedImage()
114 return rotation; in getRotation()
138 private int rotation; field in EncodedImage.Builder
176 public Builder setRotation(int rotation) { in setRotation() argument
177 this.rotation = rotation; in setRotation()
193 frameType, rotation, completeFrame, qp); in createEncodedImage()
DVideoFrame.java124 private final int rotation; field in VideoFrame
133 public VideoFrame(Buffer buffer, int rotation, long timestampNs) { in VideoFrame() argument
137 if (rotation % 90 != 0) { in VideoFrame()
141 this.rotation = rotation; in VideoFrame()
155 return rotation; in getRotation()
167 if (rotation % 180 == 0) { in getRotatedWidth()
174 if (rotation % 180 == 0) { in getRotatedHeight()
/external/webrtc/sdk/android/src/jni/
Dandroid_video_track_source.cc27 VideoRotation jintToVideoRotation(jint rotation) { in jintToVideoRotation() argument
28 RTC_DCHECK(rotation == 0 || rotation == 90 || rotation == 180 || in jintToVideoRotation()
29 rotation == 270); in jintToVideoRotation()
30 return static_cast<VideoRotation>(rotation); in jintToVideoRotation()
100 const VideoRotation rotation = jintToVideoRotation(j_rotation); in AdaptFrame() local
119 if (rotation % 180 == 0) { in AdaptFrame()
142 const VideoRotation rotation = jintToVideoRotation(j_rotation); in OnFrameCaptured() local
145 if (apply_rotation() && rotation != kVideoRotation_0) in OnFrameCaptured()
150 .set_rotation(rotation) in OnFrameCaptured()
/external/webrtc/sdk/objc/base/
DRTCVideoFrame.mm32 - (RTCVideoRotation)rotation { method in RTCVideoFrame
42 rotation:_rotation
47 rotation:(RTCVideoRotation)rotation
60 rotation:(RTCVideoRotation)rotation
67 rotation:(RTCVideoRotation)rotation
71 _rotation = rotation;
DRTCVideoFrame.h37 @property(nonatomic, readonly) RTCVideoRotation rotation;
54 rotation:(RTCVideoRotation)rotation
69 rotation:(RTCVideoRotation)rotation
76 rotation:(RTCVideoRotation)rotation
/external/webrtc/modules/video_capture/
Dvideo_capture_impl.cc35 VideoRotation* rotation) { in RotationFromDegrees() argument
38 *rotation = kVideoRotation_0; in RotationFromDegrees()
41 *rotation = kVideoRotation_90; in RotationFromDegrees()
44 *rotation = kVideoRotation_180; in RotationFromDegrees()
47 *rotation = kVideoRotation_270; in RotationFromDegrees()
56 int32_t VideoCaptureImpl::RotationInDegrees(VideoRotation rotation, in RotationInDegrees() argument
58 switch (rotation) { in RotationInDegrees()
225 int32_t VideoCaptureImpl::SetCaptureRotation(VideoRotation rotation) { in SetCaptureRotation() argument
227 _rotateFrame = rotation; in SetCaptureRotation()
/external/webrtc/sdk/android/native_unittests/video/
Dvideo_source_unittest.cc70 const int rotation = 180; in TEST() local
73 env, width, height, rotation, timestamp, in TEST()
81 EXPECT_EQ(rotation, frame.rotation()); in TEST()
103 const int rotation = 180; in TEST() local
106 env, width, height, rotation, 987654321, in TEST()
114 EXPECT_EQ(rotation, frame.rotation()); in TEST()
/external/webrtc/sdk/objc/components/renderer/opengl/
DRTCVideoViewShading.h26 - (void)applyShadingForFrameWithWidth : (int)width height : (int)height rotation
27 : (RTCVideoRotation)rotation yPlane : (GLuint)yPlane uPlane : (GLuint)uPlane vPlane
33 rotation:(RTCVideoRotation)rotation
DRTCDefaultShader.mm75 // Store current rotation and only upload new vertex data when rotation changes.
137 - (BOOL)prepareVertexBufferWithRotation:(RTCVideoRotation)rotation {
146 if (!_currentRotation || rotation != *_currentRotation) {
147 _currentRotation = absl::optional<RTCVideoRotation>(rotation);
155 rotation:(RTCVideoRotation)rotation
159 if (![self prepareVertexBufferWithRotation:rotation]) {
184 rotation:(RTCVideoRotation)rotation
187 if (![self prepareVertexBufferWithRotation:rotation]) {
/external/igt-gpu-tools/tests/
Dkms_rotation_crc.c59 igt_rotation_t rotation; member
84 rgb_color_t *bl, igt_rotation_t rotation) in rotate_colors() argument
88 if (rotation & IGT_REFLECT_X) { in rotate_colors()
93 if (rotation & IGT_ROTATION_90) { in rotate_colors()
102 } else if (rotation & IGT_ROTATION_180) { in rotate_colors()
105 } else if (rotation & IGT_ROTATION_270) { in rotate_colors()
121 paint_squares(data_t *data, igt_rotation_t rotation, in paint_squares() argument
139 rotate_colors(&tl, &tr, &br, &bl, rotation); in paint_squares()
248 if (data->rotation & (IGT_ROTATION_90 | IGT_ROTATION_270)) { in prepare_fbs()
259 paint_squares(data, data->rotation, &data->fb_flip, in prepare_fbs()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowViewRenderNode.java19 private float rotation; field in ShadowViewRenderNode
84 public boolean setRotation(float rotation) { in setRotation() argument
85 this.rotation = rotation; in setRotation()
91 return rotation; in getRotation()
DShadowRenderNode.java20 private float rotation; field in ShadowRenderNode
85 public boolean setRotation(float rotation) { in setRotation() argument
86 this.rotation = rotation; in setRotation()
92 return rotation; in getRotation()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/content/
DPolystarShape.java37 private final AnimatableFloatValue rotation; field in PolystarShape
46 AnimatableFloatValue rotation, AnimatableFloatValue innerRadius, in PolystarShape() argument
53 this.rotation = rotation; in PolystarShape()
78 return rotation; in getRotation()
/external/webrtc/api/video/
Dvideo_frame.h94 Builder& set_rotation(VideoRotation rotation);
115 webrtc::VideoRotation rotation,
120 VideoRotation rotation);
180 VideoRotation rotation() const { return rotation_; } in rotation() function
181 void set_rotation(VideoRotation rotation) { rotation_ = rotation; } in set_rotation() argument
245 VideoRotation rotation,
/external/webrtc/sdk/objc/components/renderer/metal/
DRTCMTLRenderer.mm32 // Computes the texture coordinates given rotation and cropping.
39 RTCVideoRotation rotation,
51 // These arrays map the view coordinates to texture coordinates, taking cropping and rotation
53 switch (rotation) {
175 // Apply rotation override if set.
176 RTCVideoRotation rotation;
182 [rotationOverride getValue:&rotation size:sizeof(rotation)];
186 [rotationOverride getValue:&rotation];
189 rotation = frame.rotation;
203 cropHeight != _oldCropHeight || rotation != _oldRotation || frameWidth != _oldFrameWidth ||
[all …]
/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/animatable/
DAnimatableTransform.java20 private final AnimatableFloatValue rotation; field in AnimatableTransform
40 @Nullable AnimatableFloatValue rotation, @Nullable AnimatableIntegerValue opacity, in AnimatableTransform() argument
46 this.rotation = rotation; in AnimatableTransform()
71 return rotation; in getRotation()
/external/webrtc/sdk/objc/native/src/
Dobjc_video_track_source.mm113 // Applying rotation is only supported for legacy reasons and performance is
115 VideoRotation rotation = static_cast<VideoRotation>(frame.rotation);
116 if (apply_rotation() && rotation != kVideoRotation_0) {
117 buffer = I420Buffer::Rotate(*buffer->ToI420(), rotation);
118 rotation = kVideoRotation_0;
123 .set_rotation(rotation)
/external/skia/modules/skottie/src/
DCamera.cpp21 const SkV3& rotation, in ComputeCameraMatrix() argument
26 const auto cam_t = SkM44::Rotate({0, 0, 1}, SkDegreesToRadians(-rotation.z)) in ComputeCameraMatrix()
27 * SkM44::Rotate({0, 1, 0}, SkDegreesToRadians( rotation.y)) in ComputeCameraMatrix()
28 * SkM44::Rotate({1, 0, 0}, SkDegreesToRadians( rotation.x)) in ComputeCameraMatrix()
81 this->rotation(), in totalMatrix()

12345678910>>...20