Searched refs:getFormat (Results 1 - 25 of 202) sorted by relevance

123456789

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeFrame.java71 if (getFormat().getBaseType() != FrameFormat.TYPE_OBJECT) {
76 Class structClass = getFormat().getObjectClass();
111 if (ints.length * nativeIntSize() > getFormat().getSize()) {
114 (getFormat().getSize() / nativeIntSize()) + " integers).");
122 return getNativeInts(getFormat().getSize());
128 if (floats.length * nativeFloatSize() > getFormat().getSize()) {
131 (getFormat().getSize() / nativeFloatSize()) + " floats).");
139 return getNativeFloats(getFormat().getSize());
152 } else if (getFormat().getSize() != length) {
154 "Frame size is " + getFormat()
[all...]
H A DGLFrame.java79 FrameFormat format = getFormat();
87 } else if (getFormat().getSize() < 0) {
120 if (!nativeAllocate(mGLEnvironment, getFormat().getWidth(), getFormat().getHeight())) {
127 int width = getFormat().getWidth();
128 int height = getFormat().getHeight();
137 int width = getFormat().getWidth();
138 int height = getFormat().getHeight();
211 if (getFormat().getSize() != bytes.length) {
229 if (getFormat()
[all...]
H A DVertexFrame.java36 if (getFormat().getSize() <= 0) {
39 if (!nativeAllocate(getFormat().getSize())) {
91 if (getFormat().getSize() != bytes.length) {
125 return "VertexFrame (" + getFormat() + ") with VBO ID " + getVboId();
H A DFrameManager.java36 Frame result = newFrame(frame.getFormat());
42 MutableFrameFormat newFormat = frame.getFormat().mutableCopy();
H A DCachedFrameManager.java101 int frameSize = frame.getFormat().getSize();
125 mStorageSize -= frame.getFormat().getSize();
136 if (frame.getFormat().isReplaceableBy(format)) {
H A DSimpleFrame.java132 MutableFrameFormat format = getFormat().mutableCopy();
142 FrameFormat format = getFormat();
157 return "SimpleFrame (" + getFormat() + ")";
H A DFilterPort.java121 && !frame.getFormat().isCompatibleWith(mPortFormat)) {
123 + "Expected " + mPortFormat + " but got " + frame.getFormat());
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSource.cpp38 CHECK(mediaSource->getFormat()->findCString(kKeyMIMEType, &mime));
62 sp<MetaData> TimedTextSource::getFormat() { function in class:android::TimedTextSource
H A DTimedText3GPPSource.cpp72 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime));
96 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime));
102 if (!mSource->getFormat()->findData(
115 sp<MetaData> TimedText3GPPSource::getFormat() { function in class:android::TimedText3GPPSource
116 return mSource->getFormat();
H A DTimedText3GPPSource.h41 virtual sp<MetaData> getFormat();
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DSizeChangeEffect.java47 int outputWidth = resultFrame.getFormat().getWidth();
48 int outputHeight = resultFrame.getFormat().getHeight();
/frameworks/base/core/java/android/text/format/
H A DTimeFormatter.java198 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"),
213 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"),
220 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"),
225 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), hour);
229 numberFormatter.format(getFormat(modifier, "%03d", "%3d", "%d", "%03d"),
233 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"),
238 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"), n2);
241 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"),
245 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"),
266 numberFormatter.format(getFormat(modifie
445 private static String getFormat(int modifier, String normal, String underscore, String dash, method in class:TimeFormatter
[all...]
/frameworks/av/cmds/stagefright/
H A DSineSource.h17 virtual sp<MetaData> getFormat();
/frameworks/av/media/libstagefright/rtsp/
H A DAPacketSource.h34 virtual sp<MetaData> getFormat();
/frameworks/base/media/java/android/media/
H A DImage.java101 public abstract int getFormat(); method in class:Image
183 * @see #getFormat
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DResizeFilter.java89 createProgram(env, input.getFormat());
92 MutableFrameFormat outputFormat = input.getFormat().mutableCopy();
94 FrameFormat inputFormat = input.getFormat();
102 GLFrame mipmapped = (GLFrame)env.getFrameManager().newFrame(input.getFormat());
H A DImageSlicer.java76 mInputWidth = frame.getFormat().getWidth();
77 mInputHeight = frame.getFormat().getHeight();
96 FrameFormat inputFormat = mOriginalFrame.getFormat();
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DGLTextureTarget.java50 FrameFormat format = ImageFormat.create(input.getFormat().getWidth(),
51 input.getFormat().getHeight(),
H A DOutputStreamTarget.java51 if (input.getFormat().getObjectClass() == String.class) {
/frameworks/av/media/libstagefright/
H A DDRMExtractor.cpp45 virtual sp<MetaData> getFormat();
82 bool success = getFormat()->findCString(kKeyMIMEType, &mime);
89 CHECK(getFormat()->findData(kKeyAVCC, &type, &data, &size));
122 sp<MetaData> DRMSource::getFormat() { function in class:android::DRMSource
123 return mOriginalMediaSource->getFormat();
156 CHECK(getFormat()->findCString(kKeyMIMEType, &mime));
251 originalMediaSource->getFormat()->setInt32(kKeyIsDRM, 1);
/frameworks/av/include/media/stagefright/
H A DJPEGSource.h33 virtual sp<MetaData> getFormat();
H A DMediaAdapter.h32 // MetaData is used to set the format and returned at getFormat.
41 virtual sp<MetaData> getFormat();
/frameworks/base/media/java/android/mtp/
H A DMtpObjectInfo.java73 public final int getFormat() { method in class:MtpObjectInfo
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceTargetFilter.java150 float currentAspectRatio = (float)input.getFormat().getWidth() / input.getFormat().getHeight();
159 if (mLogVerbose) Log.v("SurfaceRenderFilter", "Got input format: " + input.getFormat());
160 int target = input.getFormat().getTarget();
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioPolicy.java332 AudioFormat mixFormat = new AudioFormat.Builder(mix.getFormat())
334 mix.getFormat().getChannelMask()))
343 AudioRecord.getMinBufferSize(mix.getFormat().getSampleRate(),
345 AudioFormat.CHANNEL_IN_STEREO, mix.getFormat().getEncoding()),
375 mix.getFormat(),
376 AudioTrack.getMinBufferSize(mix.getFormat().getSampleRate(),
377 mix.getFormat().getChannelMask(), mix.getFormat().getEncoding()),

Completed in 395 milliseconds

123456789