Searched defs:count (Results 226 - 250 of 589) sorted by relevance

1234567891011>>

/frameworks/av/drm/mediacas/plugins/clearkey/
H A Decm.h58 // This contains 1 or 2 EcmDescriptors and a count. It contains no
249 // Contains a count and 1 or 2 EcmDescriptors. This is included in the video
254 // Wire size of the count field.
272 // - INTERNAL if the EcmContainer is in a bad state (count != 0, 1, or 2).
274 // - count() is within bounds (1 or 2).
282 // - ERROR_OUT_OF_RANGE if the count contained in the serialized EcmContainer
286 // - count() is within bounds (1 or 2) and.
291 // Sets the |count| of contained EcmDecriptors. Illegal values are silently
293 inline void set_count(size_t count) { argument
294 if (!CountLegal(count)) retur
299 inline size_t count() const { return count_; } function in class:android::clearkeycas::EcmContainer
[all...]
/frameworks/av/include/media/
H A DMediaAnalyticsItem.h109 int32_t count() const;
115 void setRate(Attr, int64_t count, int64_t duration);
123 void addRate(Attr, int64_t count, int64_t duration);
131 bool getRate(Attr, int64_t *count, int64_t *duration, double *rate);
146 int32_t filter(int count, Attr attrs[]);
147 int32_t filterNot(int count, Attr attrs[]);
215 struct { int64_t count, duration; } rate; member in struct:android::MediaAnalyticsItem::Prop::__anon81::__anon82
/frameworks/av/include/media/stagefright/foundation/
H A DAData.h487 static constexpr Flag count = num_types + 1; member in struct:android::AData::flagger
492 static constexpr Flag mask = _Flagged_helper::minMask<Flag>(count); ///< flag mask
550 static constexpr Flag count = num_types + 1; member in struct:android::AData::relaxed_flagger
551 static_assert(std::numeric_limits<Flag>::max() / count > (MaxSize / Align),
573 _Flagged_helper::minMask<Flag>(count * max_size_stored); ///< flag mask
/frameworks/av/media/libaudioclient/
H A DToneGenerator.cpp1170 // Update pcm frame count and end time (current time at the end of this process)
1264 // Pre increment loop count and restart if total count not reached. Stop sequence otherwise
1592 // Description: Generates count samples of a sine wave and accumulates
1597 // count: number of samples to produce.
1605 unsigned int count, unsigned int command) {
1623 if (count == 0) {
1626 long dec = lAmplitude/count;
1628 while (count) {
1629 count
1604 getSamples(short *outBuffer, unsigned int count, unsigned int command) argument
[all...]
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerFirProcess.h181 size_t count,
197 for (size_t i = 0; i < count; ++i) {
198 TC c = TFUNC::interpolatep(coefsP[0], coefsP[count], lerpP);
206 c = TFUNC::interpolaten(coefsN[count], coefsN[0], lerpP);
221 for (size_t i = 0; i < count; ++i) {
222 mac(l, r, TFUNC::interpolatep(coefsP[0], coefsP[count], lerpP), sP);
225 mac(l, r, TFUNC::interpolaten(coefsN[count], coefsN[0], lerpP), sN);
233 for (size_t i = 0; i < count; ++i) {
234 mac(l, TFUNC::interpolatep(coefsP[0], coefsP[count], lerpP), sP);
237 mac(l, TFUNC::interpolaten(coefsN[count], coefs
180 ProcessBase(TO* const out, size_t count, const TC* coefsP, const TC* coefsN, const TI* sP, const TI* sN, TINTERP lerpP, const TO* const volumeLR) argument
251 ProcessL(TO* const out, int count, const TC* coefsP, const TC* coefsN, const TI* sP, const TI* sN, const TO* const volumeLR) argument
297 Process(TO* const out, int count, const TC* coefsP, const TC* coefsN, const TC* coefsP1 __unused, const TC* coefsN1 __unused, const TI* sP, const TI* sN, TINTERP lerpP, const TO* const volumeLR) argument
[all...]
/frameworks/av/media/libaudioprocessing/tests/
H A Dresampler_tests.cpp67 // we should have enough buffer space, so there is no short count.
170 unsigned count = (end - start + stride - 1) / stride; local
171 return accum / count;
/frameworks/av/media/libmedia/
H A DJetPlayer.cpp160 EAS_I32 count; local
205 result = EAS_Render(mEasData, p, pLibConfig->mixBufferSize, &count);
209 p += count * pLibConfig->numChannels;
210 num_output += count * pLibConfig->numChannels * sizeof(EAS_PCM);
/frameworks/av/media/libmediametrics/include/
H A DMediaAnalyticsItem.h109 int32_t count() const;
115 void setRate(Attr, int64_t count, int64_t duration);
123 void addRate(Attr, int64_t count, int64_t duration);
131 bool getRate(Attr, int64_t *count, int64_t *duration, double *rate);
146 int32_t filter(int count, Attr attrs[]);
147 int32_t filterNot(int count, Attr attrs[]);
215 struct { int64_t count, duration; } rate; member in struct:android::MediaAnalyticsItem::Prop::__anon394::__anon395
/frameworks/av/media/libstagefright/
H A DAMRExtractor.cpp103 ssize_t count = source->readAt(offset, &header, 1); local
104 if (count == 0) {
106 } else if (count < 0) {
H A DSurfaceMediaSource.cpp157 ALOGE("Failed to find the advertised buffer count");
184 status_t SurfaceMediaSource::setMaxAcquiredBufferCount(size_t count) { argument
185 ALOGV("setMaxAcquiredBufferCount(%zu)", count);
188 CHECK_GT(count, 1);
189 mMaxAcquiredBufferCount = count;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_MotionEstimationMB.c295 OMX_INT intraSAD, average, count, index, x, y; local
334 for (y = 0, index = count = 0; y < 16; y++, index += srcCurrStep - 16)
336 for(x = 0; x < 16; x++, count++, index++)
338 pTempSrcCurrBuf[count] = pSrcCurrBuf[index];
516 for (count = 0, average = 0; count < 256 ; count++)
518 average = average + pTempSrcCurrBuf[count];
525 for (count = 0; count < 25
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DH264SwDecApi.c99 void H264SwDecMemcpy(void *dest, void *src, u32 count) { argument
100 memcpy(dest, src, count);
103 void H264SwDecMemset(void *ptr, i32 value, u32 count) { argument
104 memset(ptr, value, count);
H A DTestBenchMultipleInstance.c439 void H264SwDecMemcpy(void *dest, void *src, u32 count) argument
441 memcpy(dest, src, count);
449 void H264SwDecMemset(void *ptr, i32 value, u32 count) argument
451 memset(ptr, value, count);
/frameworks/av/media/libstagefright/foundation/include/foundation/
H A DAData.h487 static constexpr Flag count = num_types + 1; member in struct:android::AData::flagger
492 static constexpr Flag mask = _Flagged_helper::minMask<Flag>(count); ///< flag mask
550 static constexpr Flag count = num_types + 1; member in struct:android::AData::relaxed_flagger
551 static_assert(std::numeric_limits<Flag>::max() / count > (MaxSize / Align),
573 _Flagged_helper::minMask<Flag>(count * max_size_stored); ///< flag mask
/frameworks/av/media/libstagefright/include/foundation/
H A DAData.h487 static constexpr Flag count = num_types + 1; member in struct:android::AData::flagger
492 static constexpr Flag mask = _Flagged_helper::minMask<Flag>(count); ///< flag mask
550 static constexpr Flag count = num_types + 1; member in struct:android::AData::relaxed_flagger
551 static_assert(std::numeric_limits<Flag>::max() / count > (MaxSize / Align),
573 _Flagged_helper::minMask<Flag>(count * max_size_stored); ///< flag mask
/frameworks/av/media/mtp/
H A DMtpDataPacket.cpp32 // Reads the exact |count| bytes from |fd| to |buf|.
33 // Returns |count| if it succeed to read the bytes. Otherwise returns -1. If it reaches EOF, the
35 ssize_t readExactBytes(int fd, void* buf, size_t count) { argument
36 if (count > SSIZE_MAX) {
40 while (read_count < count) {
41 int result = read(fd, static_cast<int8_t*>(buf) + read_count, count - read_count);
48 return read_count == count ? count : -1;
122 uint32_t count; local
123 if (!getUInt32(count))
138 uint32_t count; local
154 uint32_t count; local
170 uint32_t count; local
186 uint32_t count; local
202 uint32_t count; local
218 uint32_t count; local
234 uint32_t count; local
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioInputDescriptor.cpp244 uint32_t count = 0; local
250 count++;
253 return count;
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyEffects.cpp102 // EffectVector is existing and we just need to increase ref count
160 uint32_t *count)
172 *count = 0;
179 if (i < *count) {
183 if (effects.size() > *count) {
186 *count = effects.size();
193 uint32_t *count)
205 *count = 0;
212 if (i < *count) {
216 if (effects.size() > *count) {
158 queryDefaultInputEffects(audio_session_t audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument
191 queryDefaultOutputSessionEffects(audio_session_t audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3BufferManager.cpp51 ALOGE("%s: Stream id (%d) with stream set id (%d) total buffer count %zu is invalid",
107 // The max allowed buffer count should be the max of buffer count of each stream inside a stream
137 // Remove the stream info from info map and recalculate the buffer count water mark.
257 ALOGE("%s: bufferCount (%zu) exceeds the max allowed buffer count (%zu) of this stream set",
295 // Update the water mark to be the max hand-out buffer count + 1. An additional buffer is
316 // to prevent total buffer count from growing
353 ALOGV("%s: Stream %d set %d: Buffer count now %zu", __FUNCTION__, streamId, streamSetId,
393 status_t Camera3BufferManager::onBuffersRemoved(int streamId, int streamSetId, size_t count) { argument
412 if (count > totalHandoutCoun
[all...]
/frameworks/av/services/camera/libcameraservice/utils/
H A DTagMonitor.cpp127 if (entry.count > 0) {
129 if (lastEntry.count > 0) {
132 lastEntry.count == entry.count) {
133 // Same type and count, compare values
135 size_t entryBytes = bytesPerValue * lastEntry.count;
156 } else if (lastEntry.count > 0) {
165 entry.count = 0;
215 int type, int count, int indentation) {
228 int lines = count / values_per_lin
214 printData(int fd, const uint8_t *data_ptr, uint32_t tag, int type, int count, int indentation) argument
[all...]
/frameworks/base/cmds/incidentd/src/
H A DSection.cpp125 // The worker thread needs a reference and we can't let the count go to zero
211 int count = 0; local
215 count++;
219 mCommand = (const char**)malloc(sizeof(const char*) * count);
225 for (int i=0; i<count; i++) {
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java225 public int read(byte[] buffer, int offset, int count) throws IOException { argument
228 if (count > mRemaining) count = (int)mRemaining;
229 int res = super.read(buffer, offset, count);
234 return super.read(buffer, offset, count);
243 public long skip(long count) throws IOException { argument
246 if (count > mRemaining) count = mRemaining;
247 long res = super.skip(count);
252 return super.skip(count);
300 write(byte[] buffer, int offset, int count) argument
[all...]
/frameworks/base/core/java/android/os/
H A DMemoryFile.java51 int srcOffset, int destOffset, int count, boolean isUnpinned) throws IOException;
53 int srcOffset, int destOffset, int count, boolean isUnpinned) throws IOException;
194 * @param count number of bytes to read.
198 public int readBytes(byte[] buffer, int srcOffset, int destOffset, int count) argument
203 if (destOffset < 0 || destOffset > buffer.length || count < 0
204 || count > buffer.length - destOffset
206 || count > mLength - srcOffset) {
209 return native_read(mFD, mAddress, buffer, srcOffset, destOffset, count, mAllowPurging);
219 * @param count number of bytes to write.
222 public void writeBytes(byte[] buffer, int srcOffset, int destOffset, int count) argument
50 native_read(FileDescriptor fd, long address, byte[] buffer, int srcOffset, int destOffset, int count, boolean isUnpinned) argument
52 native_write(FileDescriptor fd, long address, byte[] buffer, int srcOffset, int destOffset, int count, boolean isUnpinned) argument
303 read(byte buffer[], int offset, int count) argument
336 write(byte buffer[], int offset, int count) argument
[all...]
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java386 int count;
388 for (int i = 0; i < length; i += count) {
389 count = 1;
393 count = skipQuotedText(inFormat, i, length);
407 int count = 1;
415 count++;
424 count++;
428 return count;
440 int count;
446 for (int i = 0; i < len; i += count) {
533 getDayOfWeekString(LocaleData ld, int day, int count, int kind) argument
544 getMonthString(LocaleData ld, int month, int count, int kind) argument
558 getTimeZoneString(Calendar inDate, int count) argument
570 formatZoneOffset(int offset, int count) argument
589 getYearString(int year, int count) argument
[all...]
/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java71 int count, int after) {
76 int before, int count) {
103 if (count > 0) {
106 if (count == 1) {
107 sp.setSpan(new Visible(sp, this), start, start + count,
70 beforeTextChanged(CharSequence s, int start, int count, int after) argument
75 onTextChanged(CharSequence s, int start, int before, int count) argument

Completed in 3651 milliseconds

1234567891011>>