Home
last modified time | relevance | path

Searched refs:getFormat (Results 1 – 25 of 204) sorted by relevance

123456789

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DNativeFrame.java71 if (getFormat().getBaseType() != FrameFormat.TYPE_OBJECT) { in getObjectValue()
76 Class structClass = getFormat().getObjectClass(); in getObjectValue()
111 if (ints.length * nativeIntSize() > getFormat().getSize()) { in setInts()
114 (getFormat().getSize() / nativeIntSize()) + " integers)."); in setInts()
122 return getNativeInts(getFormat().getSize()); in getInts()
128 if (floats.length * nativeFloatSize() > getFormat().getSize()) { in setFloats()
131 (getFormat().getSize() / nativeFloatSize()) + " floats)."); in setFloats()
139 return getNativeFloats(getFormat().getSize()); in getFloats()
152 } else if (getFormat().getSize() != length) { in setData()
154 "Frame size is " + getFormat().getSize() + " bytes, but " + in setData()
[all …]
DGLFrame.java79 FrameFormat format = getFormat(); in init()
87 } else if (getFormat().getSize() < 0) { in init()
120 if (!nativeAllocate(mGLEnvironment, getFormat().getWidth(), getFormat().getHeight())) { in initNew()
127 int width = getFormat().getWidth(); in initWithTexture()
128 int height = getFormat().getHeight(); in initWithTexture()
137 int width = getFormat().getWidth(); in initWithFbo()
138 int height = getFormat().getHeight(); in initWithFbo()
211 if (getFormat().getSize() != bytes.length) { in setData()
229 if (getFormat().getWidth() != bitmap.getWidth() || in setBitmap()
230 getFormat().getHeight() != bitmap.getHeight()) { in setBitmap()
[all …]
DVertexFrame.java36 if (getFormat().getSize() <= 0) { in VertexFrame()
39 if (!nativeAllocate(getFormat().getSize())) { in VertexFrame()
91 if (getFormat().getSize() != bytes.length) { in setData()
125 return "VertexFrame (" + getFormat() + ") with VBO ID " + getVboId(); in toString()
DSimpleFrame.java132 MutableFrameFormat format = getFormat().mutableCopy(); in setFormatObjectClass()
142 FrameFormat format = getFormat(); in setGenericObjectValue()
157 return "SimpleFrame (" + getFormat() + ")"; in toString()
DFrameManager.java36 Frame result = newFrame(frame.getFormat()); in duplicateFrame()
42 MutableFrameFormat newFormat = frame.getFormat().mutableCopy(); in duplicateFrameToTarget()
DCachedFrameManager.java101 int frameSize = frame.getFormat().getSize(); in storeFrame()
125 mStorageSize -= frame.getFormat().getSize(); in dropOldestFrame()
136 if (frame.getFormat().isReplaceableBy(format)) { in findAvailableFrame()
DFilterPort.java121 && !frame.getFormat().isCompatibleWith(mPortFormat)) { in checkFrameType()
123 + "Expected " + mPortFormat + " but got " + frame.getFormat()); in checkFrameType()
/frameworks/base/core/java/android/text/format/
DTimeFormatter.java198 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken()
213 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"), in handleToken()
220 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken()
225 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), hour); in handleToken()
229 numberFormatter.format(getFormat(modifier, "%03d", "%3d", "%d", "%03d"), in handleToken()
233 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"), in handleToken()
238 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"), n2); in handleToken()
241 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken()
245 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken()
266 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken()
[all …]
/frameworks/av/media/libstagefright/timedtext/
DTimedText3GPPSource.cpp72 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); in extractAndAppendLocalDescriptions()
96 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); in extractGlobalDescriptions()
102 if (!mSource->getFormat()->findData( in extractGlobalDescriptions()
115 sp<MetaData> TimedText3GPPSource::getFormat() { in getFormat() function in android::TimedText3GPPSource
116 return mSource->getFormat(); in getFormat()
DTimedTextSource.cpp38 CHECK(mediaSource->getFormat()->findCString(kKeyMIMEType, &mime)); in CreateTimedTextSource()
62 sp<MetaData> TimedTextSource::getFormat() { in getFormat() function in android::TimedTextSource
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java83 dest.writeInt(mix.getFormat().getSampleRate()); in writeToParcel()
84 dest.writeInt(mix.getFormat().getEncoding()); in writeToParcel()
85 dest.writeInt(mix.getFormat().getChannelMask()); in writeToParcel()
144 textDump += " rate=" + mix.getFormat().getSampleRate() + "Hz\n"; in toLogFriendlyString()
145 textDump += " encoding=" + mix.getFormat().getEncoding() + "\n"; in toLogFriendlyString()
147 textDump += Integer.toHexString(mix.getFormat().getChannelMask()).toUpperCase() +"\n"; in toLogFriendlyString()
DAudioPolicy.java332 AudioFormat mixFormat = new AudioFormat.Builder(mix.getFormat()) in createAudioRecordSink()
334 mix.getFormat().getChannelMask())) in createAudioRecordSink()
343 AudioRecord.getMinBufferSize(mix.getFormat().getSampleRate(), in createAudioRecordSink()
345 AudioFormat.CHANNEL_IN_STEREO, mix.getFormat().getEncoding()), in createAudioRecordSink()
375 mix.getFormat(), in createAudioTrackSource()
376 AudioTrack.getMinBufferSize(mix.getFormat().getSampleRate(), in createAudioTrackSource()
377 mix.getFormat().getChannelMask(), mix.getFormat().getEncoding()), in createAudioTrackSource()
/frameworks/av/media/libstagefright/
DDRMExtractor.cpp45 virtual sp<MetaData> getFormat();
82 bool success = getFormat()->findCString(kKeyMIMEType, &mime); in DRMSource()
89 CHECK(getFormat()->findData(kKeyAVCC, &type, &data, &size)); in DRMSource()
122 sp<MetaData> DRMSource::getFormat() { in getFormat() function in android::DRMSource
123 return mOriginalMediaSource->getFormat(); in getFormat()
156 CHECK(getFormat()->findCString(kKeyMIMEType, &mime)); in read()
252 originalMediaSource->getFormat()->setInt32(kKeyIsDRM, 1); in getTrack()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DResizeFilter.java89 createProgram(env, input.getFormat()); in process()
92 MutableFrameFormat outputFormat = input.getFormat().mutableCopy(); in process()
94 FrameFormat inputFormat = input.getFormat(); in process()
102 GLFrame mipmapped = (GLFrame)env.getFrameManager().newFrame(input.getFormat()); in process()
DImageSlicer.java76 mInputWidth = frame.getFormat().getWidth(); in calcOutputFormatForInput()
77 mInputHeight = frame.getFormat().getHeight(); in calcOutputFormatForInput()
96 FrameFormat inputFormat = mOriginalFrame.getFormat(); in process()
DToRGBFilter.java83 createProgram(context, input.getFormat()); in process()
86 Frame output = context.getFrameManager().newFrame(getConvertedFormat(input.getFormat())); in process()
DToRGBAFilter.java83 createProgram(context, input.getFormat()); in process()
86 Frame output = context.getFrameManager().newFrame(getConvertedFormat(input.getFormat())); in process()
/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2TSExtractor.cpp47 virtual sp<MetaData> getFormat();
80 sp<MetaData> MPEG2TSSource::getFormat() { in getFormat() function in android::MPEG2TSSource
81 return mImpl->getFormat(); in getFormat()
131 sp<MetaData> meta = mSourceImpls.editItemAt(index)->getFormat(); in getTrack()
146 ? mSourceImpls.editItemAt(index)->getFormat() : NULL; in getTrackMetaData()
DMPEG2PSExtractor.cpp49 virtual sp<MetaData> getFormat();
80 virtual sp<MetaData> getFormat();
112 if (mTracks.valueAt(i)->getFormat() == NULL) { in MPEG2PSExtractor()
141 return mTracks.valueAt(index)->getFormat(); in getTrackMetaData()
599 sp<MetaData> MPEG2PSExtractor::Track::getFormat() { in getFormat() function in android::MPEG2PSExtractor::Track
604 return mSource->getFormat(); in getFormat()
653 sp<MetaData> meta = mQueue->getFormat(); in appendPESData()
661 } else if (mQueue->getFormat() != NULL) { in appendPESData()
688 sp<MetaData> MPEG2PSExtractor::WrappedTrack::getFormat() { in getFormat() function in android::MPEG2PSExtractor::WrappedTrack
689 return mTrack->getFormat(); in getFormat()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
DSurfaceTargetFilter.java150 … float currentAspectRatio = (float)input.getFormat().getWidth() / input.getFormat().getHeight(); in process()
159 if (mLogVerbose) Log.v("SurfaceRenderFilter", "Got input format: " + input.getFormat()); in process()
160 int target = input.getFormat().getTarget(); in process()
DSurfaceRenderFilter.java158 … float currentAspectRatio = (float)input.getFormat().getWidth() / input.getFormat().getHeight(); in process()
167 if (mLogVerbose) Log.v("SurfaceRenderFilter", "Got input format: " + input.getFormat()); in process()
168 int target = input.getFormat().getTarget(); in process()
/frameworks/av/media/libstagefright/rtsp/
Drtp_test.cpp186 source->getFormat(), false /* createEncoder */, in main()
201 CHECK(decoder->getFormat()->findInt32(kKeyWidth, &width)); in main()
202 CHECK(decoder->getFormat()->findInt32(kKeyHeight, &height)); in main()
/frameworks/base/media/mca/effect/java/android/media/effect/
DSizeChangeEffect.java47 int outputWidth = resultFrame.getFormat().getWidth(); in apply()
48 int outputHeight = resultFrame.getFormat().getHeight(); in apply()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DGLTextureTarget.java50 FrameFormat format = ImageFormat.create(input.getFormat().getWidth(), in process()
51 input.getFormat().getHeight(), in process()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java58 protected String getFormat() { in getFormat() method in CdmaSMSDispatcher
97 fillIn.putExtra("format", getFormat()); in handleCdmaStatusReport()
113 SmsTracker tracker = getSmsTracker(map, sentIntent, deliveryIntent, getFormat(), in sendData()
136 SmsTracker tracker = getSmsTracker(map, sentIntent, deliveryIntent, getFormat(), in sendText()
193 getFormat(), unsentPartCount, anyPartFailed, messageUri, smsHeader, in getNewSubmitPduTracker()

123456789