Home
last modified time | relevance | path

Searched refs:AspectRatio (Results 1 – 18 of 18) sorted by relevance

/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/
DAspectRatio.java30 public class AspectRatio { class
32 public static final AspectRatio Extended_SAR = new AspectRatio(255);
36 private AspectRatio(int value) { in AspectRatio() method in AspectRatio
40 public static AspectRatio fromValue(int value) { in fromValue()
44 return new AspectRatio(value); in fromValue()
DVUIParameters.java62 public AspectRatio aspect_ratio;
DSeqParameterSet.java198 vuip.aspect_ratio = AspectRatio.fromValue((int) reader.readNBit(8, in ReadVUIParameters()
200 if (vuip.aspect_ratio == AspectRatio.Extended_SAR) { in ReadVUIParameters()
408 if (vuip.aspect_ratio == AspectRatio.Extended_SAR) { in writeVUIParameters()
/external/webrtc/sdk/android/api/org/webrtc/
DVideoSource.java20 public static class AspectRatio { class in VideoSource
21 public static final AspectRatio UNDEFINED = new AspectRatio(/* width= */ 0, /* height= */ 0);
26 public AspectRatio(int width, int height) { in AspectRatio() method in VideoSource.AspectRatio
103 adaptOutputFormat(new AspectRatio(landscapeWidth, landscapeHeight), in adaptOutputFormat()
105 new AspectRatio(portraitWidth, portraitHeight), in adaptOutputFormat()
110 public void adaptOutputFormat(AspectRatio targetLandscapeAspectRatio, in adaptOutputFormat()
111 @Nullable Integer maxLandscapePixelCount, AspectRatio targetPortraitAspectRatio, in adaptOutputFormat()
/external/openscreen/cast/streaming/
Danswer_messages_unittest.cc105 absl::optional<AspectRatio>(AspectRatio{16, 9}), // aspect_ratio
157 EXPECT_EQ((AspectRatio{64, 27}), display.aspect_ratio.value()); in ExpectEqualsValidAnswerJson()
522 constexpr AspectRatio kValid{16, 9}; in TEST()
523 constexpr AspectRatio kInvalidWidth{0, 9}; in TEST()
524 constexpr AspectRatio kInvalidHeight{16, 0}; in TEST()
545 AspectRatio out; in TEST()
546 EXPECT_TRUE(AspectRatio::ParseAndValidate(kValid, &out)); in TEST()
549 EXPECT_FALSE(AspectRatio::ParseAndValidate(kWrongDelimiter, &out)); in TEST()
550 EXPECT_FALSE(AspectRatio::ParseAndValidate(kTooManyFields, &out)); in TEST()
551 EXPECT_FALSE(AspectRatio::ParseAndValidate(kTooFewFields, &out)); in TEST()
[all …]
Dcapture_recommendations_unittest.cc30 absl::nullopt, AspectRatio{4, 3}, absl::nullopt};
33 absl::nullopt, AspectRatio{16, 9}, absl::nullopt};
42 absl::nullopt, AspectRatio{4, 3}, AspectRatioConstraint::kFixed};
45 absl::nullopt, AspectRatio{4, 3}, AspectRatioConstraint::kVariable};
52 Dimensions{1920, 1080, SimpleFraction{30, 1}}, AspectRatio{16, 9},
56 Dimensions{1024, 768, SimpleFraction{60, 1}}, AspectRatio{4, 3},
60 Dimensions{300, 200, SimpleFraction{30, 1}}, AspectRatio{3, 2},
64 Dimensions{300, 200, SimpleFraction{30, 1}}, AspectRatio{3, 4},
Danswer_messages.h86 struct AspectRatio { struct
87 static bool ParseAndValidate(const Json::Value& value, AspectRatio* out);
90 bool operator==(const AspectRatio& other) const {
107 absl::optional<AspectRatio> aspect_ratio = {}; argument
Danswer_messages.cc184 bool AspectRatio::ParseAndValidate(const Json::Value& value, AspectRatio* out) { in ParseAndValidate()
203 bool AspectRatio::IsValid() const { in IsValid()
351 !ParseOptional<AspectRatio>(root[kAspectRatio], &(out->aspect_ratio))) { in ParseAndValidate()
Dreceiver_session_unittest.cc414 absl::optional<AspectRatio>(AspectRatio{16, 9}), in TEST_F()
/external/webrtc/sdk/android/src/java/org/webrtc/
DNativeAndroidVideoTrackSource.java67 public void adaptOutputFormat(VideoSource.AspectRatio targetLandscapeAspectRatio, in adaptOutputFormat()
68 @Nullable Integer maxLandscapePixelCount, VideoSource.AspectRatio targetPortraitAspectRatio, in adaptOutputFormat()
/external/oss-fuzz/projects/giflib/
Dgif_fuzz_proto.proto13 required uint32 AspectRatio = 5; field
/external/mesa3d/src/egl/main/
Deglsurface.h151 EGLint AspectRatio; member
Deglsurface.c402 surf->AspectRatio = EGL_UNKNOWN; in _eglInitSurface()
510 *value = surface->AspectRatio; in _eglQuerySurface()
/external/skqp/src/sfnt/
DSkPanose.h219 enum class AspectRatio : SK_OT_BYTE { enum
/external/skia/src/sfnt/
DSkPanose.h219 enum class AspectRatio : SK_OT_BYTE { enum
/external/dng_sdk/source/
Ddng_render.cpp1282 real64 ratio = fNegative.AspectRatio (); in Render()
Ddng_negative.h1200 real64 AspectRatio () const in AspectRatio() function
Ddng_negative.cpp4729 real64 aspectRatio = AspectRatio (); in ConvertToProxy()