OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:inputFormat
(Results
1 - 25
of
33
) sorted by null
1
2
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
CropRectFilter.java
96
FrameFormat
inputFormat
= input.getFormat();
105
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
106
initProgram(context,
inputFormat
.getTarget());
110
if (
inputFormat
.getWidth() != mWidth ||
inputFormat
.getHeight() != mHeight) {
111
updateSourceRect(
inputFormat
.getWidth(),
inputFormat
.getHeight());
FisheyeFilter.java
87
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
88
return
inputFormat
;
110
FrameFormat
inputFormat
= input.getFormat();
113
Frame output = context.getFrameManager().newFrame(
inputFormat
);
116
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
117
initProgram(context,
inputFormat
.getTarget());
121
if (
inputFormat
.getWidth() != mWidth ||
inputFormat
.getHeight() != mHeight) {
122
updateFrameSize(
inputFormat
.getWidth(),
inputFormat
.getHeight())
[
all
...]
SharpenFilter.java
84
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
85
return
inputFormat
;
107
FrameFormat
inputFormat
= input.getFormat();
110
Frame output = context.getFrameManager().newFrame(
inputFormat
);
113
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
114
initProgram(context,
inputFormat
.getTarget());
118
if (
inputFormat
.getWidth() != mWidth ||
inputFormat
.getHeight() != mHeight) {
119
updateFrameSize(
inputFormat
.getWidth(),
inputFormat
.getHeight())
[
all
...]
SimpleImageFilter.java
64
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
65
return
inputFormat
;
72
FrameFormat
inputFormat
= input.getFormat();
75
Frame output = context.getFrameManager().newFrame(
inputFormat
);
78
updateProgramWithTarget(
inputFormat
.getTarget(), context);
CrossProcessFilter.java
87
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
88
return
inputFormat
;
110
FrameFormat
inputFormat
= input.getFormat();
113
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
114
initProgram(context,
inputFormat
.getTarget());
118
Frame output = context.getFrameManager().newFrame(
inputFormat
);
NegativeFilter.java
60
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
61
return
inputFormat
;
83
FrameFormat
inputFormat
= input.getFormat();
86
Frame output = context.getFrameManager().newFrame(
inputFormat
);
89
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
90
initProgram(context,
inputFormat
.getTarget());
PosterizeFilter.java
63
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
64
return
inputFormat
;
86
FrameFormat
inputFormat
= input.getFormat();
89
Frame output = context.getFrameManager().newFrame(
inputFormat
);
92
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
93
initProgram(context,
inputFormat
.getTarget());
GrainFilter.java
108
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
109
return
inputFormat
;
160
FrameFormat
inputFormat
= input.getFormat();
162
FrameFormat noiseFormat = ImageFormat.create(
inputFormat
.getWidth() / 2,
163
inputFormat
.getHeight() / 2,
168
Frame noiseFrame = context.getFrameManager().newFrame(
inputFormat
);
171
Frame output = context.getFrameManager().newFrame(
inputFormat
);
174
if (mNoiseProgram == null || mGrainProgram == null ||
inputFormat
.getTarget() != mTarget) {
175
initProgram(context,
inputFormat
.getTarget());
180
if (
inputFormat
.getWidth() != mWidth || inputFormat.getHeight() != mHeight)
[
all
...]
BlackWhiteFilter.java
100
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
101
return
inputFormat
;
142
FrameFormat
inputFormat
= input.getFormat();
145
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
146
initProgram(context,
inputFormat
.getTarget());
150
Frame output = context.getFrameManager().newFrame(
inputFormat
);
ColorTemperatureFilter.java
74
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
75
return
inputFormat
;
97
FrameFormat
inputFormat
= input.getFormat();
100
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
101
initProgram(context,
inputFormat
.getTarget());
106
Frame output = context.getFrameManager().newFrame(
inputFormat
);
DocumentaryFilter.java
95
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
96
return
inputFormat
;
118
FrameFormat
inputFormat
= input.getFormat();
121
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
122
initProgram(context,
inputFormat
.getTarget());
126
if (
inputFormat
.getWidth() != mWidth ||
inputFormat
.getHeight() != mHeight) {
127
mWidth =
inputFormat
.getWidth();
128
mHeight =
inputFormat
.getHeight();
133
Frame output = context.getFrameManager().newFrame(
inputFormat
);
[
all
...]
DuotoneFilter.java
70
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
71
return
inputFormat
;
93
FrameFormat
inputFormat
= input.getFormat();
96
Frame output = context.getFrameManager().newFrame(
inputFormat
);
99
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
100
initProgram(context,
inputFormat
.getTarget());
FillLightFilter.java
76
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
77
return
inputFormat
;
101
FrameFormat
inputFormat
= input.getFormat();
104
Frame output = context.getFrameManager().newFrame(
inputFormat
);
107
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
108
initProgram(context,
inputFormat
.getTarget());
FixedRotationFilter.java
55
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
56
return
inputFormat
;
66
FrameFormat
inputFormat
= input.getFormat();
72
MutableFrameFormat outputFormat =
inputFormat
.mutableCopy();
73
int width =
inputFormat
.getWidth();
74
int height =
inputFormat
.getHeight();
FlipFilter.java
60
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
61
return
inputFormat
;
91
FrameFormat
inputFormat
= input.getFormat();
94
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
95
initProgram(context,
inputFormat
.getTarget());
99
Frame output = context.getFrameManager().newFrame(
inputFormat
);
LomoishFilter.java
135
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
136
return
inputFormat
;
182
FrameFormat
inputFormat
= input.getFormat();
185
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
186
initProgram(context,
inputFormat
.getTarget());
190
if (
inputFormat
.getWidth() != mWidth ||
inputFormat
.getHeight() != mHeight) {
191
mWidth =
inputFormat
.getWidth();
192
mHeight =
inputFormat
.getHeight();
197
Frame output = context.getFrameManager().newFrame(
inputFormat
);
[
all
...]
SepiaFilter.java
61
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
62
return
inputFormat
;
84
FrameFormat
inputFormat
= input.getFormat();
87
Frame output = context.getFrameManager().newFrame(
inputFormat
);
90
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
91
initProgram(context,
inputFormat
.getTarget());
TintFilter.java
67
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
68
return
inputFormat
;
97
FrameFormat
inputFormat
= input.getFormat();
100
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
101
initProgram(context,
inputFormat
.getTarget());
106
Frame output = context.getFrameManager().newFrame(
inputFormat
);
BitmapOverlayFilter.java
73
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
74
return
inputFormat
;
104
FrameFormat
inputFormat
= input.getFormat();
107
Frame output = context.getFrameManager().newFrame(
inputFormat
);
110
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
111
initProgram(context,
inputFormat
.getTarget());
ImageSlicer.java
71
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
72
return
inputFormat
;
98
FrameFormat
inputFormat
= mOriginalFrame.getFormat();
99
MutableFrameFormat outputFormat =
inputFormat
.mutableCopy();
ResizeFilter.java
67
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
68
return
inputFormat
;
97
FrameFormat
inputFormat
= input.getFormat();
98
mOHeight = mOWidth *
inputFormat
.getHeight() /
inputFormat
.getWidth();
RotateFilter.java
93
FrameFormat
inputFormat
= input.getFormat();
96
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
97
initProgram(context,
inputFormat
.getTarget());
100
if (
inputFormat
.getWidth() != mWidth ||
inputFormat
.getHeight() != mHeight) {
101
mWidth =
inputFormat
.getWidth();
102
mHeight =
inputFormat
.getHeight();
SaturateFilter.java
84
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
85
return
inputFormat
;
119
FrameFormat
inputFormat
= input.getFormat();
122
if (mBenProgram == null ||
inputFormat
.getTarget() != mTarget) {
123
initProgram(context,
inputFormat
.getTarget());
128
Frame output = context.getFrameManager().newFrame(
inputFormat
);
StraightenFilter.java
94
FrameFormat
inputFormat
= input.getFormat();
97
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
98
initProgram(context,
inputFormat
.getTarget());
102
if (
inputFormat
.getWidth() != mWidth ||
inputFormat
.getHeight() != mHeight) {
103
mWidth =
inputFormat
.getWidth();
104
mHeight =
inputFormat
.getHeight();
108
Frame output = context.getFrameManager().newFrame(
inputFormat
);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/
ThroughputFilter.java
59
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
60
return
inputFormat
;
88
FrameFormat
inputFormat
= input.getFormat();
89
int pixelCount =
inputFormat
.getWidth() *
inputFormat
.getHeight();
Completed in 294 milliseconds
1
2