Searched refs:pixel (Results 1 - 5 of 5) sorted by relevance

/development/samples/RenderScript/Levels/src/com/android/rs/levels/
H A Dlevels.rs29 float3 pixel = convert_float4(in[0]).rgb;
30 pixel = rsMatrixMultiply(&colorMat, pixel);
31 pixel = clamp(pixel, 0.f, 255.f);
32 pixel = (pixel - inBlack) * overInWMinInB;
34 pixel = pow(pixel, (float3)gamma);
35 pixel
[all...]
/development/tools/emulator/system/camera/fake-pipeline2/
H A DSensor.cpp379 // TODO: Better pixel saturation curve?
417 const uint32_t *pixel = mScene.getPixelElectrons(); local
418 rCount = pixel[Scene::R] * scale64x;
419 gCount = pixel[Scene::Gr] * scale64x;
420 bCount = pixel[Scene::B] * scale64x;
447 const uint32_t *pixel = mScene.getPixelElectrons();
448 rCount = pixel[Scene::R] * scale64x;
449 gCount = pixel[Scene::Gr] * scale64x;
450 bCount = pixel[Scene::B] * scale64x;
479 const uint32_t *pixel
[all...]
H A DScene.cpp326 // Set starting pixel
342 const uint32_t *pixel = mCurrentSceneMaterial; local
356 return pixel;
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
H A Dplasma.c44 /* We're going to perform computations for every pixel of the target
238 uint32_t pixel = ((uint32_t)palette_from_fixed(i1 >> 2) << 16) | local
241 ((uint32_t*)line)[0] = pixel;
/development/ndk/platforms/android-9/samples/native-plasma/jni/
H A Dplasma.c49 /* We're going to perform computations for every pixel of the target
247 uint32_t pixel = ((uint32_t)palette_from_fixed(i1 >> 2) << 16) | local
250 ((uint32_t*)line)[0] = pixel;

Completed in 255 milliseconds