/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | NativeFrame.java | 71 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 …]
|
D | GLFrame.java | 75 FrameFormat format = getFormat(); in init() 83 } else if (getFormat().getSize() < 0) { in init() 116 if (!nativeAllocate(mGLEnvironment, getFormat().getWidth(), getFormat().getHeight())) { in initNew() 123 int width = getFormat().getWidth(); in initWithTexture() 124 int height = getFormat().getHeight(); in initWithTexture() 133 int width = getFormat().getWidth(); in initWithFbo() 134 int height = getFormat().getHeight(); in initWithFbo() 207 if (getFormat().getSize() != bytes.length) { in setData() 226 if (getFormat().getWidth() != bitmap.getWidth() || in setBitmap() 227 getFormat().getHeight() != bitmap.getHeight()) { in setBitmap() [all …]
|
D | VertexFrame.java | 36 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()
|
D | SimpleFrame.java | 132 MutableFrameFormat format = getFormat().mutableCopy(); in setFormatObjectClass() 142 FrameFormat format = getFormat(); in setGenericObjectValue() 157 return "SimpleFrame (" + getFormat() + ")"; in toString()
|
D | FrameManager.java | 37 Frame result = newFrame(frame.getFormat()); in duplicateFrame() 43 MutableFrameFormat newFormat = frame.getFormat().mutableCopy(); in duplicateFrameToTarget()
|
D | CachedFrameManager.java | 101 int frameSize = frame.getFormat().getSize(); in storeFrame() 125 mStorageSize -= frame.getFormat().getSize(); in dropOldestFrame() 136 if (frame.getFormat().isReplaceableBy(format)) { in findAvailableFrame()
|
/frameworks/base/core/java/android/text/format/ |
D | TimeFormatter.java | 273 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken() 288 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"), in handleToken() 295 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken() 300 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), hour); in handleToken() 304 numberFormatter.format(getFormat(modifier, "%03d", "%3d", "%d", "%03d"), in handleToken() 308 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"), in handleToken() 313 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"), n2); in handleToken() 316 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken() 320 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken() 343 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken() [all …]
|
/frameworks/base/media/java/android/media/ |
D | ImageUtils.java | 100 if (src.getFormat() != dst.getFormat()) { in imageCopy() 103 if (src.getFormat() == ImageFormat.PRIVATE || in imageCopy() 104 dst.getFormat() == ImageFormat.PRIVATE) { in imageCopy() 107 if (src.getFormat() == ImageFormat.RAW_PRIVATE) { in imageCopy() 111 if (src.getFormat() == ImageFormat.RAW_DEPTH) { in imageCopy() 115 if (src.getFormat() == ImageFormat.RAW_DEPTH10) { in imageCopy() 248 switch (image.getFormat()) { in getEffectivePlaneSizeForImage() 283 String.format("Invalid image format %d", image.getFormat())); in getEffectivePlaneSizeForImage()
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioProfile.cpp | 32 return (left.getFormat() == right.getFormat()) && in operator ==() 136 mFormat == other->getFormat() && in equals() 252 if (profile->isValid() && profile->getFormat() == format) { in getFirstValidProfileFor() 264 supportedFormats.push_back(profile->getFormat()); in getSupportedFormats() 273 if (profile->getFormat() == format && profile->isDynamicChannels()) { in hasDynamicChannelsFor() 303 if (profile->getFormat() == format && profile->isDynamicRate()) { in hasDynamicRateFor() 381 infos2.emplace(profile->getFormat(), in intersectAudioProfiles() 386 const auto it = infos2.find(profile->getFormat()); in intersectAudioProfiles() 398 profiles.push_back(new AudioProfile(profile->getFormat(), channelMasks, sampleRates)); in intersectAudioProfiles()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioProfileVectorHelper.cpp | 39 return PolicyAudioPort::compareFormats(a->getFormat(), b->getFormat()) < 0; in sortAudioProfiles() 56 if (profile->getFormat() == format) { in getAudioProfileForFormat() 68 if (profile->getFormat() == format && profile->isDynamicRate()) { in setSampleRatesForAudioProfiles() 88 if (profile->getFormat() == format && profile->isDynamicChannels()) { in setChannelsForAudioProfiles() 132 formats.push_back(profileToAdd->getFormat()); in addDynamicAudioProfileAndSort() 138 audioProfileVector, profileToAdd->getSampleRates(), profileToAdd->getFormat()); in addDynamicAudioProfileAndSort() 143 audioProfileVector, profileToAdd->getChannels(), profileToAdd->getFormat()); in addDynamicAudioProfileAndSort() 171 if (audio_formats_match(format, audioProfile->getFormat()) && in checkExact() 344 audio_format_t formatToCompare = profile->getFormat(); in checkCompatibleProfile()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | ResizeFilter.java | 89 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()
|
D | ImageSlicer.java | 76 mInputWidth = frame.getFormat().getWidth(); in calcOutputFormatForInput() 77 mInputHeight = frame.getFormat().getHeight(); in calcOutputFormatForInput() 96 FrameFormat inputFormat = mOriginalFrame.getFormat(); in process()
|
/frameworks/av/media/libstagefright/ |
D | OggWriter.cpp | 88 source->getFormat()->findCString(kKeyMIMEType, &mime); in addSource() 103 if (!source->getFormat()->findInt32(kKeyChannelCount, &nChannels)) { in addSource() 105 source->getFormat()->dumpToLog(); in addSource() 108 source->getFormat()->dumpToLog(); in addSource() 111 if (!source->getFormat()->findInt32(kKeySampleRate, &sampleRate)) { in addSource() 113 source->getFormat()->dumpToLog(); in addSource() 122 if (!source->getFormat()->findData(kKeyOpusHeader, &type, &header_data, &packet_size)) { in addSource()
|
D | CallbackMediaSource.cpp | 35 sp<MetaData> CallbackMediaSource::getFormat() { in getFormat() function in android::CallbackMediaSource 36 return mSource->getFormat(); in getFormat()
|
D | RemoteMediaSource.cpp | 48 sp<MetaData> RemoteMediaSource::getFormat() { in getFormat() function in android::RemoteMediaSource 50 if (mTrack->getFormat(*meta.get()) == OK) { in getFormat()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioPolicyConfig.java | 96 dest.writeInt(mix.getFormat().getSampleRate()); in writeToParcel() 97 dest.writeInt(mix.getFormat().getEncoding()); in writeToParcel() 98 dest.writeInt(mix.getFormat().getChannelMask()); in writeToParcel() 174 textDump += " rate=" + mix.getFormat().getSampleRate() + "Hz\n"; in toLogFriendlyString() 175 textDump += " encoding=" + mix.getFormat().getEncoding() + "\n"; in toLogFriendlyString() 177 textDump += Integer.toHexString(mix.getFormat().getChannelMask()).toUpperCase() + "\n"; in toLogFriendlyString()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/ |
D | SurfaceTargetFilter.java | 150 … 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()
|
D | SurfaceRenderFilter.java | 158 … 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/extractors/mpeg2/ |
D | MPEG2PSExtractor.cpp | 48 virtual media_status_t getFormat(AMediaFormat *); 79 virtual media_status_t getFormat(AMediaFormat *); 114 if (track->getFormat(meta) != AMEDIA_OK) { in MPEG2PSExtractor() 151 return mTracks.valueAt(index)->getFormat(meta); in getTrackMetaData() 672 media_status_t MPEG2PSExtractor::Track::getFormat(AMediaFormat *meta) { in getFormat() function in android::MPEG2PSExtractor::Track 677 sp<MetaData> sourceMeta = mSource->getFormat(); in getFormat() 773 sp<MetaData> meta = mQueue->getFormat(); in appendPESData() 781 } else if (mQueue->getFormat() != NULL) { in appendPESData() 811 media_status_t MPEG2PSExtractor::WrappedTrack::getFormat(AMediaFormat *meta) { in getFormat() function in android::MPEG2PSExtractor::WrappedTrack 812 return mTrack->getFormat(meta); in getFormat()
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
D | SizeChangeEffect.java | 47 int outputWidth = resultFrame.getFormat().getWidth(); in apply() 48 int outputHeight = resultFrame.getFormat().getHeight(); in apply()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
D | GLTextureTarget.java | 50 FrameFormat format = ImageFormat.create(input.getFormat().getWidth(), in process() 51 input.getFormat().getHeight(), in process()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | StreamConfigurationMap.java | 254 int fmt = config.getFormat(); in StreamConfigurationMap() 261 if (configurationDuration.getFormat() == fmt && in StreamConfigurationMap() 284 mDepthOutputFormats.put(config.getFormat(), in StreamConfigurationMap() 285 mDepthOutputFormats.get(config.getFormat()) + 1); in StreamConfigurationMap() 293 mDynamicDepthOutputFormats.put(config.getFormat(), in StreamConfigurationMap() 294 mDynamicDepthOutputFormats.get(config.getFormat()) + 1); in StreamConfigurationMap() 304 mHeicOutputFormats.put(config.getFormat(), in StreamConfigurationMap() 305 mHeicOutputFormats.get(config.getFormat()) + 1); in StreamConfigurationMap() 566 if (config.getFormat() == surfaceFormat && config.isOutput()) { in isOutputSupportedFor() 602 if ((config.getFormat() == internalFormat) && config.isOutput() && in isOutputSupportedFor() [all …]
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceStreamShared.cpp | 148 setFormat(configurationInput.getFormat()); in open() 149 if (getFormat() == AUDIO_FORMAT_DEFAULT) { in open() 151 } else if (getFormat() != AUDIO_FORMAT_PCM_FLOAT) { in open() 152 ALOGD("%s() audio_format_t mAudioFormat = %d, need FLOAT", __func__, getFormat()); in open()
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreRSAPublicKey.java | 53 if (!"X.509".equalsIgnoreCase(info.getFormat())) { in AndroidKeyStoreRSAPublicKey() 55 "Unsupported key export format: " + info.getFormat()); in AndroidKeyStoreRSAPublicKey()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 96 const audio_format_t requestedFormat = getFormat(); in open() 116 if (getFormat() == AUDIO_FORMAT_PCM_FLOAT in open() 123 setDeviceFormat(getFormat()); in open() 209 if (getFormat() != getDeviceFormat() && !gotFastPath) { in open() 215 setDeviceFormat(getFormat()); in open() 250 && getFormat() == AUDIO_FORMAT_PCM_FLOAT) { in open()
|