/hardware/intel/common/omx-components/videocodec/libvpx_internal/libwebm/ |
D | mkvparser.cpp | 27 long long mkvparser::ReadUInt(IMkvReader* pReader, long long pos, long& len) in ReadUInt() argument 30 assert(pos >= 0); in ReadUInt() 47 status = pReader->Read(pos, 1, &b); in ReadUInt() 71 ++pos; in ReadUInt() 75 status = pReader->Read(pos, 1, &b); in ReadUInt() 92 ++pos; in ReadUInt() 100 long long pos, in GetUIntLength() argument 104 assert(pos >= 0); in GetUIntLength() 114 if (pos >= available) in GetUIntLength() 115 return pos; //too few bytes available in GetUIntLength() [all …]
|
D | mkvparser.hpp | 25 virtual int Read(long long pos, long len, unsigned char* buf) = 0; 33 long long UnserializeUInt(IMkvReader*, long long pos, long long size); 35 long UnserializeFloat(IMkvReader*, long long pos, long long size, double&); 36 long UnserializeInt(IMkvReader*, long long pos, long len, long long& result); 40 long long pos, 46 long long& pos, //consume id and size fields 105 long long pos; //absolute offset member 549 long long pos; member 582 long long pos, //payload 735 long long& pos, [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/ |
D | mkvparser.cpp | 32 long long mkvparser::ReadUInt(IMkvReader* pReader, long long pos, long& len) in ReadUInt() argument 35 assert(pos >= 0); in ReadUInt() 52 status = pReader->Read(pos, 1, &b); in ReadUInt() 76 ++pos; in ReadUInt() 80 status = pReader->Read(pos, 1, &b); in ReadUInt() 97 ++pos; in ReadUInt() 105 long long pos, in GetUIntLength() argument 109 assert(pos >= 0); in GetUIntLength() 119 if (pos >= available) in GetUIntLength() 120 return pos; //too few bytes available in GetUIntLength() [all …]
|
D | mkvparser.hpp | 25 virtual int Read(long long pos, long len, unsigned char* buf) = 0; 33 long long UnserializeUInt(IMkvReader*, long long pos, long long size); 35 long UnserializeFloat(IMkvReader*, long long pos, long long size, double&); 36 long UnserializeInt(IMkvReader*, long long pos, long len, long long& result); 40 long long pos, 46 long long& pos, //consume id and size fields 105 long long pos; //absolute offset member 580 long Parse(IMkvReader*, long long pos, long long size); 610 long Parse(IMkvReader*, long long pos, long long size); 613 long ParseDisplay(IMkvReader*, long long pos, long long size); [all …]
|
/hardware/bsp/intel/peripheral/libmraa/src/x86/ |
D | intel_edison_fab_c.c | 811 int pos = 0; in mraa_intel_edison_miniboard() local 812 strncpy(b->pins[pos].name, "J17-1", 8); in mraa_intel_edison_miniboard() 813 b->pins[pos].capabilites = (mraa_pincapabilities_t){ 1, 1, 1, 0, 0, 0, 0 }; in mraa_intel_edison_miniboard() 814 b->pins[pos].gpio.pinmap = 182; in mraa_intel_edison_miniboard() 815 b->pins[pos].gpio.mux_total = 0; in mraa_intel_edison_miniboard() 816 b->pins[pos].pwm.pinmap = 2; in mraa_intel_edison_miniboard() 817 b->pins[pos].pwm.parent_id = 0; in mraa_intel_edison_miniboard() 818 b->pins[pos].pwm.mux_total = 0; in mraa_intel_edison_miniboard() 819 pos++; in mraa_intel_edison_miniboard() 821 strncpy(b->pins[pos].name, "J17-2", 8); in mraa_intel_edison_miniboard() [all …]
|
/hardware/qcom/camera/QCamera2/util/ |
D | QCameraQueue.cpp | 227 struct cam_list *pos = NULL; in peek() local 232 pos = head->next; in peek() 233 if (pos != head) { in peek() 234 node = member_of(pos, camera_q_node, list); in peek() 262 struct cam_list *pos = NULL; in dequeue() local 268 pos = head->next; in dequeue() 270 pos = head->prev; in dequeue() 272 if (pos != head) { in dequeue() 273 node = member_of(pos, camera_q_node, list); in dequeue() 302 struct cam_list *pos = NULL; in dequeue() local [all …]
|
D | QCameraBufferMaps.cpp | 173 uint32_t pos = mBufMapList.length++; in enqueue() local 174 mBufMapList.buf_maps[pos].type = pType; in enqueue() 175 mBufMapList.buf_maps[pos].stream_id = pStreamId; in enqueue() 176 mBufMapList.buf_maps[pos].frame_idx = pFrameIndex; in enqueue() 177 mBufMapList.buf_maps[pos].plane_idx = pPlaneIndex; in enqueue() 178 mBufMapList.buf_maps[pos].cookie = pCookie; in enqueue() 179 mBufMapList.buf_maps[pos].fd = pFd; in enqueue() 180 mBufMapList.buf_maps[pos].size = pSize; in enqueue()
|
D | QCameraFlash.cpp | 77 for (int pos = 0; pos < MM_CAMERA_MAX_NUM_SENSORS; pos++) { in QCameraFlash() local 78 m_flashFds[pos] = -1; in QCameraFlash() 93 for (int pos = 0; pos < MM_CAMERA_MAX_NUM_SENSORS; pos++) { in ~QCameraFlash() local 94 if (m_flashFds[pos] >= 0) in ~QCameraFlash() 96 setFlashMode(pos, false); in ~QCameraFlash() 97 close(m_flashFds[pos]); in ~QCameraFlash() 98 m_flashFds[pos] = -1; in ~QCameraFlash()
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
D | lpd8806.cxx | 70 int i, j, pos, dir; in scanner() local 72 pos = 0; in scanner() 80 sensor->setPixelColor(pos - 2, r/4, g/4, b/4); in scanner() 81 sensor->setPixelColor(pos - 1, r/2, g/2, b/2); in scanner() 82 sensor->setPixelColor(pos, r, g, b); in scanner() 83 sensor->setPixelColor(pos + 1, r/2, g/2, b/2); in scanner() 84 sensor->setPixelColor(pos + 2, r/4, g/4, b/4); in scanner() 92 sensor->setPixelColor(pos+j, 0,0,0); in scanner() 95 pos += dir; in scanner() 96 if(pos < 0) { in scanner() [all …]
|
D | hmc5883l.cxx | 35 int16_t *pos; in main() local 42 pos = compass->coordinates(); in main() 43 fprintf(stdout, "coor: %5d %5d %5d ", pos[0], pos[1], pos[2]); in main()
|
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_queue.c | 69 struct cam_list *pos = NULL; in mm_jpeg_queue_enq_head() local 81 pos = head->next; in mm_jpeg_queue_enq_head() 84 cam_list_insert_before_node(&node->list, pos); in mm_jpeg_queue_enq_head() 96 struct cam_list *pos = NULL; in mm_jpeg_queue_deq() local 102 pos = head->next; in mm_jpeg_queue_deq() 103 if (pos != head) { in mm_jpeg_queue_deq() 104 node = member_of(pos, mm_jpeg_q_node_t, list); in mm_jpeg_queue_deq() 141 struct cam_list *pos = NULL; in mm_jpeg_queue_flush() local 145 pos = head->next; in mm_jpeg_queue_flush() 147 while(pos != head) { in mm_jpeg_queue_flush() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | hevc_utils.cpp | 137 uint32 pos = 0; in isNewFrame() local 145 coef2 = buffer[pos++]; in isNewFrame() 146 coef3 = buffer[pos++]; in isNewFrame() 149 if (pos >= buffer_length) { in isNewFrame() 156 coef3 = buffer[pos++]; in isNewFrame() 165 nal_len |= buffer[pos++]<<(size_of_nal_length_field<<3); in isNewFrame() 179 if (pos + 2 > (nal_len + sizeofNalLengthField)) { in isNewFrame() 184 nalu_type = (buffer[pos] & 0x7E)>>1 ; //=== nal_unit_type in isNewFrame() 186 …DEBUG_PRINT_LOW("@#@# Pos = %x NalType = %x buflen = %u", pos-1, nalu_type, (unsigned int) buffer_… in isNewFrame() 206 bFirstSliceInPic = ((buffer[pos+2] & 0x80)>>7); in isNewFrame()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | hevc_utils.cpp | 137 uint32 pos = 0; in isNewFrame() local 145 coef2 = buffer[pos++]; in isNewFrame() 146 coef3 = buffer[pos++]; in isNewFrame() 149 if (pos >= buffer_length) { in isNewFrame() 156 coef3 = buffer[pos++]; in isNewFrame() 165 nal_len |= buffer[pos++]<<(size_of_nal_length_field<<3); in isNewFrame() 179 if (pos + 2 > (nal_len + sizeofNalLengthField)) { in isNewFrame() 184 nalu_type = (buffer[pos] & 0x7E)>>1 ; //=== nal_unit_type in isNewFrame() 186 …DEBUG_PRINT_LOW("@#@# Pos = %x NalType = %x buflen = %u", pos-1, nalu_type, (unsigned int) buffer_… in isNewFrame() 206 bFirstSliceInPic = ((buffer[pos+2] & 0x80)>>7); in isNewFrame()
|
/hardware/qcom/camera/QCamera2/stack/common/ |
D | cam_queue.h | 79 struct cam_list *pos = NULL; in cam_queue_deq() local 83 pos = head->next; in cam_queue_deq() 84 if (pos != head) { in cam_queue_deq() 85 node = member_of(pos, cam_node_t, list); in cam_queue_deq() 103 struct cam_list *pos = NULL; in cam_queue_flush() local 107 pos = head->next; in cam_queue_flush() 109 while(pos != head) { in cam_queue_flush() 110 node = member_of(pos, cam_node_t, list); in cam_queue_flush() 111 pos = pos->next; in cam_queue_flush()
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_queue.c | 112 struct cam_list *pos = NULL; in mm_qcamera_queue_dequeue() local 117 pos = head->next; in mm_qcamera_queue_dequeue() 119 pos = head->prev; in mm_qcamera_queue_dequeue() 121 if (pos != head) { in mm_qcamera_queue_dequeue() 122 node = member_of(pos, camera_q_node, list); in mm_qcamera_queue_dequeue() 140 struct cam_list *pos = NULL; in mm_qcamera_queue_flush() local 148 pos = head->next; in mm_qcamera_queue_flush() 150 while(pos != head) { in mm_qcamera_queue_flush() 151 node = member_of(pos, camera_q_node, list); in mm_qcamera_queue_flush() 152 pos = pos->next; in mm_qcamera_queue_flush()
|
/hardware/qcom/wlan/qcwcn/wcnss-service/ |
D | wcnss_service.c | 367 int fd, rc, pos = 0; in setup_wcnss_parameters() local 382 msg[pos++] = WCNSS_USR_SERIAL_NUM >> BYTE_1; in setup_wcnss_parameters() 383 msg[pos++] = WCNSS_USR_SERIAL_NUM >> BYTE_0; in setup_wcnss_parameters() 384 msg[pos++] = serial_num >> BYTE_3; in setup_wcnss_parameters() 385 msg[pos++] = serial_num >> BYTE_2; in setup_wcnss_parameters() 386 msg[pos++] = serial_num >> BYTE_1; in setup_wcnss_parameters() 387 msg[pos++] = serial_num >> BYTE_0; in setup_wcnss_parameters() 389 if (write(fd, msg, pos) < 0) { in setup_wcnss_parameters() 399 pos = 0; in setup_wcnss_parameters() 400 msg[pos++] = WCNSS_USR_WLAN_MAC_ADDR >> BYTE_1; in setup_wcnss_parameters() [all …]
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | cpp_bindings.h | 92 struct nlattr *pos; variable 96 pos = (struct nlattr *)nla_data(attr); in nl_iterator() 100 return nla_ok(pos, rem); in has_next() 103 pos = (struct nlattr *)nla_next(pos, &(rem)); in next() 106 return pos; in get() 109 return pos->nla_type; in get_type() 112 return nla_get_u8(pos); in get_u8() 115 return nla_get_u16(pos); in get_u16() 118 return nla_get_u32(pos); in get_u32() 121 return nla_get_u64(pos); in get_u64() [all …]
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
D | Hmc5883lSample.java | 41 int[] pos; in main() local 50 pos = compas.coordinates(); in main() 51 System.out.println("Coor: " + (short) pos[0] + " " + (short) pos[1] + " " in main() 52 + (short) pos[2]); in main()
|
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
D | hmc5883l.py | 34 pos = hmc.coordinates() # Read raw coordinates variable 39 print "Coor: %5d %5d %5d" % (pos[0], pos[1], pos[2])
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | cpp_bindings.h | 109 struct nlattr *pos; variable 113 pos = (struct nlattr *)nla_data(attr); in nl_iterator() 117 return nla_ok(pos, rem); in has_next() 120 pos = (struct nlattr *)nla_next(pos, &(rem)); in next() 123 return pos; in get() 126 return pos->nla_type; in get_type() 129 return nla_get_u8(pos); in get_u8() 132 return nla_get_u16(pos); in get_u16() 135 return nla_get_u32(pos); in get_u32() 138 return nla_get_u64(pos); in get_u64() [all …]
|
D | wifilogger_diag.h | 88 static uint32_t get_le32(const uint8_t *pos) in get_le32() argument 90 return pos[0] | (pos[1] << 8) | (pos[2] << 16) | (pos[3] << 24); in get_le32()
|
/hardware/bsp/intel/peripheral/libmraa/src/spi/ |
D | spi.c | 81 int pos = plat->spi_bus[bus].sclk; in mraa_spi_init() local 82 if (plat->pins[pos].spi.mux_total > 0) { in mraa_spi_init() 83 if (mraa_setup_mux_mapped(plat->pins[pos].spi) != MRAA_SUCCESS) { in mraa_spi_init() 89 pos = plat->spi_bus[bus].mosi; in mraa_spi_init() 90 if (plat->pins[pos].spi.mux_total > 0) { in mraa_spi_init() 91 if (mraa_setup_mux_mapped(plat->pins[pos].spi) != MRAA_SUCCESS) { in mraa_spi_init() 97 pos = plat->spi_bus[bus].miso; in mraa_spi_init() 98 if (plat->pins[pos].spi.mux_total > 0) { in mraa_spi_init() 99 if (mraa_setup_mux_mapped(plat->pins[pos].spi) != MRAA_SUCCESS) { in mraa_spi_init() 105 pos = plat->spi_bus[bus].cs; in mraa_spi_init() [all …]
|
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
D | AnnOverlayPlane.cpp | 316 int i, j, pos; in scalingSetup() local 477 pos = i * N_HORIZ_Y_TAPS + j; in scalingSetup() 478 backBuffer->Y_HCOEFS[pos] = in scalingSetup() 479 (xcoeffY[pos].sign << 15 | in scalingSetup() 480 xcoeffY[pos].exponent << 12 | in scalingSetup() 481 xcoeffY[pos].mantissa); in scalingSetup() 486 pos = i * N_HORIZ_UV_TAPS + j; in scalingSetup() 487 backBuffer->UV_HCOEFS[pos] = in scalingSetup() 488 (xcoeffUV[pos].sign << 15 | in scalingSetup() 489 xcoeffUV[pos].exponent << 12 | in scalingSetup() [all …]
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
D | viddec_pm_flush.c | 41 int32_t pos=0, ret = VIDDEC_FW_SUCCESS;/* success */ in viddec_fw_parser_flush() local 47 workloads_in_input_q = ipc_mq_read_avail(&fwipc->wkld_q[stream_id].mq, (int32_t *)&pos); in viddec_fw_parser_flush() 48 pos = 0; in viddec_fw_parser_flush() 50 if(ipc_mq_write_avail(&fwipc->snd_q[stream_id].mq,&pos) >= workloads_in_input_q) in viddec_fw_parser_flush() 115 pos = 0; in viddec_fw_parser_flush() 117 if(ipc_mq_read_avail(&fwipc->rcv_q[stream_id].mq, (int32_t *)&pos) != 0) in viddec_fw_parser_flush()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_writer.c | 21 br->pos = 0; in vp9_start_encode() 32 if ((br->buffer[br->pos - 1] & 0xe0) == 0xc0) in vp9_stop_encode() 33 br->buffer[br->pos++] = 0; in vp9_stop_encode()
|