Searched refs:mFormat (Results 1 - 25 of 149) 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.h78 return mFormat;
139 return mWidth * mHeight * formatSize(mFormat);
146 return (y * mWidth + x) * formatSize(mFormat);
191 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {
201 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/opt/net/wifi/service/java/com/android/server/wifi/
H A DLogcatLog.java126 private final String mFormat; field in class:LogcatLog.RealLogMessage
133 mFormat = format;
148 if (mNextFormatCharPos < mFormat.length()) {
158 if (mNextFormatCharPos < mFormat.length()) {
168 if (mNextFormatCharPos < mFormat.length()) {
178 if (mNextFormatCharPos < mFormat.length()) {
187 if (mNextFormatCharPos < mFormat.length()) {
188 mStringBuilder.append(mFormat, mNextFormatCharPos, mFormat.length());
201 if (mNextFormatCharPos >= mFormat
[all...]
/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 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 DAudioStreamInSource.cpp45 if (!Format_isValid(mFormat)) {
54 mFormat = Format_from_SR_C(sampleRate,
56 mFrameSize = Format_frameSize(mFormat);
77 if (CC_UNLIKELY(!Format_isValid(mFormat))) {
H A DAudioStreamOutSink.cpp42 if (!Format_isValid(mFormat)) {
51 mFormat = Format_from_SR_C(sampleRate,
53 mFrameSize = Format_frameSize(mFormat);
63 ALOG_ASSERT(Format_isValid(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/libaudioclient/
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/libaudioclient/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, -1ll);
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;
99 ALOGD(" mStorageID: %08X mFormat: %04X mProtectionStatus: %d\n",
100 mStorageID, mFormat, mProtectionStatus);
102 mCompressedSize, mFormat, mThumbCompressedSize);
/frameworks/av/media/libmedia/
H A DMediaCodecBuffer.cpp30 mFormat(format),
80 return mFormat;
85 mFormat = format;
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp57 return mFormat;
73 mFormat.clear();
306 if (mFormat == NULL && startOffset > 0) {
635 if (mFormat == NULL) {
636 mFormat = MakeAVCCodecSpecificData(accessUnit);
697 if (mFormat == NULL) {
698 mFormat = format;
755 if (mFormat == NULL) {
756 mFormat = new MetaData;
757 mFormat
[all...]
/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...]

Completed in 512 milliseconds

123456