/*
* Copyright (C) 2012 CyberAgent
*
* 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 com.jason.gaofangmeitu.GPUImageTools;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.graphics.BitmapFactory;
import android.graphics.PointF;
import android.opengl.Matrix;
import com.jason.gaofangmeitu.R;
import java.util.LinkedList;
import java.util.List;
import jp.co.cyberagent.android.gpuimage.GPUImage3x3ConvolutionFilter;
import jp.co.cyberagent.android.gpuimage.GPUImage3x3TextureSamplingFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageAddBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageAlphaBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageBilateralFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageBoxBlurFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageBrightnessFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageBulgeDistortionFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageCGAColorspaceFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageChromaKeyBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageColorBalanceFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageColorBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageColorBurnBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageColorDodgeBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageColorInvertFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageContrastFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageCrosshatchFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageDarkenBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageDifferenceBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageDilationFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageDirectionalSobelEdgeDetectionFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageDissolveBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageDivideBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageEmbossFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageExclusionBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageExposureFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageFalseColorFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageFilterGroup;
import jp.co.cyberagent.android.gpuimage.GPUImageGammaFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageGaussianBlurFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageGlassSphereFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageGrayscaleFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageHalftoneFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageHardLightBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageHazeFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageHighlightShadowFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageHueBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageHueFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageKuwaharaFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageLaplacianFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageLevelsFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageLightenBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageLinearBurnBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageLookupFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageLuminosityBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageMonochromeFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageMultiplyBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageNonMaximumSuppressionFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageNormalBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageOpacityFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageOverlayBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImagePixelationFilter;
import jp.co.cyberagent.android.gpuimage.GPUImagePosterizeFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageRGBDilationFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageRGBFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageSaturationBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageSaturationFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageScreenBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageSepiaFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageSharpenFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageSketchFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageSmoothToonFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageSobelEdgeDetection;
import jp.co.cyberagent.android.gpuimage.GPUImageSoftLightBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageSourceOverBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageSphereRefractionFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageSubtractBlendFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageSwirlFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageToneCurveFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageToonFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageTransformFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageTwoInputFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageVignetteFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageWeakPixelInclusionFilter;
import jp.co.cyberagent.android.gpuimage.GPUImageWhiteBalanceFilter;
public class GPUImageFilterTools {
public static void showDialog(final Context context,
final OnGpuImageFilterChosenListener listener) {
final FilterList filters = new FilterList();
filters.addFilter("Contrast", FilterType.CONTRAST);
filters.addFilter("Invert", FilterType.INVERT);
filters.addFilter("Pixelation", FilterType.PIXELATION);
filters.addFilter("Hue", FilterType.HUE);
filters.addFilter("Gamma", FilterType.GAMMA);
filters.addFilter("Brightness", FilterType.BRIGHTNESS);
filters.addFilter("Sepia", FilterType.SEPIA);
filters.addFilter("Grayscale", FilterType.GRAYSCALE);
filters.addFilter("Sharpness", FilterType.SHARPEN);
filters.addFilter("Sobel Edge Detection", FilterType.SOBEL_EDGE_DETECTION);
filters.addFilter("3x3 Convolution", FilterType.THREE_X_THREE_CONVOLUTION);
filters.addFilter("Emboss", FilterType.EMBOSS);
filters.addFilter("Posterize", FilterType.POSTERIZE);
filters.addFilter("Grouped filters", FilterType.FILTER_GROUP);
filters.addFilter("Saturation", FilterType.SATURATION);
filters.addFilter("Exposure", FilterType.EXPOSURE);
filters.addFilter("Highlight Shadow", FilterType.HIGHLIGHT_SHADOW);
filters.addFilter("Monochrome", FilterType.MONOCHROME);
filters.addFilter("Opacity", FilterType.OPACITY);
filters.addFilter("RGB", FilterType.RGB);
filters.addFilter("White Balance", FilterType.WHITE_BALANCE);
filters.addFilter("Vignette", FilterType.VIGNETTE);
filters.addFilter("ToneCurve", FilterType.TONE_CURVE);
filters.addFilter("Blend (Difference)", FilterType.BLEND_DIFFERENCE);
filters.addFilter("Blend (Source Over)", FilterType.BLEND_SOURCE_OVER);
filters.addFilter("Blend (Color Burn)", FilterType.BLEND_COLOR_BURN);
filters.addFilter("Blend (Color D
没有合适的资源?快使用搜索试试~ 我知道了~
华南农业大学,毕业设计,实现一个类似美颜相机(美图秀秀应用)的Android应用.zip
共877个文件
class:272个
java:178个
glsl:123个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 166 浏览量
2024-12-04
16:17:54
上传
评论
收藏 7.54MB ZIP 举报
温馨提示
华南农业大学,毕业设计,实现一个类似美颜相机(美图秀秀应用)的Android应用高芳梅图华南农业大学,毕业设计,实现一个类似美颜相机(美图秀秀应用)的Android应用
资源推荐
资源详情
资源评论
收起资源包目录
华南农业大学,毕业设计,实现一个类似美颜相机(美图秀秀应用)的Android应用.zip (877个子文件)
tone_cuver_sample.acv 62B
gradlew.bat 2KB
GPUImage.class 12KB
GPUImage.class 12KB
GPUImageRenderer.class 12KB
GPUImageRenderer.class 12KB
GPUImageDilationFilter.class 10KB
GPUImageDilationFilter.class 10KB
GPUImageRGBDilationFilter.class 10KB
GPUImageRGBDilationFilter.class 10KB
GPUImageToneCurveFilter.class 9KB
GPUImageToneCurveFilter.class 9KB
GPUImageView.class 8KB
GPUImageView.class 8KB
GPUImageFilter.class 8KB
GPUImageFilter.class 8KB
PixelBuffer.class 7KB
PixelBuffer.class 7KB
GPUImageColorBalanceFilter.class 6KB
GPUImageColorBalanceFilter.class 6KB
GPUImageFilterGroup.class 6KB
GPUImageFilterGroup.class 6KB
GPUImage$LoadImageTask.class 6KB
GPUImage$LoadImageTask.class 6KB
GPUImageBilateralFilter.class 5KB
GPUImageBilateralFilter.class 5KB
GPUImageView$SaveTask.class 4KB
GPUImageView$SaveTask.class 4KB
GPUImageGlassSphereFilter.class 4KB
GPUImageGlassSphereFilter.class 4KB
GPUImage$SaveTask.class 4KB
GPUImage$SaveTask.class 4KB
GPUImageTwoInputFilter.class 4KB
GPUImageTwoInputFilter.class 4KB
OpenGlUtils.class 4KB
OpenGlUtils.class 4KB
GPUImageLevelsFilter.class 4KB
GPUImageLevelsFilter.class 4KB
GPUImageTransformFilter.class 4KB
GPUImageTransformFilter.class 4KB
GPUImage3x3TextureSamplingFilter.class 4KB
GPUImage3x3TextureSamplingFilter.class 4KB
GPUImageSharpenFilter.class 3KB
GPUImageSharpenFilter.class 3KB
GPUImageSphereRefractionFilter.class 3KB
GPUImageSphereRefractionFilter.class 3KB
GPUImageToonFilter.class 3KB
GPUImageToonFilter.class 3KB
GPUImageVignetteFilter.class 3KB
GPUImageVignetteFilter.class 3KB
GPUImageBulgeDistortionFilter.class 3KB
GPUImageBulgeDistortionFilter.class 3KB
GPUImageSaturationBlendFilter.class 3KB
GPUImageSaturationBlendFilter.class 3KB
GPUImageHueBlendFilter.class 3KB
GPUImageHueBlendFilter.class 3KB
GPUImageMonochromeFilter.class 3KB
GPUImageMonochromeFilter.class 3KB
GPUImageKuwaharaFilter.class 3KB
GPUImageKuwaharaFilter.class 3KB
GPUImageLaplacianFilter.class 3KB
GPUImageLaplacianFilter.class 3KB
GPUImageGaussianBlurFilter.class 3KB
GPUImageGaussianBlurFilter.class 3KB
GPUImage$LoadImageUriTask.class 3KB
GPUImage$LoadImageUriTask.class 3KB
GPUImage3x3ConvolutionFilter.class 3KB
GPUImage3x3ConvolutionFilter.class 3KB
GPUImageCrosshatchFilter.class 3KB
GPUImageCrosshatchFilter.class 3KB
GPUImageChromaKeyBlendFilter.class 3KB
GPUImageChromaKeyBlendFilter.class 3KB
GPUImageBoxBlurFilter.class 3KB
GPUImageBoxBlurFilter.class 3KB
GPUImageSobelThresholdFilter.class 3KB
GPUImageSobelThresholdFilter.class 3KB
GPUImageHalftoneFilter.class 3KB
GPUImageHalftoneFilter.class 3KB
GPUImageSwirlFilter.class 3KB
GPUImageSwirlFilter.class 3KB
GPUImageWhiteBalanceFilter.class 3KB
GPUImageWhiteBalanceFilter.class 3KB
GPUImageHueFilter.class 3KB
GPUImageHueFilter.class 3KB
GPUImageDirectionalSobelEdgeDetectionFilter.class 2KB
GPUImageDirectionalSobelEdgeDetectionFilter.class 2KB
GPUImageLookupFilter.class 2KB
GPUImageLookupFilter.class 2KB
GPUImageHighlightShadowFilter.class 2KB
GPUImageHighlightShadowFilter.class 2KB
GPUImageSobelEdgeDetection.class 2KB
GPUImageSobelEdgeDetection.class 2KB
GPUImageFalseColorFilter.class 2KB
GPUImageFalseColorFilter.class 2KB
GPUImageNonMaximumSuppressionFilter.class 2KB
GPUImageNonMaximumSuppressionFilter.class 2KB
GPUImageRGBFilter.class 2KB
GPUImageRGBFilter.class 2KB
GPUImageSketchFilter.class 2KB
GPUImageSketchFilter.class 2KB
共 877 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
徐浪老师
- 粉丝: 8534
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 【岗位说明】电工岗位说明书.doc
- 【岗位说明】电焊工岗位说明书.doc
- 【岗位说明】冬旺门窗岗位职责.doc
- 【岗位说明】各类气体押运工职务说明书.doc
- 【岗位说明】锅炉司炉岗位说明书.doc
- 【岗位说明】锅炉班长、司炉工、维修工岗位职责及任职条件.doc
- 【岗位说明】行车工岗位说明书.doc
- 【岗位说明】机械部岗位职责01.doc
- 【岗位说明】机械技术员岗位职责.doc
- 【岗位说明】金属门窗安全生产岗位职责制度.doc
- 【岗位说明】门窗厂班组长岗位职责.doc
- 【岗位说明】门窗厂车间主任岗位职责.doc
- 【岗位说明】铝合金门窗厂组织结构部门职能.doc
- 【岗位说明】门窗公司技术部部门职责.doc
- 【岗位说明】某五金厂生产部岗位说明书.doc
- 【岗位说明】某机械公司部门岗位职责说明书.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功