/frameworks/av/media/libstagefright/rtsp/ |
D | APacketSource.cpp | 413 mFormat(new MetaData) { in APacketSource() 421 mFormat->setInt64(kKeyDuration, durationUs); in APacketSource() 423 mFormat->setInt64(kKeyDuration, 60 * 60 * 1000000ll); in APacketSource() 428 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in APacketSource() 448 mFormat->setData( in APacketSource() 456 mFormat->setInt32(kKeyWidth, width); in APacketSource() 457 mFormat->setInt32(kKeyHeight, height); in APacketSource() 460 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_H263); in APacketSource() 468 mFormat->setInt32(kKeyWidth, width); in APacketSource() 469 mFormat->setInt32(kKeyHeight, height); in APacketSource() [all …]
|
/frameworks/av/media/ndk/ |
D | NdkMediaFormat.cpp | 37 sp<AMessage> mFormat; member 48 mData->mFormat = *((sp<AMessage>*)data); in AMediaFormat_fromMsg() 53 *((sp<AMessage>*)dest) = mData->mFormat; in AMediaFormat_getFormat() 77 sp<AMessage> f = mData->mFormat; in AMediaFormat_toString() 150 return format->mFormat->findInt32(name, out); in AMediaFormat_getInt32() 155 return format->mFormat->findInt64(name, out); in AMediaFormat_getInt64() 160 return format->mFormat->findFloat(name, out); in AMediaFormat_getFloat() 165 return format->mFormat->findSize(name, out); in AMediaFormat_getSize() 171 if (format->mFormat->findBuffer(name, &buf)) { in AMediaFormat_getBuffer() 190 if (mData->mFormat->findString(name, &tmp)) { in AMediaFormat_getString() [all …]
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMix.java | 35 private AudioFormat mFormat; field in AudioMix 45 mFormat = format; in AudioMix() 86 return mFormat; in getFormat() 110 return Objects.hash(mRouteFlags, mRule, mMixType, mFormat); in hashCode() 126 private AudioFormat mFormat = null; field in AudioMix.Builder 177 mFormat = format; in setFormat() 216 if (mFormat == null) { in build() 221 mFormat = new AudioFormat.Builder().setSampleRate(rate).build(); in build() 223 return new AudioMix(mRule, mFormat, mRouteFlags); in build()
|
/frameworks/base/graphics/java/android/graphics/ |
D | YuvImage.java | 41 private int mFormat; field in YuvImage 103 mFormat = format; in YuvImage() 141 return nativeCompressToJpeg(mData, mFormat, rectangle.width(), in compressToJpeg() 158 return mFormat; in getYuvFormat() 184 if (mFormat == ImageFormat.NV21) { in calculateOffsets() 191 if (mFormat == ImageFormat.YUY2) { in calculateOffsets() 217 if (mFormat == ImageFormat.NV21) { in adjustRectangle() 227 if (mFormat == ImageFormat.YUY2) { in adjustRectangle()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.cpp | 45 return mFormat; in getFormat() 56 mFormat.clear(); in clear() 479 if (mFormat == NULL) { in dequeueAccessUnit() 480 mFormat = MakeAVCCodecSpecificData(accessUnit); in dequeueAccessUnit() 529 if (mFormat == NULL) { in dequeueAccessUnitAC3() 530 mFormat = format; in dequeueAccessUnitAC3() 566 if (mFormat == NULL) { in dequeueAccessUnitPCMAudio() 567 mFormat = new MetaData; in dequeueAccessUnitPCMAudio() 568 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in dequeueAccessUnitPCMAudio() 569 mFormat->setInt32(kKeyChannelCount, 2); in dequeueAccessUnitPCMAudio() [all …]
|
D | AnotherPacketSource.cpp | 41 mFormat(NULL), in AnotherPacketSource() 51 CHECK(mFormat == NULL); in setFormat() 60 mFormat = meta; in setFormat() 86 if (mFormat != NULL) { in getFormat() 87 return mFormat; in getFormat() 100 return mFormat = static_cast<MetaData*>(object.get()); in getFormat() 123 mFormat.clear(); in dequeueAccessUnit() 134 mFormat = static_cast<MetaData*>(object.get()); in dequeueAccessUnit() 161 mFormat.clear(); in read() 169 mFormat = static_cast<MetaData*>(object.get()); in read() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | StreamConfiguration.java | 62 mFormat = checkArgumentFormatInternal(format); in StreamConfiguration() 77 return mFormat; in getFormat() 151 return mFormat == other.mFormat && in equals() 164 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight, mInput ? 1 : 0); in hashCode() 167 private final int mFormat; field in StreamConfiguration
|
D | StreamConfigurationDuration.java | 57 mFormat = checkArgumentFormatInternal(format); in StreamConfigurationDuration() 72 return mFormat; in getFormat() 130 return mFormat == other.mFormat && in equals() 143 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight, in hashCode() 147 private final int mFormat; field in StreamConfigurationDuration
|
/frameworks/base/libs/hwui/ |
D | RenderBuffer.h | 36 mFormat(format), mWidth(width), mHeight(height), mAllocated(false) { in RenderBuffer() 58 return mFormat; in getFormat() 82 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, mWidth, mHeight); in allocate() 94 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, width, height); in resize() 120 return (uint32_t) ((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f); in getSize() 181 GLenum mFormat;
|
D | PixelBuffer.h | 76 return mFormat; in getFormat() 151 return mWidth * mHeight * formatSize(mFormat); in getSize() 158 return (y * mWidth + x) * formatSize(mFormat); in getOffset() 203 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) { in PixelBuffer() 206 GLenum mFormat; variable
|
/frameworks/av/media/libnbaio/ |
D | NBAIO.cpp | 57 ret.mFormat = format; in Format_from_SR_C() 70 size_t frameSize = Format_frameSize(mFormat); in writeVia() 107 size_t frameSize = Format_frameSize(mFormat); in readVia() 142 if (Format_isValid(mFormat)) { in negotiate() 144 if (Format_isEqual(offers[i], mFormat)) { in negotiate() 150 counterOffers[0] = mFormat; in negotiate() 162 format.mFormat != AUDIO_FORMAT_INVALID && format.mFrameSize != 0; in Format_isValid() 168 format1.mChannelCount == format2.mChannelCount && format1.mFormat == format2.mFormat && in Format_isEqual()
|
D | AudioStreamInSource.cpp | 43 if (!Format_isValid(mFormat)) { in negotiate() 49 mFormat = Format_from_SR_C(sampleRate, in negotiate() 51 mFrameSize = Format_frameSize(mFormat); in negotiate() 69 if (CC_UNLIKELY(!Format_isValid(mFormat))) { in read()
|
D | AudioStreamOutSink.cpp | 40 if (!Format_isValid(mFormat)) { in negotiate() 46 mFormat = Format_from_SR_C(sampleRate, in negotiate() 48 mFrameSize = Format_frameSize(mFormat); in negotiate() 58 ALOG_ASSERT(Format_isValid(mFormat)); in write()
|
D | MonoPipe.cpp | 159 ns = written * ( 500000000 / Format_sampleRate(mFormat)); in write() 162 ns = written * ( 750000000 / Format_sampleRate(mFormat)); in write() 165 ns = written * (1000000000 / Format_sampleRate(mFormat)); in write() 168 ns = written * (1150000000 / Format_sampleRate(mFormat)); in write() 171 ns = written * (1350000000 / Format_sampleRate(mFormat)); in write() 174 ns = written * (1750000000 / Format_sampleRate(mFormat)); in write() 177 ns = count * (1350000000 / Format_sampleRate(mFormat)); in write()
|
/frameworks/base/media/java/android/media/ |
D | AudioPortConfig.java | 36 private final int mFormat; field in AudioPortConfig 53 mFormat = format; in AudioPortConfig() 83 return mFormat; in format() 99 + ", mFormat:" + mFormat in toString()
|
D | ImageReader.java | 109 mFormat = format; in ImageReader() 175 return mFormat; in getImageFormat() 469 switch (mFormat) { in getNumPlanesFromFormat() 489 String.format("Invalid format specified %d", mFormat)); in getNumPlanesFromFormat() 519 private final int mFormat; field in ImageReader 572 return ImageReader.this.mFormat; in getFormat() 654 mPlanes[i] = nativeCreatePlane(i, ImageReader.this.mFormat); in createSurfacePlanes() 674 ImageReader.this.mFormat); in getBuffer()
|
/frameworks/av/media/libmedia/ |
D | AudioPolicy.cpp | 66 mFormat.sample_rate = (uint32_t)parcel->readInt32(); in readFromParcel() 67 mFormat.channel_mask = (audio_channel_mask_t)parcel->readInt32(); in readFromParcel() 68 mFormat.format = (audio_format_t)parcel->readInt32(); in readFromParcel() 87 parcel->writeInt32(mFormat.sample_rate); in writeToParcel() 88 parcel->writeInt32(mFormat.channel_mask); in writeToParcel() 89 parcel->writeInt32(mFormat.format); in writeToParcel()
|
/frameworks/base/core/java/android/speech/srec/ |
D | WaveHeader.java | 52 private short mFormat; field in WaveHeader 74 mFormat = format; in WaveHeader() 87 return mFormat; in getFormat() 97 mFormat = format; in setFormat() 190 mFormat = readShort(in); in read() 239 writeShort(out, mFormat); in write() 273 mFormat, mNumChannels, mSampleRate, mBitsPerSample, mNumBytes); in toString()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | Frame.java | 36 private FrameFormat mFormat; field in Frame 46 mFormat = format.mutableCopy(); in Frame() 51 mFormat = format.mutableCopy(); in Frame() 58 return mFormat; in getFormat() 172 mFormat = format.mutableCopy(); in setFormat() 195 mFormat = newFormat.mutableCopy(); in reset()
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | LogAbortException.java | 21 private final String mFormat; field in LogAbortException 25 mFormat = format; in LogAbortException() 30 log.error(mFormat, mArgs); in error()
|
/frameworks/av/media/mtp/ |
D | MtpObjectInfo.cpp | 30 mFormat(0), in MtpObjectInfo() 63 if (!packet.getUInt16(mFormat)) return false; in read() 98 mStorageID, mFormat, mProtectionStatus); in print() 100 mCompressedSize, mFormat, mThumbCompressedSize); in print()
|
/frameworks/base/libs/hwui/font/ |
D | CacheTexture.cpp | 112 mTexture(NULL), mTextureId(0), mWidth(width), mHeight(height), mFormat(format), in CacheTexture() 185 mTexture = PixelBuffer::create(mFormat, mWidth, mHeight); in allocateTexture() 194 glTexImage2D(GL_TEXTURE_2D, 0, mFormat, mWidth, mHeight, 0, in allocateTexture() 195 mFormat, GL_UNSIGNED_BYTE, 0); in allocateTexture() 237 if (mFormat != GL_ALPHA) { in fitBitmap() 240 mFormat); in fitBitmap() 246 if (mFormat != GL_RGBA) { in fitBitmap() 248 ALOGD("fitBitmap: texture format %x is inappropriate for colour glyphs", mFormat); in fitBitmap()
|
/frameworks/base/core/java/android/widget/ |
D | Chronometer.java | 67 private String mFormat; field in Chronometer 149 mFormat = format; in setFormat() 159 return mFormat; in getFormat() 233 if (mFormat != null) { in updateText() 242 mFormatter.format(mFormat, mFormatterArgs); in updateText() 246 Log.w(TAG, "Illegal format string: " + mFormat); in updateText()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
D | FrameFetch.java | 33 private FrameFormat mFormat; field in FrameFetch 47 addOutputPort("frame", mFormat == null ? FrameFormat.unspecified() : mFormat); in setupPorts()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | SmsCbHeader.java | 85 private final int mFormat; field in SmsCbHeader 107 mFormat = FORMAT_ETWS_PRIMARY; in SmsCbHeader() 127 mFormat = FORMAT_GSM; in SmsCbHeader() 145 mFormat = FORMAT_UMTS; in SmsCbHeader() 240 return mFormat == FORMAT_ETWS_PRIMARY; in isEtwsPrimaryNotification() 248 return mFormat == FORMAT_UMTS; in isUmtsFormat()
|