/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | NativeFrame.java | 73 if (getFormat().getBaseType() != FrameFormat.TYPE_OBJECT) { in getObjectValue() 78 Class structClass = getFormat().getObjectClass(); in getObjectValue() 113 if (ints.length * nativeIntSize() > getFormat().getSize()) { in setInts() 116 (getFormat().getSize() / nativeIntSize()) + " integers)."); in setInts() 124 return getNativeInts(getFormat().getSize()); in getInts() 130 if (floats.length * nativeFloatSize() > getFormat().getSize()) { in setFloats() 133 (getFormat().getSize() / nativeFloatSize()) + " floats)."); in setFloats() 141 return getNativeFloats(getFormat().getSize()); in getFloats() 154 } else if (getFormat().getSize() != length) { in setData() 156 "Frame size is " + getFormat().getSize() + " bytes, but " + in setData() [all …]
|
D | GLFrame.java | 79 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 …]
|
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 | 134 MutableFrameFormat format = getFormat().mutableCopy(); in setFormatObjectClass() 144 FrameFormat format = getFormat(); in setGenericObjectValue() 159 return "SimpleFrame (" + getFormat() + ")"; in toString()
|
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()
|
D | FrameManager.java | 36 Frame result = newFrame(frame.getFormat()); in duplicateFrame() 42 MutableFrameFormat newFormat = frame.getFormat().mutableCopy(); in duplicateFrameToTarget()
|
D | FilterPort.java | 121 && !frame.getFormat().isCompatibleWith(mPortFormat)) { in checkFrameType() 123 + "Expected " + mPortFormat + " but got " + frame.getFormat()); in checkFrameType()
|
/frameworks/av/media/libstagefright/timedtext/ |
D | TimedText3GPPSource.cpp | 72 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()
|
D | TimedTextSource.cpp | 38 CHECK(mediaSource->getFormat()->findCString(kKeyMIMEType, &mime)); in CreateTimedTextSource() 62 sp<MetaData> TimedTextSource::getFormat() { in getFormat() function in android::TimedTextSource
|
/frameworks/av/media/libstagefright/ |
D | DRMExtractor.cpp | 50 virtual sp<MetaData> getFormat(); 87 bool success = getFormat()->findCString(kKeyMIMEType, &mime); in DRMSource() 94 CHECK(getFormat()->findData(kKeyAVCC, &type, &data, &size)); in DRMSource() 127 sp<MetaData> DRMSource::getFormat() { in getFormat() function in android::DRMSource 128 return mOriginalMediaSource->getFormat(); in getFormat() 161 CHECK(getFormat()->findCString(kKeyMIMEType, &mime)); in read() 256 originalMediaSource->getFormat()->setInt32(kKeyIsDRM, 1); in getTrack()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | ResizeFilter.java | 92 createProgram(env, input.getFormat()); in process() 95 MutableFrameFormat outputFormat = input.getFormat().mutableCopy(); in process() 97 FrameFormat inputFormat = input.getFormat(); in process() 105 GLFrame mipmapped = (GLFrame)env.getFrameManager().newFrame(input.getFormat()); in process()
|
D | ImageSlicer.java | 78 mInputWidth = frame.getFormat().getWidth(); in calcOutputFormatForInput() 79 mInputHeight = frame.getFormat().getHeight(); in calcOutputFormatForInput() 98 FrameFormat inputFormat = mOriginalFrame.getFormat(); in process()
|
D | ToRGBFilter.java | 88 createProgram(context, input.getFormat()); in process() 91 Frame output = context.getFrameManager().newFrame(getConvertedFormat(input.getFormat())); in process()
|
D | ToRGBAFilter.java | 88 createProgram(context, input.getFormat()); in process() 91 Frame output = context.getFrameManager().newFrame(getConvertedFormat(input.getFormat())); in process()
|
D | ImageCombineFilter.java | 97 Frame output = context.getFrameManager().newFrame(inputs[0].getFormat()); in process() 100 updateProgramWithTarget(inputs[0].getFormat().getTarget(), context); in process()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | MPEG2TSExtractor.cpp | 48 virtual sp<MetaData> getFormat(); 81 sp<MetaData> MPEG2TSSource::getFormat() { in getFormat() function in android::MPEG2TSSource 82 sp<MetaData> meta = mImpl->getFormat(); in getFormat() 140 sp<MetaData> meta = mSourceImpls.editItemAt(index)->getFormat(); in getTrack() 155 ? mSourceImpls.editItemAt(index)->getFormat() : NULL; in getTrackMetaData()
|
D | MPEG2PSExtractor.cpp | 47 virtual sp<MetaData> getFormat(); 78 virtual sp<MetaData> getFormat(); 110 if (mTracks.valueAt(i)->getFormat() == NULL) { in MPEG2PSExtractor() 138 return mTracks.valueAt(index)->getFormat(); in getTrackMetaData() 596 sp<MetaData> MPEG2PSExtractor::Track::getFormat() { in getFormat() function in android::MPEG2PSExtractor::Track 601 return mSource->getFormat(); in getFormat() 650 sp<MetaData> meta = mQueue->getFormat(); in appendPESData() 658 } else if (mQueue->getFormat() != NULL) { in appendPESData() 685 sp<MetaData> MPEG2PSExtractor::WrappedTrack::getFormat() { in getFormat() function in android::MPEG2PSExtractor::WrappedTrack 686 return mTrack->getFormat(); in getFormat()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | rtp_test.cpp | 186 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/filterpacks/java/android/filterpacks/ui/ |
D | SurfaceTargetFilter.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()
|
D | SurfaceRenderFilter.java | 166 … float currentAspectRatio = (float)input.getFormat().getWidth() / input.getFormat().getHeight(); in process() 175 if (mLogVerbose) Log.v("SurfaceRenderFilter", "Got input format: " + input.getFormat()); in process() 176 int target = input.getFormat().getTarget(); in process()
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
D | SizeChangeEffect.java | 53 int outputWidth = resultFrame.getFormat().getWidth(); in apply() 54 int outputHeight = resultFrame.getFormat().getHeight(); in apply()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
D | GLTextureTarget.java | 53 FrameFormat format = ImageFormat.create(input.getFormat().getWidth(), in process() 54 input.getFormat().getHeight(), in process()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | GenericSource.cpp | 112 new AnotherPacketSource(mAudioTrack.mSource->getFormat()); in start() 121 new AnotherPacketSource(mVideoTrack.mSource->getFormat()); in start() 131 sp<MetaData> NuPlayer::GenericSource::getFormat(bool audio) { in getFormat() function in android::NuPlayer::GenericSource 138 return source->getFormat(); in getFormat()
|
D | StreamingSource.cpp | 110 sp<MetaData> NuPlayer::StreamingSource::getFormat(bool audio) { in getFormat() function in android::NuPlayer::StreamingSource 121 return source->getFormat(); in getFormat()
|
/frameworks/av/libvideoeditor/lvpp/ |
D | PreviewPlayer.cpp | 259 updateSizeToRender(mVideoSource->getFormat()); in setDataSource_l_jpg() 409 meta = mVideoSource->getFormat(); in setAudioPlayer() 421 meta = anAudioSource->getFormat(); in setAudioPlayer() 425 meta = mAudioSource->getFormat(); in setAudioPlayer() 668 updateSizeToRender(mVideoSource->getFormat()); in initRenderer_l() 702 sp<MetaData> meta = mAudioTrack->getFormat(); in initAudioDecoder_l() 711 mClient.interface(), mAudioTrack->getFormat(), in initAudioDecoder_l() 722 if (mAudioTrack->getFormat()->findInt64(kKeyDuration, &durationUs)) { in initAudioDecoder_l() 750 mClient.interface(), mVideoTrack->getFormat(), in initVideoDecoder_l() 757 if (mVideoTrack->getFormat()->findInt64(kKeyDuration, &durationUs)) { in initVideoDecoder_l() [all …]
|