Searched refs:count (Results 1 - 25 of 127) sorted by path

123456

/device/asus/flo/camera/QCamera2/HAL/
H A DQCamera2HWI.cpp1253 // Get buffer count for the particular stream type
4038 uint32_t count = 0; local
4043 count = 20;
4044 rc = mParameters.getExifDateTime(dateTime, count);
4048 count,
4072 count = 0;
4073 rc = mParameters.getExifGpsProcessingMethod(gpsProcessingMethod, count);
4077 count,
H A DQCameraMem.cpp234 * @count : number of buffers to be allocated
242 int QCameraMemory::alloc(int count, int size, int heap_id) argument
245 if (count > MM_CAMERA_MAX_NUM_FRAMES) {
246 ALOGE("Buffer count %d out of bound. Max is %d", count, MM_CAMERA_MAX_NUM_FRAMES);
254 for (int i = 0; i < count; i ++) {
433 * @count : number of buffers to be allocated
440 int QCameraHeapMemory::allocate(int count, int size) argument
443 int rc = alloc(count, size, heap_id_mask);
447 for (int i = 0; i < count;
616 allocate(int count, int size) argument
799 allocate(int count, int size) argument
1025 allocate(int count, int ) argument
[all...]
H A DQCameraMem.h55 virtual int allocate(int count, int size) = 0;
77 int alloc(int count, int size, int heap_id);
95 virtual int allocate(int count, int size);
114 virtual int allocate(int count, int size);
134 virtual int allocate(int count, int size);
155 virtual int allocate(int count, int size);
H A DQCameraParameters.cpp678 int count = 0; local
684 if (count > 0) {
688 count++;
773 int count = 0; local
779 if (count > 0) {
783 count++;
5006 * DESCRIPTION: get ZSL backlook count setting
5010 * RETURN : ZSL backlook count value
5028 * RETURN : ZSL backlook count value
5227 * @count
5233 getExifDateTime(char *dateTime, uint32_t &count) argument
5352 getExifGpsProcessingMethod(char *gpsProcessingMethod, uint32_t &count) argument
[all...]
H A DQCameraParameters.h386 int32_t getExifDateTime(char *dateTime, uint32_t &count);
389 int32_t getExifGpsProcessingMethod(char *gpsProcessingMethod, uint32_t &count);
H A DQCameraPostProc.cpp1468 if (m_Entries[i].tag_entry.count > 1 &&
1485 if (m_Entries[i].tag_entry.count > 1 &&
1494 if (m_Entries[i].tag_entry.count > 1 &&
1503 if (m_Entries[i].tag_entry.count > 1 &&
1520 if (m_Entries[i].tag_entry.count > 1 &&
1529 if (m_Entries[i].tag_entry.count > 1 &&
1548 * @count : number of data in uint of its type
1557 uint32_t count,
1568 m_Entries[m_nNumEntries].tag_entry.count = count;
1555 addEntry(exif_tag_id_t tagid, exif_tag_type_t type, uint32_t count, void *data) argument
[all...]
H A DQCameraPostProc.h87 uint32_t count,
/device/asus/flo/camera/QCamera2/HAL3/
H A DQCamera3Channel.cpp1371 * @count : lenght of the dateTime string
1377 int32_t getExifDateTime(char *dateTime, uint32_t &count) argument
1390 count = 20;
1443 * @count : lenght of the string
1450 uint32_t &count, char* value)
1454 count = EXIF_ASCII_PREFIX_SIZE;
1456 count += strlen(value);
1457 gpsProcessingMethod[count++] = '\0'; // increase 1 for the last NULL char
1626 uint32_t count = 0; local
1631 count
1449 getExifGpsProcessingMethod(char *gpsProcessingMethod, uint32_t &count, char* value) argument
[all...]
H A DQCamera3HWI.cpp3237 int len = jpeg_settings.find(ANDROID_JPEG_GPS_PROCESSING_METHOD).count;
H A DQCamera3Mem.cpp254 * @count : number of buffers to be allocated
262 int QCamera3HeapMemory::alloc(int count, int size, int heap_id) argument
265 if (count > MM_CAMERA_MAX_NUM_FRAMES) {
266 ALOGE("Buffer count %d out of bound. Max is %d", count, MM_CAMERA_MAX_NUM_FRAMES);
274 for (int i = 0; i < count; i ++) {
422 * @count : number of buffers to be allocated
430 int QCamera3HeapMemory::allocate(int count, int size, bool queueAll) argument
433 int rc = alloc(count, size, heap_id_mask);
437 for (int i = 0; i < count;
[all...]
H A DQCamera3Mem.h88 int allocate(int count, int size, bool queueAll);
96 int alloc(int count, int size, int heap_id);
H A DQCamera3PostProc.cpp1201 if (m_Entries[i].tag_entry.count > 1 &&
1218 if (m_Entries[i].tag_entry.count > 1 &&
1227 if (m_Entries[i].tag_entry.count > 1 &&
1236 if (m_Entries[i].tag_entry.count > 1 &&
1253 if (m_Entries[i].tag_entry.count > 1 &&
1262 if (m_Entries[i].tag_entry.count > 1 &&
1284 * @count : number of data in uint of its type
1293 uint32_t count,
1304 m_Entries[m_nNumEntries].tag_entry.count = count;
1291 addEntry(exif_tag_id_t tagid, exif_tag_type_t type, uint32_t count, void *data) argument
[all...]
H A DQCamera3PostProc.h83 uint32_t count,
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera_stream.c225 /* for every CB, add ref count */
236 /* update buf ref count */
238 /* need to add into super buf since bundled, add ref count */
303 /* if >0, reduce count by 1 every time we called CB until reaches 0
304 * when count reach 0, reset the buf_cb to have no CB */
1211 bufreq.count = buf_num;
1533 * add buf reference count */
1563 bufreq.count = 0;
1572 /* reset buf reference count */
2508 CDBG("%s: Error Trying to free second time?(idx=%d) count
[all...]
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/inc/
H A Dmm_jpeg.h71 int count; member in struct:__anon254
119 /* job history count to generate unique id */
194 exif_tag_type_t type, uint32_t count, void *data);
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/src/
H A Dmm_jpeg.c136 q->count = 0;
152 #define cirq_empty(q) (q->count == 0)
166 #define cirq_full(q) (q->count == MM_JPEG_CIRQ_SIZE)
189 q->count++; \
216 q->count--; \
1104 CDBG("%s:%d] Set exif tags count %d", __func__, __LINE__,
1763 /* increse client count */
2158 CDBG("%s:%d] count %d ", __func__, __LINE__, p_session->ebd_count);
2175 CDBG("%s:%d] count %d ", __func__, __LINE__, p_session->fbd_count);
H A Dmm_jpeg_exif.c47 * @count : number of data in uint of its type
59 exif_tag_type_t type, uint32_t count, void *data)
71 p_info_data[numOfEntries].tag_entry.count = count;
75 if (count > 1) {
76 uint8_t *values = (uint8_t *)malloc(count);
81 memcpy(values, data, count);
91 str = (char *)malloc(count + 1);
96 memset(str, 0, count + 1);
97 memcpy(str, data, count);
58 addExifEntry(QOMX_EXIF_INFO *p_exif_info, exif_tag_id_t tagid, exif_tag_type_t type, uint32_t count, void *data) argument
[all...]
/device/asus/flo/camera/
H A DQCamera_Intf.h753 uint32_t count; member in struct:__anon315
/device/asus/flo/camera/mm-image-codec/qexif/
H A Dqexif.h93 /* Data count
95 * the type is EXIF_BYTE and the count is 1, that means the actual data
97 * and the count is more than one, the actual data is contained in an
102 uint32_t count; member in struct:__anon375
106 * the right field to use depending on the data type and the count.
111 char *_ascii; // EXIF_ASCII (count indicates string length)
112 uint8_t *_bytes; // EXIF_BYTE (count > 1)
113 uint8_t _byte; // EXIF_BYTE (count = 1)
114 uint16_t *_shorts; // EXIF_SHORT (count > 1)
115 uint16_t _short; // EXIF_SHORT (count
[all...]
/device/asus/flo/charger_touch/
H A Dcharger_touch.c38 int count; local
44 count = read(fd, buf, size);
/device/asus/fugu/dumpstate/
H A Ddumpstate.c56 int count = 0; local
68 count += 4;
69 if (count > 72) {
71 count = 0;
86 count = left;
87 while (count < 3) {
88 buffer[count++] = 0;
/device/asus/fugu/power/
H A Dpower.c66 ssize_t count; local
75 if ((count = read(fd, s, (num_bytes - 1))) < 0) {
79 if ((count >= 1) && (s[count-1] == '\n')) {
80 s[count-1] = '\0';
82 s[count] = '\0';
89 return count;
/device/generic/goldfish/camera/
H A DEmulatedFakeCamera2.cpp838 for (size_t i = 0; i < streams.count; i++) {
867 ALOGE("%s: error reading frame count tag: %s (%d)",
960 for (size_t i = 0; i < reprocessStreams.count; i++) {
989 for (size_t i = 0; i < streams.count; i++) {
1016 ALOGE("%s: error reading frame count tag: %s (%d)",
1285 ALOGE("%s: error reading frame count tag: %s (%d)",
2070 #define ADD_OR_SIZE( tag, data, count ) \
2072 tag, data, count) ) != OK ) return ret
2376 #define ADD_OR_SIZE( tag, data, count ) \
2378 tag, data, count) ) !
[all...]
H A DEmulatedFakeCamera3.cpp1319 /*count*/1);
1337 if (e.count == 0) {
1344 if (e.count == 0) {
1390 if (e.count == 0) {
1411 if (e.count == 0) {
1419 if (e.count != 0) {
1426 } else if (e.count > 0) {
1429 e.count);
1433 if (e.count != 0) {
1436 if (e.count
[all...]
/device/generic/goldfish/gps/
H A Dgps_qemu.c66 int count; member in struct:__anon465
73 int count = 0; local
100 if (count < MAX_NMEA_TOKENS) {
101 t->tokens[count].p = p;
102 t->tokens[count].end = q;
103 count += 1;
112 t->count = count;
113 return count;
122 if (index < 0 || index >= t->count) {
[all...]

Completed in 442 milliseconds

123456