/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
H A D | AudioUtilities.cpp | 43 float linearToDecibels(float linear) argument 45 // It's not possible to calculate decibels for a zero linear value since it would be -Inf. 46 // -1000.0 dB represents a very tiny linear value in case we ever reach this case. 47 ASSERT(linear); 48 if (!linear) 51 return 20 * log10f(linear);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g711/ |
H A D | g711.h | 165 * A 64K byte table for linear to x-law and a 512 byte table for x-law to 166 * linear sound like peanuts these days, and shouldn't an array lookup be 187 * Each biased linear code has a leading 1 which identifies the segment 200 #define ULAW_BIAS 0x84 /* Bias for linear code. */ 202 /*! \brief Encode a linear sample to u-law 203 \param linear The sample to encode. 206 static __inline uint8_t linear_to_ulaw(int linear) { argument 212 if (linear < 0) { 214 linear = ULAW_BIAS - linear 280 linear_to_alaw(int linear) argument [all...] |
/external/pixman/demos/ |
H A D | srgb-trap-test.c | 26 convert_color (pixman_color_t *dest_srgb, pixman_color_t *linear) argument 28 dest_srgb->alpha = convert_to_srgb (linear->alpha); 29 dest_srgb->red = convert_to_srgb (linear->red); 30 dest_srgb->green = convert_to_srgb (linear->green); 31 dest_srgb->blue = convert_to_srgb (linear->blue);
|
H A D | srgb-test.c | 22 lin2srgb (float linear) argument 24 if (linear < 0.0031308f) 25 return linear * 12.92f; 27 return 1.055f * powf (linear, 1.0f/2.4f) - 0.055f;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGLinearGradientElement.cpp | 127 SVGLinearGradientElement* linear = toSVGLinearGradientElement(element); local 129 if (!attributes.hasX1() && linear->x1()->isSpecified()) 130 attributes.setX1(linear->x1()->currentValue()); 132 if (!attributes.hasY1() && linear->y1()->isSpecified()) 133 attributes.setY1(linear->y1()->currentValue()); 135 if (!attributes.hasX2() && linear->x2()->isSpecified()) 136 attributes.setX2(linear->x2()->currentValue()); 138 if (!attributes.hasY2() && linear->y2()->isSpecified()) 139 attributes.setY2(linear->y2()->currentValue());
|
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
H A D | Translation.h | 2 // for linear algebra. 39 /** corresponding linear transformation matrix type */ 82 /** Concatenates a translation and a linear transformation */ 83 inline TransformType operator* (const LinearMatrixType& linear) const; 89 /** Concatenates a linear transformation and a translation */ 91 friend inline TransformType operator* (const LinearMatrixType& linear, const Translation& t) argument 95 res.linear() = linear; 96 res.translation() = linear * t.m_coeffs; 156 res.linear() [all...] |
H A D | Transform.h | 2 // for linear algebra. 55 /** type of the matrix used to represent the linear part of the transformation */ 57 /** type of read/write reference to the linear part of the transformation */ 59 /** type of read/write reference to the linear part of the transformation */ 107 transform->linear() = other; 147 /** \returns a read-only expression of the linear (linear) part of the transformation */ 148 inline ConstLinearPart linear() const { return m_matrix.template block<Dim,Dim>(0,0); } function in class:Eigen::Transform 149 /** \returns a writable expression of the linear (linear) par 150 inline LinearPart linear() { return m_matrix.template block<Dim,Dim>(0,0); } function in class:Eigen::Transform [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/animation/ |
H A D | TimingFunction.cpp | 14 return "linear"; 200 const LinearTimingFunction& linear = toLinearTimingFunction(lhs); local 201 return (linear == rhs);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
H A D | lp_texture.h | 50 LP_TEX_LAYOUT_LINEAR, /**< the tile data is in linear layout */ 64 * linear layout (for texture sampling) and another in a tiled layout (for 65 * render targets). We keep track of whether each image tile is linear 108 struct llvmpipe_texture_image linear[LP_MAX_TEXTURE_LEVELS]; member in struct:llvmpipe_resource
|
/external/eigen/Eigen/src/Geometry/ |
H A D | Translation.h | 2 // for linear algebra. 40 /** corresponding linear transformation matrix type */ 100 /** Concatenates a translation and a linear transformation */ 102 inline AffineTransformType operator* (const EigenBase<OtherDerived>& linear) const; 109 /** \returns the concatenation of a linear transformation \a l with the translation \a t */ 112 inline AffineTransformType operator*(const EigenBase<OtherDerived>& linear, const Translation& t) argument 116 res.linear() = linear.derived(); 117 res.translation() = linear.derived() * t.m_coeffs; 184 res.linear() [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_texture.h | 50 LP_TEX_LAYOUT_LINEAR, /**< the tile data is in linear layout */ 64 * linear layout (for texture sampling) and another in a tiled layout (for 65 * render targets). We keep track of whether each image tile is linear 108 struct llvmpipe_texture_image linear[LP_MAX_TEXTURE_LEVELS]; member in struct:llvmpipe_resource
|
/external/pixman/pixman/ |
H A D | pixman-linear-gradient.c | 41 linear_gradient_t *linear = (linear_gradient_t *)image; local 68 dx = linear->p2.x - linear->p1.x; 69 dy = linear->p2.y - linear->p1.y; 105 linear_gradient_t *linear = (linear_gradient_t *)image; local 132 dx = linear->p2.x - linear->p1.x; 133 dy = linear->p2.y - linear 265 linear_gradient_t *linear; local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | FEComponentTransfer.cpp | 134 static void linear(unsigned char* values, const ComponentTransferFunction& transferFunction) function in namespace:blink 222 TransferType callEffect[] = {identity, identity, table, discrete, linear, gamma};
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
H A D | nv50_program.h | 36 unsigned linear : 1; member in struct:nv50_varying
|
/external/mesa3d/src/gallium/drivers/nv50/ |
H A D | nv50_program.h | 36 unsigned linear : 1; member in struct:nv50_varying
|
/external/srec/portable/src/ |
H A D | PFileSystem.c | 69 LCHAR linear[P_PATH_MAX]; local 80 LSTRCPY(linear, path); 81 CHKLOG(rc, PFileSystemCanonicalSlashes(linear)); 83 beginning = linear;
|
/external/qemu/telephony/ |
H A D | sim_card.c | 186 SimFileEFLinearRec linear; member in union:__anon30236 217 file_size = file->linear.rec_count * file->linear.rec_len; 277 gsm_hex_from_byte( dst, file->linear.rec_len );
|
/external/chromium_org/device/hid/ |
H A D | hid_report_descriptor_item.h | 108 uint8_t linear : 1; member in struct:device::HidReportDescriptorItem::ReportInfo
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
H A D | nv50_ir_driver.h | 43 unsigned linear : 1; /* linearly interpolated if true (and not flat) */ member in struct:nv50_ir_varying
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
H A D | d3d11u.h | 203 void bind(ID3D11DeviceContext* ctx, ID3D11ShaderResourceView* srv, ID3D11RenderTargetView* rtv, float x, float y, float width, float height, bool linear) argument 220 ctx->PSSetSamplers(0, 1, &sampler[!!linear]); 229 void bind_draw_and_unbind(ID3D11DeviceContext* ctx, ID3D11ShaderResourceView* srv, ID3D11RenderTargetView* rtv, float x, float y, float width, float height, bool linear) argument 231 bind(ctx, srv, rtv, x, y, width, height, linear);
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleAll.cpp | 372 SkShader* linear = SkGradientShader::CreateLinear(linearPoints, local 427 paint.setShader(linear)->unref();
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
H A D | nv50_ir_driver.h | 43 unsigned linear : 1; /* linearly interpolated if true (and not flat) */ member in struct:nv50_ir_varying
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
H A D | d3d11u.h | 203 void bind(ID3D11DeviceContext* ctx, ID3D11ShaderResourceView* srv, ID3D11RenderTargetView* rtv, float x, float y, float width, float height, bool linear) argument 220 ctx->PSSetSamplers(0, 1, &sampler[!!linear]); 229 void bind_draw_and_unbind(ID3D11DeviceContext* ctx, ID3D11ShaderResourceView* srv, ID3D11RenderTargetView* rtv, float x, float y, float width, float height, bool linear) argument 231 bind(ctx, srv, rtv, x, y, width, height, linear);
|
/external/skia/samplecode/ |
H A D | SampleAll.cpp | 370 SkShader* linear = SkGradientShader::CreateLinear(linearPoints, local 425 paint.setShader(linear)->unref();
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
H A D | draw_private.h | 327 boolean linear; member in struct:draw_fetch_info 345 boolean linear; member in struct:draw_prim_info
|