HomeSort by relevance Sort by last modified time
    Searched defs:inputFormat (Results 1 - 25 of 31) sorted by null

1 2

  /system/media/mca/filterpacks/imageproc/java/
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 92 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
93 return inputFormat;
115 FrameFormat inputFormat = input.getFormat();
118 Frame output = context.getFrameManager().newFrame(inputFormat);
121 if (mProgram == null || inputFormat.getTarget() != mTarget) {
122 initProgram(context, inputFormat.getTarget());
126 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
127 updateFrameSize(inputFormat.getWidth(), inputFormat.getHeight())
    [all...]
GrainFilter.java 89 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
90 return inputFormat;
142 FrameFormat inputFormat = input.getFormat();
145 Frame output = context.getFrameManager().newFrame(inputFormat);
148 if (mProgram == null || inputFormat.getTarget() != mTarget) {
149 initProgram(context, inputFormat.getTarget());
154 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
155 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());
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);
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);
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 75 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
76 return inputFormat;
106 FrameFormat inputFormat = input.getFormat();
109 Frame output = context.getFrameManager().newFrame(inputFormat);
112 if (mProgram == null || inputFormat.getTarget() != mTarget) {
113 initProgram(context, inputFormat.getTarget());
117 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
118 mWidth = inputFormat.getWidth();
119 mHeight = inputFormat.getHeight()
    [all...]
BlackWhiteFilter.java 83 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
84 return inputFormat;
131 FrameFormat inputFormat = input.getFormat();
134 if (mProgram == null || inputFormat.getTarget() != mTarget) {
135 initProgram(context, inputFormat.getTarget());
139 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
140 mWidth = inputFormat.getWidth();
141 mHeight = inputFormat.getHeight();
164 Frame output = context.getFrameManager().newFrame(inputFormat);
    [all...]
DocumentaryFilter.java 84 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
85 return inputFormat;
115 FrameFormat inputFormat = input.getFormat();
118 if (mProgram == null || inputFormat.getTarget() != mTarget) {
119 initProgram(context, inputFormat.getTarget());
123 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
124 mWidth = inputFormat.getWidth();
125 mHeight = inputFormat.getHeight();
149 Frame output = context.getFrameManager().newFrame(inputFormat);
    [all...]
ImageSlicer.java 71 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
72 return inputFormat;
98 FrameFormat inputFormat = mOriginalFrame.getFormat();
99 MutableFrameFormat outputFormat = inputFormat.mutableCopy();
LomoishFilter.java 125 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
126 return inputFormat;
172 FrameFormat inputFormat = input.getFormat();
175 if (mProgram == null || inputFormat.getTarget() != mTarget) {
176 initProgram(context, inputFormat.getTarget());
180 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
181 mWidth = inputFormat.getWidth();
182 mHeight = inputFormat.getHeight();
206 Frame output = context.getFrameManager().newFrame(inputFormat);
    [all...]
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);
  /system/media/mca/filterpacks/performance/java/
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 1062 milliseconds

1 2