OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:inputFormat
(Results
26 - 33
of
33
) sorted by null
1
2
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
ToPackedGrayFilter.java
73
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
74
return convertInputFormat(
inputFormat
);
84
private FrameFormat convertInputFormat(FrameFormat
inputFormat
) {
87
int w =
inputFormat
.getWidth();
88
int h =
inputFormat
.getHeight();
120
FrameFormat
inputFormat
= input.getFormat();
121
FrameFormat outputFormat = convertInputFormat(
inputFormat
);
128
MutableFrameFormat tempFrameFormat =
inputFormat
.mutableCopy();
VignetteFilter.java
76
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
77
return
inputFormat
;
132
FrameFormat
inputFormat
= input.getFormat();
135
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
136
initProgram(context,
inputFormat
.getTarget());
140
if (
inputFormat
.getWidth() != mWidth ||
inputFormat
.getHeight() != mHeight) {
141
mWidth =
inputFormat
.getWidth();
142
mHeight =
inputFormat
.getHeight();
147
Frame output = context.getFrameManager().newFrame(
inputFormat
);
[
all
...]
AutoFixFilter.java
172
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
173
return
inputFormat
;
243
FrameFormat
inputFormat
= input.getFormat();
246
if (mShaderProgram == null ||
inputFormat
.getTarget() != mTarget) {
247
initProgram(context,
inputFormat
.getTarget());
252
if (
inputFormat
.getWidth() != mWidth ||
inputFormat
.getHeight() != mHeight) {
253
mWidth =
inputFormat
.getWidth();
254
mHeight =
inputFormat
.getHeight();
259
Frame output = context.getFrameManager().newFrame(
inputFormat
);
[
all
...]
RedEyeFilter.java
96
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
97
return
inputFormat
;
119
FrameFormat
inputFormat
= input.getFormat();
122
Frame output = context.getFrameManager().newFrame(
inputFormat
);
125
if (mProgram == null ||
inputFormat
.getTarget() != mTarget) {
126
initProgram(context,
inputFormat
.getTarget());
130
if (
inputFormat
.getWidth() != mWidth ||
inputFormat
.getHeight() != mHeight) {
131
mWidth =
inputFormat
.getWidth();
132
mHeight =
inputFormat
.getHeight()
[
all
...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
FilterGraph.java
227
FrameFormat
inputFormat
= inputPort.getSourceFormat();
229
inputFormat
);
Filter.java
171
public FrameFormat getOutputFormat(String portName, FrameFormat
inputFormat
) {
634
MutableFrameFormat
inputFormat
= ObjectFormat.fromObject(value, FrameFormat.TARGET_SIMPLE);
640
inputFormat
.setObjectClass(portClass);
651
? new SerializedFrame(
inputFormat
, null)
652
: new SimpleFrame(
inputFormat
, null);
/cts/tests/tests/media/src/android/media/cts/
DecodeEditEncodeTest.java
408
MediaFormat
inputFormat
= inputData.getMediaFormat();
416
inputFormat
.getInteger(MediaFormat.KEY_BIT_RATE));
418
inputFormat
.getInteger(MediaFormat.KEY_FRAME_RATE));
420
inputFormat
.getInteger(MediaFormat.KEY_I_FRAME_INTERVAL));
434
decoder.configure(
inputFormat
, outputSurface.getSurface(), null, 0);
[
all
...]
ExtractDecodeEditEncodeMuxTest.java
283
MediaFormat
inputFormat
= videoExtractor.getTrackFormat(videoInputTrack);
310
videoDecoder = createVideoDecoder(
inputFormat
, outputSurface.getSurface());
317
MediaFormat
inputFormat
= audioExtractor.getTrackFormat(audioInputTrack);
330
audioDecoder = createAudioDecoder(
inputFormat
);
469
* @param
inputFormat
the format of the stream to decode
472
private MediaCodec createVideoDecoder(MediaFormat
inputFormat
, Surface surface) {
473
MediaCodec decoder = MediaCodec.createDecoderByType(getMimeTypeFor(
inputFormat
));
474
decoder.configure(
inputFormat
, surface, null, 0);
504
* @param
inputFormat
the format of the stream to decode
506
private MediaCodec createAudioDecoder(MediaFormat
inputFormat
) {
[
all
...]
Completed in 329 milliseconds
1
2