OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ImageShader
(Results
1 - 13
of
13
) sorted by null
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
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);
109
mGradientYShader = new
ImageShader
(mGradientYSource);
110
mMagnitudeShader = new
ImageShader
(mMagnitudeSource);
111
mDirectionShader = new
ImageShader
(mDirectionSource);
BrightnessFilter.java
22
import androidx.media.filterfw.
ImageShader
;
31
private
ImageShader
mShader;
74
mShader = new
ImageShader
(mBrightnessShader);
RotateFilter.java
22
import androidx.media.filterfw.
ImageShader
;
33
private
ImageShader
mShader;
64
mShader =
ImageShader
.createIdentity();
ToGrayValuesFilter.java
24
import androidx.media.filterfw.
ImageShader
;
56
private
ImageShader
mShader;
77
mShader = new
ImageShader
(mGrayPackFragment);
SurfaceHolderTarget.java
32
import androidx.media.filterfw.
ImageShader
;
43
private
ImageShader
mShader = null;
113
mShader =
ImageShader
.createIdentity();
CameraStreamer.java
85
protected HashMap<EGLContext,
ImageShader
> mTargetShaders
86
= new HashMap<EGLContext,
ImageShader
>();
155
ImageShader
shader = mTargetShaders.get(context);
174
protected
ImageShader
shaderForContext(EGLContext context) {
175
ImageShader
shader = mTargetShaders.get(context);
183
protected
ImageShader
createClientShader() {
214
ImageShader
copyShader = shaderForContext(RenderTarget.currentContext());
234
protected void updateShaderTargetRect(
ImageShader
shader) {
292
protected
ImageShader
mCopyShader = null;
318
ImageShader
copyShader = shaderForContext(context)
[
all
...]
CropFilter.java
27
import androidx.media.filterfw.
ImageShader
;
39
private
ImageShader
mShader;
81
mShader =
ImageShader
.createIdentity();
RenderTarget.java
73
private static HashMap<EGLContext,
ImageShader
> mIdShaders
74
= new HashMap<EGLContext,
ImageShader
>();
277
* You must not modify this shader. Use {@link
ImageShader
#createIdentity()} if you need to
280
public
ImageShader
getIdentityShader() {
281
ImageShader
idShader = mIdShaders.get(mContext);
283
idShader =
ImageShader
.createIdentity();
ImageShader.java
34
* The
ImageShader
class greatly simplifies the task of running GL shader language kernels over
40
public class
ImageShader
{
224
public
ImageShader
(String fragmentShader) {
229
public
ImageShader
(String vertexShader, String fragmentShader) {
234
public static
ImageShader
createIdentity() {
235
return new
ImageShader
(mIdentityShader);
238
public static
ImageShader
createIdentity(String vertexShader) {
239
return new
ImageShader
(vertexShader, mIdentityShader);
246
ImageShader
shader = RenderTarget.currentTarget().getIdentityShader();
307
Log.w("
ImageShader
", "Attempting to access internal attribute '" + nam
[
all
...]
FrameImage2D.java
146
ImageShader
idShader = RenderTarget.currentTarget().getIdentityShader();
ViewFilter.java
131
protected void setupShader(
ImageShader
shader, Rect frameRect, Rect outputRect) {
BackingStore.java
614
ImageShader
.renderTextureToTarget(texture, getRenderTarget(), w, h);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
GpuVideoTrackDecoder.java
28
import androidx.media.filterfw.
ImageShader
;
63
private
ImageShader
mImageShader;
151
ImageShader
imageShader
= getImageShader();
152
imageShader
.setSourceTransform(mTransformMatrix);
158
imageShader
.setTargetCoords(targetCoords);
165
imageShader
.process(
189
private
ImageShader
getImageShader() {
191
mImageShader = new
ImageShader
(COPY_FRAGMENT_SHADER);
Completed in 1034 milliseconds