Searched refs:ImageShader (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | SobelFilter.java | 23 import androidx.media.filterfw.ImageShader; 84 private ImageShader mGradientXShader; 85 private ImageShader mGradientYShader; 86 private ImageShader mMagnitudeShader; 87 private ImageShader mDirectionShader; 108 mGradientXShader = new ImageShader(mGradientXSource); in onPrepare() 109 mGradientYShader = new ImageShader(mGradientYSource); in onPrepare() 110 mMagnitudeShader = new ImageShader(mMagnitudeSource); in onPrepare() 111 mDirectionShader = new ImageShader(mDirectionSource); in onPrepare()
|
D | CameraStreamer.java | 85 protected HashMap<EGLContext, ImageShader> mTargetShaders 86 = new HashMap<EGLContext, ImageShader>(); 155 ImageShader shader = mTargetShaders.get(context); in onCleanupContext() 174 protected ImageShader shaderForContext(EGLContext context) { in shaderForContext() 175 ImageShader shader = mTargetShaders.get(context); in shaderForContext() 183 protected ImageShader createClientShader() { in createClientShader() 214 ImageShader copyShader = shaderForContext(RenderTarget.currentContext()); in grabFrame() 234 protected void updateShaderTargetRect(ImageShader shader) { in updateShaderTargetRect() 292 protected ImageShader mCopyShader = null; 318 ImageShader copyShader = shaderForContext(context); in onRegisterClient() [all …]
|
D | BrightnessFilter.java | 22 import androidx.media.filterfw.ImageShader; 31 private ImageShader mShader; 74 mShader = new ImageShader(mBrightnessShader); in onPrepare()
|
D | RotateFilter.java | 22 import androidx.media.filterfw.ImageShader; 33 private ImageShader mShader; 64 mShader = ImageShader.createIdentity(); in onPrepare()
|
D | ToGrayValuesFilter.java | 24 import androidx.media.filterfw.ImageShader; 56 private ImageShader mShader; 77 mShader = new ImageShader(mGrayPackFragment); in onPrepare()
|
D | SurfaceHolderTarget.java | 32 import androidx.media.filterfw.ImageShader; 43 private ImageShader mShader = null; 113 mShader = ImageShader.createIdentity(); in onPrepare()
|
D | CropFilter.java | 27 import androidx.media.filterfw.ImageShader; 39 private ImageShader mShader; 81 mShader = ImageShader.createIdentity(); in onPrepare()
|
D | ImageShader.java | 40 public class ImageShader { class 224 public ImageShader(String fragmentShader) { in ImageShader() method in ImageShader 229 public ImageShader(String vertexShader, String fragmentShader) { in ImageShader() method in ImageShader 234 public static ImageShader createIdentity() { in createIdentity() 235 return new ImageShader(mIdentityShader); in createIdentity() 238 public static ImageShader createIdentity(String vertexShader) { in createIdentity() 239 return new ImageShader(vertexShader, mIdentityShader); in createIdentity() 246 ImageShader shader = RenderTarget.currentTarget().getIdentityShader(); in renderTextureToTarget()
|
D | RenderTarget.java | 73 private static HashMap<EGLContext, ImageShader> mIdShaders 74 = new HashMap<EGLContext, ImageShader>(); 280 public ImageShader getIdentityShader() { in getIdentityShader() 281 ImageShader idShader = mIdShaders.get(mContext); in getIdentityShader() 283 idShader = ImageShader.createIdentity(); in getIdentityShader()
|
D | ViewFilter.java | 131 protected void setupShader(ImageShader shader, Rect frameRect, Rect outputRect) { in setupShader()
|
D | FrameImage2D.java | 146 ImageShader idShader = RenderTarget.currentTarget().getIdentityShader(); in gpuImageCopy()
|
D | BackingStore.java | 614 ImageShader.renderTextureToTarget(texture, getRenderTarget(), w, h); in syncTo()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | GpuVideoTrackDecoder.java | 28 import androidx.media.filterfw.ImageShader; 63 private ImageShader mImageShader; 151 ImageShader imageShader = getImageShader(); in copyFrameDataTo() 189 private ImageShader getImageShader() { in getImageShader() 191 mImageShader = new ImageShader(COPY_FRAGMENT_SHADER); in getImageShader()
|