Home
last modified time | relevance | path

Searched refs:mFormat (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/media/libstagefright/rtsp/
DAPacketSource.cpp428 mFormat(new MetaData), in APacketSource()
444 mFormat->setInt64(kKeyDuration, durationUs); in APacketSource()
446 mFormat->setInt64(kKeyDuration, 60 * 60 * 1000000ll); in APacketSource()
453 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in APacketSource()
473 mFormat->setData( in APacketSource()
481 mFormat->setInt32(kKeyWidth, width); in APacketSource()
482 mFormat->setInt32(kKeyHeight, height); in APacketSource()
485 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_H263); in APacketSource()
493 mFormat->setInt32(kKeyWidth, width); in APacketSource()
494 mFormat->setInt32(kKeyHeight, height); in APacketSource()
[all …]
/frameworks/base/graphics/java/android/graphics/
DYuvImage.java41 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/base/media/libstagefright/mpeg2ts/
DESQueue.cpp41 return mFormat; in getFormat()
52 mFormat.clear(); in clear()
323 if (mFormat == NULL) { in dequeueAccessUnitAAC()
332 mFormat = MakeAACCodecSpecificData( in dequeueAccessUnitAAC()
337 CHECK(mFormat->findInt32(kKeySampleRate, &sampleRate)); in dequeueAccessUnitAAC()
338 CHECK(mFormat->findInt32(kKeyChannelCount, &numChannels)); in dequeueAccessUnitAAC()
548 if (mFormat == NULL) { in dequeueAccessUnitH264()
549 mFormat = MakeAVCCodecSpecificData(accessUnit); in dequeueAccessUnitH264()
602 if (mFormat == NULL) { in dequeueAccessUnitMPEGAudio()
603 mFormat = new MetaData; in dequeueAccessUnitMPEGAudio()
[all …]
DAnotherPacketSource.cpp32 : mFormat(meta), in AnotherPacketSource()
37 CHECK(mFormat == NULL); in setFormat()
38 mFormat = meta; in setFormat()
53 return mFormat; in getFormat()
72 mFormat.clear(); in dequeueAccessUnit()
100 mFormat.clear(); in read()
DESQueue.h59 sp<MetaData> mFormat; member
DAnotherPacketSource.h64 sp<MetaData> mFormat; member
/frameworks/base/core/java/android/speech/srec/
DWaveHeader.java52 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/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DLogAbortException.java21 private final String mFormat; field in LogAbortException
25 mFormat = format; in LogAbortException()
30 log.error(mFormat, mArgs); in error()
/frameworks/base/core/java/android/widget/
DChronometer.java66 private String mFormat; field in Chronometer
145 mFormat = format; in setFormat()
155 return mFormat; in getFormat()
229 if (mFormat != null) { in updateText()
238 mFormatter.format(mFormat, mFormatterArgs); in updateText()
242 Log.w(TAG, "Illegal format string: " + mFormat); in updateText()
DDigitalClock.java49 String mFormat; field in DigitalClock
88 setText(DateFormat.format(mFormat, mCalendar)); in onAttachedToWindow()
113 mFormat = m24; in setFormat()
115 mFormat = m12; in setFormat()
/frameworks/base/media/mtp/
DMtpObjectInfo.cpp30 mFormat(0), in MtpObjectInfo()
63 mFormat = packet.getUInt16(); in read()
96 mStorageID, mFormat, mProtectionStatus); in print()
98 mCompressedSize, mFormat, mThumbCompressedSize); in print()
DMtpServer.h78 MtpObjectFormat mFormat; variable
83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) { in ObjectEdit()
DMtpObjectInfo.h30 MtpObjectFormat mFormat; variable
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/
DM4vH263Encoder.cpp298 mFormat = new MetaData; in initCheck()
299 mFormat->setInt32(kKeyWidth, mVideoWidth); in initCheck()
300 mFormat->setInt32(kKeyHeight, mVideoHeight); in initCheck()
301 mFormat->setInt32(kKeyBitRate, mVideoBitRate); in initCheck()
302 mFormat->setInt32(kKeyFrameRate, mVideoFrameRate); in initCheck()
303 mFormat->setInt32(kKeyColorFormat, mVideoColorFormat); in initCheck()
305 mFormat->setCString(kKeyMIMEType, mime); in initCheck()
306 mFormat->setCString(kKeyDecoderComponent, "M4vH263Encoder"); in initCheck()
373 return mFormat; in getFormat()
/frameworks/base/media/java/android/mtp/
DMtpObjectInfo.java27 private int mFormat; field in MtpObjectInfo
74 return mFormat; in getFormat()
/frameworks/base/media/libstagefright/codecs/avc/enc/
DAVCEncoder.cpp321 mFormat = new MetaData; in initCheck()
322 mFormat->setInt32(kKeyWidth, mVideoWidth); in initCheck()
323 mFormat->setInt32(kKeyHeight, mVideoHeight); in initCheck()
324 mFormat->setInt32(kKeyBitRate, mVideoBitRate); in initCheck()
325 mFormat->setInt32(kKeyFrameRate, mVideoFrameRate); in initCheck()
326 mFormat->setInt32(kKeyColorFormat, mVideoColorFormat); in initCheck()
327 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in initCheck()
328 mFormat->setCString(kKeyDecoderComponent, "AVCEncoder"); in initCheck()
410 return mFormat; in getFormat()
/frameworks/base/core/java/com/android/internal/widget/
DDigitalClock.java51 private String mFormat; field in DigitalClock
231 CharSequence newTime = DateFormat.format(mFormat, mCalendar); in updateTime()
238 mFormat = android.text.format.DateFormat.is24HourFormat(getContext()) in setDateFormat()
240 mAmPm.setShowAmPm(mFormat.equals(M12)); in setDateFormat()
/frameworks/base/media/libmedia/
DAudioRecord.cpp218 mFormat = format; in set()
256 return mFormat; in format()
271 if (audio_is_linear_pcm(mFormat)) { in frameSize()
272 return channelCount()*audio_bytes_per_sample(mFormat); in frameSize()
579 audioBuffer->format = mFormat; in obtainBuffer()
604 mFormat, in getInput_l()
773 result = openRecord_l(cblk->sampleRate, mFormat, mChannelMask, in restoreRecord_l()
DAudioTrack.cpp249 mFormat = (uint32_t)format; in set()
288 return mFormat; in format()
303 if (audio_is_linear_pcm(mFormat)) { in frameSize()
304 return channelCount()*audio_bytes_per_sample(mFormat); in frameSize()
689 mCblk->sampleRate, mFormat, mChannelMask, (audio_policy_output_flags_t)mFlags); in getOutput_l()
939 if (audio_is_linear_pcm(mFormat)) { in obtainBuffer()
942 audioBuffer->format = mFormat; in obtainBuffer()
998 if (mFormat == AUDIO_FORMAT_PCM_8_BIT && !(mFlags & AUDIO_POLICY_OUTPUT_FLAG_DIRECT)) { in write()
1106 if (mFormat == AUDIO_FORMAT_PCM_8_BIT && !(mFlags & AUDIO_POLICY_OUTPUT_FLAG_DIRECT)) { in processAudioBuffer()
1125 if (mFormat == AUDIO_FORMAT_PCM_8_BIT && !(mFlags & AUDIO_POLICY_OUTPUT_FLAG_DIRECT)) { in processAudioBuffer()
[all …]
/frameworks/base/media/jni/soundpool/
DSoundPool.h59 int format() { return mFormat; } in format()
69 …mNumChannels = numChannels; mSampleRate = sampleRate; mFormat = format; mSize = size; mData = data… in init()
80 uint8_t mFormat : 2; variable
/frameworks/base/media/libstagefright/include/
DVPXDecoder.h53 sp<MetaData> mFormat; member
DM4vH263Decoder.h50 sp<MetaData> mFormat; member
/frameworks/base/libs/gui/
DSurfaceComposerClient.cpp526 : mWidth(0), mHeight(0), mFormat(PIXEL_FORMAT_NONE) { in ScreenshotClient()
534 &mWidth, &mHeight, &mFormat, 0, 0, in update()
543 &mWidth, &mHeight, &mFormat, reqWidth, reqHeight, in update()
553 &mWidth, &mHeight, &mFormat, reqWidth, reqHeight, in update()
574 return mFormat; in getFormat()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java146 int mFormat; field in WallpaperService.Engine
528 final boolean formatChanged = mFormat != mSurfaceHolder.getRequestedFormat(); in updateSurface()
541 mFormat = mSurfaceHolder.getRequestedFormat(); in updateSurface()
549 mLayout.format = mFormat; in updateSurface()
642 + mSurfaceHolder + ", " + mFormat in updateSurface()
646 onSurfaceChanged(mSurfaceHolder, mFormat, in updateSurface()
651 c.surfaceChanged(mSurfaceHolder, mFormat, in updateSurface()
/frameworks/base/media/libmediaplayerservice/
DMediaPlayerService.h135 …virtual ssize_t frameSize() const { return ssize_t(mChannelCount * ((mFormat == AUDIO_FORM… in frameSize()
155 uint32_t format() const { return (uint32_t)mFormat; } in format()
173 uint16_t mFormat; variable

123