Exploit databaseDownload repository ZIP
GH-13794a28e99af8452ce8e4224a1bc216
trinadh465/frameworks_base_aosp10_r33_cve-2022-20138
Sources for CVE-2022-20138
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files44
trinadh465/frameworks_base_aosp10_r33_cve-2022-20138Revision 144017c26d03
- ↑..Parent directory
- AlphaBlendFilter.java
- AutoFixFilter.java
- BitmapOverlayFilter.java
- BitmapSource.java
- BlackWhiteFilter.java
- BlendFilter.java
- BrightnessFilter.java
- ColorTemperatureFilter.java
- ContrastFilter.java
- CropFilter.java
- CropRectFilter.java
- CrossProcessFilter.java
- DocumentaryFilter.java
- DrawOverlayFilter.java
- DrawRectFilter.java
- DuotoneFilter.java
- FillLightFilter.java
- FisheyeFilter.java
- FixedRotationFilter.java
- FlipFilter.java
- GrainFilter.java
- ImageCombineFilter.java
- ImageEncoder.java
- ImageSlicer.java
- ImageStitcher.java
- Invert.java
- LomoishFilter.java
- NegativeFilter.java
- PosterizeFilter.java
- RedEyeFilter.java
- ResizeFilter.java
- RotateFilter.java
- SaturateFilter.java
- SepiaFilter.java
- SharpenFilter.java
- SimpleImageFilter.java
- StraightenFilter.java
- TintFilter.java
- ToGrayFilter.java
- ToPackedGrayFilter.java
- ToRGBAFilter.java
- ToRGBFilter.java
- VignetteFilter.java
- package-info.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
media/mca/filterpacks/java/android/filterpacks/imageproc/BrightnessFilter.java
Java · 1,711 bytes/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package android.filterpacks.imageproc;
import android.filterfw.core.FilterContext;
import android.filterfw.core.NativeProgram;
import android.filterfw.core.Program;
import android.filterfw.core.ShaderProgram;
/**
* @hide
*/
public class BrightnessFilter extends SimpleImageFilter {
private static final String mBrightnessShader =
"precision mediump float;\n" +
"uniform sampler2D tex_sampler_0;\n" +
"uniform float brightness;\n" +
"varying vec2 v_texcoord;\n" +
"void main() {\n" +
" vec4 color = texture2D(tex_sampler_0, v_texcoord);\n" +
" gl_FragColor = brightness * color;\n" +
"}\n";
public BrightnessFilter(String name) {
super(name, "brightness");
}
@Override
protected Program getNativeProgram(FilterContext context) {
return new NativeProgram("filterpack_imageproc", "brightness");
}
@Override
protected Program getShaderProgram(FilterContext context) {
return new ShaderProgram(context, mBrightnessShader);
}
}