Searched refs:mFormat (Results 1 - 25 of 130) sorted by relevance

123456

/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DLogAbortException.java21 private final String mFormat; field in class:LogAbortException
25 mFormat = format;
30 log.error(mFormat, mArgs);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DInputConfiguration.java32 private final int mFormat; field in class:InputConfiguration
52 mFormat = format;
79 return mFormat;
102 otherInputConfig.getFormat() == mFormat) {
113 return HashCodeHelpers.hashCode(mWidth, mHeight, mFormat);
126 return String.format("InputConfiguration(w:%d, h:%d, format:%d)", mWidth, mHeight, mFormat);
H A DStreamConfiguration.java62 mFormat = checkArgumentFormatInternal(format);
77 return mFormat;
151 return mFormat == other.mFormat &&
164 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight, mInput ? 1 : 0);
167 private final int mFormat; field in class:StreamConfiguration
H A DStreamConfigurationDuration.java57 mFormat = checkArgumentFormatInternal(format);
72 return mFormat;
130 return mFormat == other.mFormat &&
143 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight,
147 private final int mFormat; field in class:StreamConfigurationDuration
/frameworks/base/media/java/android/media/
H A DAudioPortConfig.java36 private final int mFormat; field in class:AudioPortConfig
53 mFormat = format;
83 return mFormat;
99 + ", mFormat:" + mFormat
/frameworks/base/libs/hwui/
H A DRenderBuffer.h36 mFormat(format), mWidth(width), mHeight(height), mAllocated(false) {
58 return mFormat;
82 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, mWidth, mHeight);
94 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, width, height);
120 return (uint32_t) ((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f);
181 GLenum mFormat; member in struct:android::uirenderer::RenderBuffer
H A DPixelBuffer.h77 return mFormat;
144 return mWidth * mHeight * formatSize(mFormat);
151 return (y * mWidth + x) * formatSize(mFormat);
196 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {
207 GLenum mFormat; member in class:android::uirenderer::PixelBuffer
H A DRenderBufferCache.h82 mBuffer(nullptr), mFormat(format), mWidth(width), mHeight(height) {
86 mBuffer(buffer), mFormat(buffer->getFormat()),
105 GLenum mFormat; member in struct:android::uirenderer::RenderBufferCache::RenderBufferEntry
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DFrameFetch.java33 private FrameFormat mFormat; field in class:FrameFetch
47 addOutputPort("frame", mFormat == null ? FrameFormat.unspecified() : mFormat);
H A DFrameSource.java33 private FrameFormat mFormat; field in class:FrameSource
47 addOutputPort("frame", mFormat);
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java41 private int mFormat; field in class:YuvImage
103 mFormat = format;
141 return nativeCompressToJpeg(mData, mFormat, rectangle.width(),
158 return mFormat;
184 if (mFormat == ImageFormat.NV21) {
191 if (mFormat == ImageFormat.YUY2) {
217 if (mFormat == ImageFormat.NV21) {
227 if (mFormat == ImageFormat.YUY2) {
/frameworks/av/media/ndk/
H A DNdkMediaFormat.cpp37 sp<AMessage> mFormat; member in struct:AMediaFormat
48 mData->mFormat = *((sp<AMessage>*)data);
49 if (mData->mFormat == NULL) {
51 mData->mFormat = new AMessage;
57 *((sp<AMessage>*)dest) = mData->mFormat;
81 sp<AMessage> f = mData->mFormat;
154 return format->mFormat->findInt32(name, out);
159 return format->mFormat->findInt64(name, out);
164 return format->mFormat->findFloat(name, out);
169 return format->mFormat
[all...]
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp43 if (!Format_isValid(mFormat)) {
49 mFormat = Format_from_SR_C(sampleRate,
51 mFrameSize = Format_frameSize(mFormat);
69 if (CC_UNLIKELY(!Format_isValid(mFormat))) {
H A DNBAIO.cpp57 ret.mFormat = format;
70 size_t frameSize = Format_frameSize(mFormat);
106 size_t frameSize = Format_frameSize(mFormat);
135 // Default implementation that only accepts my mFormat
141 if (Format_isValid(mFormat)) {
143 if (Format_isEqual(offers[i], mFormat)) {
149 counterOffers[0] = mFormat;
161 format.mFormat != AUDIO_FORMAT_INVALID && format.mFrameSize != 0;
167 format1.mChannelCount == format2.mChannelCount && format1.mFormat == format2.mFormat
[all...]
H A DAudioStreamOutSink.cpp40 if (!Format_isValid(mFormat)) {
46 mFormat = Format_from_SR_C(sampleRate,
48 mFrameSize = Format_frameSize(mFormat);
58 ALOG_ASSERT(Format_isValid(mFormat));
H A DMonoPipe.cpp109 ns = written * ( 500000000 / Format_sampleRate(mFormat));
112 ns = written * ( 750000000 / Format_sampleRate(mFormat));
115 ns = written * (1000000000 / Format_sampleRate(mFormat));
118 ns = written * (1150000000 / Format_sampleRate(mFormat));
121 ns = written * (1350000000 / Format_sampleRate(mFormat));
124 ns = written * (1750000000 / Format_sampleRate(mFormat));
127 ns = count * (1350000000 / Format_sampleRate(mFormat));
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioMix.java37 private AudioFormat mFormat; field in class:AudioMix
55 mFormat = format;
143 return mFormat;
167 return Objects.hash(mRouteFlags, mRule, mMixType, mFormat);
183 private AudioFormat mFormat = null; field in class:AudioMix.Builder
267 mFormat = format;
338 if (mFormat == null) {
344 mFormat = new AudioFormat.Builder().setSampleRate(rate).build();
371 return new AudioMix(mRule, mFormat, mRouteFlags, mCallbackFlags, mDeviceSystemType,
/frameworks/av/media/libmedia/
H A DAudioPolicy.cpp66 mFormat.sample_rate = (uint32_t)parcel->readInt32();
67 mFormat.channel_mask = (audio_channel_mask_t)parcel->readInt32();
68 mFormat.format = (audio_format_t)parcel->readInt32();
89 parcel->writeInt32(mFormat.sample_rate);
90 parcel->writeInt32(mFormat.channel_mask);
91 parcel->writeInt32(mFormat.format);
/frameworks/av/include/media/
H A DAudioIoDescriptor.h37 mSamplingRate(0), mFormat(AUDIO_FORMAT_DEFAULT), mChannelMask(AUDIO_CHANNEL_NONE),
62 audio_format_t mFormat; member in class:android::AudioIoDescriptor
/frameworks/av/media/libstagefright/rtsp/
H A DAPacketSource.cpp411 mFormat(new MetaData) {
419 mFormat->setInt64(kKeyDuration, durationUs);
421 mFormat->setInt64(kKeyDuration, 60 * 60 * 1000000ll);
426 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC);
446 mFormat->setData(
454 mFormat->setInt32(kKeyWidth, width);
455 mFormat->setInt32(kKeyHeight, height);
458 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_H263);
466 mFormat->setInt32(kKeyWidth, width);
467 mFormat
[all...]
/frameworks/av/media/mtp/
H A DMtpObjectInfo.cpp30 mFormat(0),
63 if (!packet.getUInt16(mFormat)) return false;
97 ALOGD(" mStorageID: %08X mFormat: %04X mProtectionStatus: %d\n",
98 mStorageID, mFormat, mProtectionStatus);
100 mCompressedSize, mFormat, mThumbCompressedSize);
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
H A DDepthImage.java20 private final String mFormat; field in class:DepthImage
33 mFormat = decode.getFormat();
53 return mFormat;
/frameworks/av/services/audioflinger/
H A DFastMixer.cpp62 mFormat(Format_Invalid),
152 NBAIO_Format previousFormat = mFormat;
157 mFormat = Format_Invalid;
162 mFormat = mOutputSink->format();
163 mSampleRate = Format_sampleRate(mFormat);
164 mSinkChannelCount = Format_channelCount(mFormat);
174 if ((!Format_isEqual(mFormat, previousFormat)) || (frameCount != previous->mFrameCount)) {
185 mMixerBufferFormat = mFormat.mFormat == AUDIO_FORMAT_PCM_16_BIT ?
196 * audio_bytes_per_sample(mFormat
[all...]
H A DFastCapture.cpp36 mReadBuffer(NULL), mReadBufferState(-1), mFormat(Format_Invalid), mSampleRate(0),
97 NBAIO_Format previousFormat = mFormat;
102 mFormat = Format_Invalid;
105 mFormat = mInputSource->format();
106 mSampleRate = Format_sampleRate(mFormat);
108 unsigned channelCount = Format_channelCount(mFormat);
125 ALOG_ASSERT(Format_isEqual(mFormat, mPipeSink->format()));
128 if ((!Format_isEqual(mFormat, previousFormat)) || (frameCount != previous->mFrameCount)) {
136 size_t bufferSize = frameCount * Format_frameSize(mFormat);
191 memset(mReadBuffer, 0, frameCount * Format_frameSize(mFormat));
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp46 return mFormat;
57 mFormat.clear();
485 if (mFormat == NULL) {
486 mFormat = MakeAVCCodecSpecificData(accessUnit);
540 if (mFormat == NULL) {
541 mFormat = format;
590 if (mFormat == NULL) {
591 mFormat = new MetaData;
592 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW);
593 mFormat
[all...]

Completed in 349 milliseconds

123456