Searched defs:size (Results 251 - 275 of 850) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvop.cpp309 PV_STATUS EncodeVopNotCoded(VideoEncData *video, UChar *bstream, Int *size, ULong modTime) argument
319 stream->bufferSize = *size;
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_framedecoder.cpp636 uint32 size; local
638 size = (uint32) sizeof(tmp3dec_file);
639 return (size);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DEvaluationTestBench.c82 /* check size of the input file -> length of the stream in bytes */
140 /* picture size in pixels */
301 void* H264SwDecMalloc(u32 size, u32 num) argument
303 if (size > UINT32_MAX / num) {
306 return malloc(size * num);
/frameworks/av/media/libstagefright/foundation/
H A DABitReader.cpp23 ABitReader::ABitReader(const uint8_t *data, size_t size) argument
25 mSize(size),
135 NALBitReader::NALBitReader(const uint8_t *data, size_t size) argument
136 : ABitReader(data, size),
141 // check against raw size and reservoir bits first
149 size_t size = mSize; local
152 while (size > 0 && numBitsRemaining > 0) {
166 --size;
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp89 ssize_t MediaHTTP::readAt(off64_t offset, void *data, size_t size) { argument
97 while (numBytesRead < size) {
98 size_t copy = size - numBytesRead;
125 status_t MediaHTTP::getSize(off64_t *size) { argument
130 // Caching the returned size so that it stays valid even after a
138 *size = mCachedSize;
140 return *size < 0 ? *size : static_cast<status_t>(OK);
/frameworks/av/media/libstagefright/httplive/
H A DHTTPDownloader.cpp71 * | `url` file |<--------- buffer size --------->|<--- `block_size` -->| | |
83 uint32_t block_size, /* download block size */
90 off64_t size; local
126 status_t getSizeErr = mDataSource->getSize(&size);
133 size = 65536;
136 sp<ABuffer> buffer = *out != NULL ? *out : new ABuffer(size);
143 if (block_size > 0 && (range_length == -1 || (int64_t)(buffer->size() + block_size) < range_length)) {
144 range_length = buffer->size() + block_size;
147 // Only resize when we don't know the size.
148 size_t bufferRemaining = buffer->capacity() - buffer->size();
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMXMaster.cpp119 "components", err, mPluginByComponentName.size());
192 size_t size,
196 size_t numComponents = mPluginByComponentName.size();
204 CHECK(size >= 1 + name8.size());
190 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument
/frameworks/av/media/libstagefright/rtsp/
H A DAAVCAssembler.cpp81 size_t size = buffer->size(); local
83 if (size < 1 || (data[0] & 0x80)) {
127 ALOGV("addSingleNALUnit of size %zu", buffer->size());
129 hexdump(buffer->data(), buffer->size());
145 size_t size = buffer->size(); local
147 if (size < 3) {
153 --size;
186 size_t size = buffer->size(); local
233 size_t size = buffer->size(); local
[all...]
/frameworks/av/media/libstagefright/tests/
H A DMediaCodecListOverrides_test.cpp75 EXPECT_LT(0u, results.size());
76 for (size_t i = 0; i < results.size(); ++i) {
79 EXPECT_EQ(1u, settings.size());
144 long size = ftell(f); local
147 char *buf = (char *)malloc(size);
148 EXPECT_EQ((size_t)1, fread(buf, size, 1, f));
149 overrides.setTo(buf, size);
/frameworks/av/media/mtp/
H A DMtpServer.h81 ObjectEdit(MtpObjectHandle handle, const char* path, uint64_t size, argument
83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) {
98 inline bool hasStorage() { return mStorages.size() > 0; }
115 uint64_t size, MtpObjectFormat format, int fd);
/frameworks/base/cmds/idmap/
H A Dcreate.cpp58 int write_idmap(int fd, const uint32_t *data, size_t size) argument
63 size_t bytesLeft = size;
65 ssize_t w = TEMP_FAILURE_RETRY(write(fd, data + size - bytesLeft, bytesLeft));
153 uint32_t **data, size_t *size)
167 data, size);
182 size_t size; local
184 if (create_idmap(target_apk_path, overlay_apk_path, &data, &size) == -1) {
188 if (write_idmap(fd, data, size) == -1) {
152 create_idmap(const char *target_apk_path, const char *overlay_apk_path, uint32_t **data, size_t *size) argument
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp137 size_t size = 0; local
157 if (static_cast<size_t>(activeConfig) >= configs.size()) {
158 fprintf(stderr, "Active config %d not inside configs (size %zu)\n",
159 activeConfig, configs.size());
173 size = screenshot.getSize();
183 write(fd, data->data(), data->size());
/frameworks/base/core/java/android/content/
H A DContentValues.java39 * Creates an empty set of values using the default initial size
42 // Choosing a default size of 8 based on analysis of typical
48 * Creates an empty set of values using the given initial size
50 * @param size the initial size of the set of values
52 public ContentValues(int size) { argument
53 mValues = new HashMap<String, Object>(size, 1.0f);
202 public int size() { method in class:ContentValues
203 return mValues.size();
471 public ContentValues[] newArray(int size) {
[all...]
/frameworks/base/core/java/android/database/
H A DMatrixCursor.java117 * @throws IllegalArgumentException if {@code columnValues.size() !=
138 "columnValues.size() > columnNames.length");
146 "columnValues.size() < columnNames.length");
155 int size = columnValues.size();
156 if (size != columnCount) {
158 + columnCount + ", columnValues.size() = " + size);
163 for (int i = 0; i < size; i++) {
169 private void ensureCapacity(int size) { argument
[all...]
/frameworks/base/core/java/android/net/nsd/
H A DDnsSdTxtRecord.java158 /* Gets the size in bytes */
159 public int size() { method in class:DnsSdTxtRecord
321 public DnsSdTxtRecord[] newArray(int size) {
322 return new DnsSdTxtRecord[size];
/frameworks/base/core/java/android/os/storage/
H A DDiskInfo.java53 public long size; field in class:DiskInfo
67 size = parcel.readLong();
142 pw.printPair("size", size);
183 public DiskInfo[] newArray(int size) {
184 return new DiskInfo[size];
197 parcel.writeLong(size);
/frameworks/base/core/java/android/text/
H A DPackedIntVector.java64 * (row &lt; 0 || row >= size()) or the column is out of range
70 if (((row | column) < 0) || (row >= size()) || (column >= columns)) {
95 * (row &lt; 0 || row >= size()) or the column is out of range
99 if (((row | column) < 0) || (row >= size()) || (column >= mColumns)) {
142 * This may be == size(), which case there is no effect.
146 * (startRow &lt; 0 || startRow > size()) or the column
150 if (((startRow | column) < 0) || (startRow > size()) ||
167 * This may be == size(), which case the new row is added
173 * (row &lt; 0 || row > size()) or if the length of the
177 if ((row < 0) || (row > size())) {
236 public int size() { method in class:PackedIntVector
[all...]
/frameworks/base/core/java/android/text/style/
H A DTextAppearanceSpan.java29 * Sets the text color, size, style, and typeface to match a TextAppearance
110 * Makes text be drawn with the specified typeface, size, style,
113 public TextAppearanceSpan(String family, int style, int size, argument
117 mTextSize = size;
199 * Returns the text size specified by this span, or <code>-1</code>
/frameworks/base/core/java/android/util/
H A DLongSparseArray.java43 * need to be performed at any time the array needs to be grown or the the map size or
217 public int size() { method in class:LongSparseArray
226 * Given an index in the range <code>0...size()-1</code>, returns
232 * smallest key and <code>keyAt(size()-1)</code> will return the largest
244 * Given an index in the range <code>0...size()-1</code>, returns
251 * smallest key and <code>valueAt(size()-1)</code> will return the value
264 * Given an index in the range <code>0...size()-1</code>, sets a new
352 if (size() <= 0) {
H A DSparseArray.java43 * need to be performed at any time the array needs to be grown or the the map size or
164 * <p>For indices outside of the range <code>0...size()-1</code>,
178 * @param size Number of mappings to remove
180 * <p>For indices outside of the range <code>0...size()-1</code>,
183 public void removeAtRange(int index, int size) { argument
184 final int end = Math.min(mSize, index + size);
254 public int size() { method in class:SparseArray
263 * Given an index in the range <code>0...size()-1</code>, returns
269 * smallest key and <code>keyAt(size()-1)</code> will return the largest
272 * <p>For indices outside of the range <code>0...size()
[all...]
H A DSparseBooleanArray.java150 public int size() { method in class:SparseBooleanArray
155 * Given an index in the range <code>0...size()-1</code>, returns
161 * smallest key and <code>keyAt(size()-1)</code> will return the largest
169 * Given an index in the range <code>0...size()-1</code>, returns
176 * smallest key and <code>valueAt(size()-1)</code> will return the value
282 if (size() <= 0) {
/frameworks/base/core/java/com/android/internal/midi/
H A DEventScheduler.java58 int size() { method in class:EventScheduler.FastEventQueue
124 if (mEventPool != null && (mEventPool.size() > 1)) {
140 } else if (mEventPool.size() < mMaxPoolSize) {
174 if ((list.size() == 1)) {
/frameworks/base/core/java/com/android/internal/util/
H A DProgressReporter.java160 public int[] startSegment(int size) { argument
163 mSegmentRange = new int[] { mProgress, (size * mSegmentRange[1] / 100) };
/frameworks/base/core/java/com/android/server/backup/
H A DSystemBackupAgent.java137 public void onRestoreFile(ParcelFileDescriptor data, long size, argument
161 FullBackup.restoreFile(data, size, type, mode, mtime, outFile);
/frameworks/base/core/jni/android/graphics/
H A DBitmap.h114 size_t size; member in struct:android::Bitmap::__anon841::__anon843

Completed in 308 milliseconds

<<11121314151617181920>>