Searched defs:factor (Results 1 - 5 of 5) sorted by relevance

/system/media/mca/filterpacks/imageproc/native/
H A Dbrightness.c80 const int factor = (int)(brightness * 255.0f); local
85 const short r = (pixel.rgba[0] * factor) / 255;
86 const short g = (pixel.rgba[1] * factor) / 255;
87 const short b = (pixel.rgba[2] * factor) / 255;
/system/core/sh/
H A Dmiscbltin.c294 int factor; /* multiply by to get rlim_{cur,max} values */ member in struct:limits
390 val *= l->factor;
406 val /= l->factor;
435 val /= l->factor;
/system/media/mca/filterfw/native/core/
H A Dgeometry.cpp59 Point Point::operator*(float factor) const {
61 out.x_ = factor * x_;
62 out.y_ = factor * y_;
107 bool Rect::ScaleWithLengthLimit(float factor, float max_length) { argument
108 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f) {
117 float f = factor;
/system/media/mca/filterpacks/base/native/
H A Dgeometry.cpp58 Point Point::operator*(float factor) const {
60 out.x_ = factor * x_;
61 out.y_ = factor * y_;
106 bool Rect::ScaleWithLengthLimit(float factor, float max_length) { argument
107 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f) {
116 float f = factor;
/system/core/libpixelflinger/
H A Dscanline.cpp426 static void blend_factor(context_t* c, pixel_t* r, uint32_t factor,
505 uint32_t factor, const pixel_t* src, const pixel_t* dst)
507 switch (factor) {
782 uint32_t factor = Ct + (Ct>>(st-1)); local
783 Cf = (Cf * factor) >> st;
797 uint32_t factor = Ct + (Ct>>(st-1)); local
798 Cf = ((((1<<st) - factor) * Cf) + Ct*Cc)>>st;
504 blend_factor(context_t* c, pixel_t* r, uint32_t factor, const pixel_t* src, const pixel_t* dst) argument

Completed in 86 milliseconds