HomeSort by relevance Sort by last modified time
    Searched refs:Fixed (Results 1 - 25 of 124) sorted by null

1 2 3 4 5

  /external/chromium_org/skia/ext/
convolver.h 42 // Entries are stored in fixed point, shifted left by kShiftBits.
45 typedef short Fixed;
47 // The number of bits that fixed point values are shifted by.
53 // Convert between floating point and our fixed point representation.
54 static Fixed FloatToFixed(float f) {
55 return static_cast<Fixed>(f * (1 << kShiftBits));
57 static unsigned char FixedToChar(Fixed x) {
60 static float FixedToFloat(Fixed x) {
61 // The cast relies on Fixed being a short, implying that on
64 COMPILE_ASSERT(sizeof(Fixed) == 2, fixed_type_should_fit_in_float_mantissa)
    [all...]
convolver_mips_dspr2.h 12 void ConvolveVertically_mips_dspr2(const ConvolutionFilter1D::Fixed* filter_val,
convolver_SSE2.h 12 void ConvolveVertically_SSE2(const ConvolutionFilter1D::Fixed* filter_values,
convolver_mips_dspr2.cc 24 const ConvolutionFilter1D::Fixed* filter_values =
134 const ConvolutionFilter1D::Fixed* filter_values =
234 void ConvolveVertically_mips_dspr2(const ConvolutionFilter1D::Fixed* filter_val,
  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
StyleSurroundData.cpp 28 : margin(Fixed)
29 , padding(Fixed)
BorderData.h 38 BorderData() : m_topLeft(Length(0, Fixed), Length(0, Fixed))
39 , m_topRight(Length(0, Fixed), Length(0, Fixed))
40 , m_bottomLeft(Length(0, Fixed), Length(0, Fixed))
41 , m_bottomRight(Length(0, Fixed), Length(0, Fixed))
NinePieceImage.cpp 61 , outset(Length(0, Fixed), Length(0, Fixed), Length(0, Fixed), Length(0, Fixed))
StyleGeneratedImage.cpp 72 intrinsicWidth = Length(size.width(), Fixed);
73 intrinsicHeight = Length(size.height(), Fixed);
  /external/chromium_org/third_party/WebKit/Source/platform/
LengthBox.h 49 : m_left(Length(v, Fixed))
50 , m_right(Length(v, Fixed))
51 , m_top(Length(v, Fixed))
52 , m_bottom(Length(v, Fixed))
65 : m_left(Length(l, Fixed))
66 , m_right(Length(r, Fixed))
67 , m_top(Length(t, Fixed))
68 , m_bottom(Length(b, Fixed))
LengthFunctions.cpp 37 case Fixed:
Theme.h 87 virtual LengthSize minimumControlSize(ControlPart, const FontDescription&, float /*zoomFactor*/) const { return LengthSize(Length(0, Fixed), Length(0, Fixed)); }
  /external/chromium_org/third_party/WebKit/Source/platform/transforms/
PerspectiveTransformOperation.cpp 44 return PerspectiveTransformOperation::create(Length(clampToPositiveInteger(p), Fixed));
61 return PerspectiveTransformOperation::create(Length(clampToPositiveInteger(val), Fixed));
63 return PerspectiveTransformOperation::create(Length(0, Fixed));
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderLayerReflectionInfo.cpp 93 transform.operations().append(TranslateTransformOperation::create(Length(0, Fixed),
95 transform.operations().append(TranslateTransformOperation::create(Length(0, Fixed),
102 transform.operations().append(TranslateTransformOperation::create(Length(0, Fixed),
104 transform.operations().append(TranslateTransformOperation::create(Length(0, Fixed),
110 Length(0, Fixed), TransformOperation::Translate));
112 renderer()->style()->boxReflect()->offset(), Length(0, Fixed), TransformOperation::Translate));
119 Length(0, Fixed), TransformOperation::Translate));
121 renderer()->style()->boxReflect()->offset(), Length(0, Fixed), TransformOperation::Translate));
RenderMedia.cpp 82 controlsRenderer->style()->setHeight(Length(newSize.height(), Fixed));
83 controlsRenderer->style()->setWidth(Length(newSize.width(), Fixed));
RenderThemeChromiumAndroid.cpp 89 style->setWidth(Length(size.width(), Fixed));
90 style->setMinWidth(Length(size.width(), Fixed));
  /external/chromium_org/third_party/sfntly/cpp/src/sfntly/math/
fixed1616.h 26 static inline int32_t Integral(int32_t fixed) {
27 return (fixed >> 16);
30 static inline int32_t Fractional(int32_t fixed) {
31 return (fixed & 0xffff);
34 static inline int32_t Fixed(int32_t integral, int32_t fractional) {
  /external/sfntly/cpp/src/sfntly/math/
fixed1616.h 26 static inline int32_t Integral(int32_t fixed) {
27 return (fixed >> 16);
30 static inline int32_t Fractional(int32_t fixed) {
31 return (fixed & 0xffff);
34 static inline int32_t Fixed(int32_t integral, int32_t fractional) {
  /development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
plasma.c 48 * For better performance on all platforms, we're going to use fixed-point
52 typedef int32_t Fixed;
61 #define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE))
73 #define FIXED_FROM_INT_FLOAT(x,f) (Fixed)((x)*(FIXED_ONE*(f)))
93 # define ANGLE_TO_FIXED(x) (Fixed)((x) << (FIXED_BITS - ANGLE_BITS))
96 # define ANGLE_TO_FIXED(x) (Fixed)((x) >> (ANGLE_BITS - FIXED_BITS))
99 static Fixed angle_sin_tab[ANGLE_2PI+1];
110 static __inline__ Fixed angle_sin( Angle a )
115 static __inline__ Fixed angle_cos( Angle a )
120 static __inline__ Fixed fixed_sin( Fixed f
    [all...]
  /development/ndk/platforms/android-9/samples/native-plasma/jni/
plasma.c 53 * For better performance on all platforms, we're going to use fixed-point
57 typedef int32_t Fixed;
66 #define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE))
78 #define FIXED_FROM_INT_FLOAT(x,f) (Fixed)((x)*(FIXED_ONE*(f)))
98 # define ANGLE_TO_FIXED(x) (Fixed)((x) << (FIXED_BITS - ANGLE_BITS))
101 # define ANGLE_TO_FIXED(x) (Fixed)((x) >> (ANGLE_BITS - FIXED_BITS))
104 static Fixed angle_sin_tab[ANGLE_2PI+1];
115 static __inline__ Fixed angle_sin( Angle a )
120 static __inline__ Fixed angle_cos( Angle a )
125 static __inline__ Fixed fixed_sin( Fixed f
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/animation/
AnimationTranslationUtilTest.cpp 125 operations1.operations().append(TranslateTransformOperation::create(Length(2, WebCore::Fixed), Length(0, WebCore::Fixed), TransformOperation::TranslateX));
129 operations2.operations().append(TranslateTransformOperation::create(Length(4, WebCore::Fixed), Length(0, WebCore::Fixed), TransformOperation::TranslateX));
260 operations1.operations().append(TranslateTransformOperation::create(Length(2, WebCore::Fixed), Length(0, WebCore::Fixed), TransformOperation::TranslateX));
264 operations2.operations().append(TranslateTransformOperation::create(Length(4, WebCore::Fixed), Length(0, WebCore::Fixed), TransformOperation::TranslateX));
280 operations1.operations().append(TranslateTransformOperation::create(Length(2, WebCore::Fixed), Length(0, WebCore::Fixed), TransformOperation::TranslateX))
    [all...]
  /external/chromium_org/media/base/
audio_bus.cc 38 // |Format| is the destination type. If a bias is present, |Fixed| must be a
40 // overflowing. Without a bias |Fixed| must be the same as |Format|.
41 template<class Format, class Fixed, Format Bias>
45 COMPILE_ASSERT((Bias == 0 && sizeof(Fixed) == sizeof(Format)) ||
46 sizeof(Fixed) > sizeof(Format), invalid_deinterleave_types);
53 const Fixed v = static_cast<Fixed>(source[offset]) - Bias;
59 // |Format| is the destination type. If a bias is present, |Fixed| must be a
61 // overflowing. Without a bias |Fixed| must be the same as |Format|.
62 template<class Format, class Fixed, Format Bias
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSCalculationValueTest.cpp 61 actual = CSSCalcValue::createExpressionNode(Length(10, WebCore::Fixed), style->effectiveZoom());
71 adoptPtr(new CalcExpressionLength(Length(10, WebCore::Fixed))),
72 adoptPtr(new CalcExpressionLength(Length(20, WebCore::Fixed))),
85 adoptPtr(new CalcExpressionLength(Length(30, WebCore::Fixed))),
104 adoptPtr(new CalcExpressionBlendLength(Length(50, WebCore::Fixed), Length(60, WebCore::Fixed), 0.75)),
  /external/chromium_org/third_party/sfntly/cpp/src/test/
endian_test.cc 35 0x00, 0x01, 0x00, 0x00 // 24: fixed
52 EXPECT_EQ(rfd->ReadFixed(24), Fixed1616::Fixed(1, 0));
67 fos.WriteFixed(Fixed1616::Fixed(1, 0));
  /external/sfntly/cpp/src/test/
endian_test.cc 35 0x00, 0x01, 0x00, 0x00 // 24: fixed
52 EXPECT_EQ(rfd->ReadFixed(24), Fixed1616::Fixed(1, 0));
67 fos.WriteFixed(Fixed1616::Fixed(1, 0));
  /external/clang/lib/Frontend/
SerializedDiagnosticPrinter.cpp 360 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // File ID.
361 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Line.
362 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Column.
363 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Offset;
387 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32));
405 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 3)); // Diag level.
407 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Category.
408 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // Mapped Diag ID.
409 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Text size.
416 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); // Category ID
    [all...]

Completed in 2227 milliseconds

1 2 3 4 5