/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
H A D | inv_sysfs_utils.h | 17 * @buffer: Ring buffer attached to FIFO. 18 * @enable: Turns on HW-to-ring buffer flow. 32 const char *buffer; member in struct:inv_sysfs_names_s
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
H A D | inv_sysfs_utils.h | 11 * @buffer: Ring buffer attached to FIFO. 12 * @enable: Turns on HW-to-ring buffer flow. 26 const char *buffer; member in struct:inv_sysfs_names_s
|
/hardware/libhardware_legacy/uevent/ |
H A D | uevent.c | 74 int uevent_next_event(char* buffer, int buffer_length) argument 86 int count = recv(fd, buffer, buffer_length, 0); 91 h->handler(h->handler_data, buffer, buffer_length);
|
/hardware/qcom/audio/msm8909/hal/audio_extn/ |
H A D | compress_capture.c | 109 The buffer size is not altered, that is still period size.*/ 116 void *buffer, size_t bytes) 135 ALOGW("AMR WB read buffer overflow."); 144 memcpy(buffer, c_in_mod.in_buf + c_in_header, header->frame_size); 115 audio_extn_compr_cap_read(struct stream_in * in, void *buffer, size_t bytes) argument
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/ |
H A D | omx_video_common.h | 68 void *buffer; member in struct:pmem
|
/hardware/ril/librilutils/ |
H A D | record_stream.c | 37 unsigned char *buffer; member in struct:RecordStream 55 ret->buffer = (unsigned char *)malloc (maxRecordLen + HEADER_SIZE); 57 ret->unconsumed = ret->buffer; 58 ret->read_end = ret->buffer; 59 ret->buffer_end = ret->buffer + maxRecordLen + HEADER_SIZE; 67 free(rs->buffer); 72 /* returns NULL; if there isn't a full record in the buffer */ 102 /* one full line in the buffer */ 134 /* is there one record already in the buffer? */ 142 // if the buffer i [all...] |
/hardware/akm/AK8975_FS/libsensors/ |
H A D | AdxlSensor.cpp | 89 char buffer[2]; local 97 buffer[0] = '\0'; 98 buffer[1] = '\0'; 101 if(enabled) buffer[0] = '0'; 103 if(!enabled) buffer[0] = '1'; 105 if (buffer[0] != '\0') { 107 err = write_sys_attribute(input_sysfs_path, buffer, 1); 111 ALOGD("AdxlSensor: Control set %s", buffer); 132 char buffer[16]; local 157 bytes = sprintf(buffer, " [all...] |
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
H A D | nrf8001-helloworld.cxx | 116 uart_tx (uint8_t *buffer, uint8_t buffer_len) { argument 121 status = lib_aci_send_data(PIPE_UART_OVER_BTLE_UART_TX_TX, buffer, buffer_len);
|
/hardware/bsp/intel/peripheral/libupm/src/grovescam/ |
H A D | grovescam.cxx | 114 int GROVESCAM::readData(uint8_t *buffer, int len) argument 119 int rv = read(m_ttyFd, (char *)buffer, len); 132 int GROVESCAM::writeData(uint8_t *buffer, int len) argument 141 int rv = write(m_ttyFd, (char *)buffer, len);
|
/hardware/intel/common/libmix/videodecoder/ |
H A D | VideoDecoderMPEG2.cpp | 32 Decode_Status VideoDecoderMPEG2::start(VideoConfigBuffer *buffer) { argument 35 status = VideoDecoderBase::start(buffer); 38 if (buffer->data == NULL || buffer->size == 0) { 45 buffer->data, 46 buffer->size, 65 Decode_Status VideoDecoderMPEG2::decode(VideoDecodeBuffer *buffer) { argument 70 if (buffer == NULL) { 76 DumpInputBuffer(buffer, "mpeg2"); 80 buffer 156 decodeFrame(VideoDecodeBuffer *buffer, vbp_data_mpeg2 *data) argument [all...] |
H A D | VideoDecoderMPEG4.cpp | 34 Decode_Status VideoDecoderMPEG4::start(VideoConfigBuffer *buffer) { argument 37 status = VideoDecoderBase::start(buffer); 40 if (buffer->data == NULL || buffer->size == 0) { 46 status = VideoDecoderBase::parseBuffer(buffer->data, buffer->size, true, (void**)&data); 63 Decode_Status VideoDecoderMPEG4::decode(VideoDecodeBuffer *buffer) { argument 67 if (buffer == NULL) { 70 if (buffer->flag & IS_SYNC_FRAME) { 75 buffer 155 decodeFrame(VideoDecodeBuffer *buffer, vbp_data_mp42 *data) argument [all...] |
/hardware/intel/common/libmix/videodecoder/securevideo/baytrail/ |
H A D | VideoDecoderAVCSecure.cpp | 37 Decode_Status VideoDecoderAVCSecure::start(VideoConfigBuffer *buffer) { argument 38 Decode_Status status = VideoDecoderAVC::start(buffer); 78 Decode_Status VideoDecoderAVCSecure::decode(VideoDecodeBuffer *buffer) { argument 88 if (buffer->flag & IS_SECURE_DATA) { 94 return VideoDecoderAVC::decode(buffer); 97 if (buffer->size != sizeof(frame_info_t)) { 101 pFrameInfo = (frame_info_t*) buffer->data; 167 // [FIX DRC zoom issue] if one buffer contains more than one nalu 207 status = decodeFrame(buffer, data);
|
/hardware/intel/common/libmix/videodecoder/securevideo/cherrytrail/ |
H A D | VideoDecoderAVCSecure.cpp | 37 Decode_Status VideoDecoderAVCSecure::start(VideoConfigBuffer *buffer) { argument 38 Decode_Status status = VideoDecoderAVC::start(buffer); 78 Decode_Status VideoDecoderAVCSecure::decode(VideoDecodeBuffer *buffer) { argument 88 if (buffer->flag & IS_SECURE_DATA) { 94 return VideoDecoderAVC::decode(buffer); 97 if (buffer->size != sizeof(frame_info_t)) { 101 pFrameInfo = (frame_info_t*) buffer->data; 191 status = decodeFrame(buffer, data);
|
/hardware/intel/common/omx-components/videocodec/ |
H A D | OMXVideoDecoderH263.cpp | 79 OMX_ERRORTYPE OMXVideoDecoderH263::PrepareDecodeBuffer(OMX_BUFFERHEADERTYPE *buffer, buffer_retain_t *retain, VideoDecodeBuffer *p) { argument 80 return OMXVideoDecoderBase::PrepareDecodeBuffer(buffer, retain, p);
|
H A D | OMXVideoDecoderMPEG2.cpp | 79 OMX_ERRORTYPE OMXVideoDecoderMPEG2::PrepareDecodeBuffer(OMX_BUFFERHEADERTYPE *buffer, buffer_retain_t *retain, VideoDecodeBuffer *p) { argument 80 return OMXVideoDecoderBase::PrepareDecodeBuffer(buffer, retain, p);
|
H A D | OMXVideoDecoderMPEG4.cpp | 79 OMX_ERRORTYPE OMXVideoDecoderMPEG4::PrepareDecodeBuffer(OMX_BUFFERHEADERTYPE *buffer, buffer_retain_t *retain, VideoDecodeBuffer *p) { argument 80 return OMXVideoDecoderBase::PrepareDecodeBuffer(buffer, retain, p);
|
H A D | OMXVideoDecoderPAVC.cpp | 96 OMX_ERRORTYPE OMXVideoDecoderPAVC::PrepareDecodeBuffer(OMX_BUFFERHEADERTYPE *buffer, buffer_retain_t *retain, VideoDecodeBuffer *p) { argument 98 ret = OMXVideoDecoderBase::PrepareDecodeBuffer(buffer, retain, p); 102 // if flag is set, buffer will only contain codec data. 103 if (buffer->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { 108 if (buffer->nFlags & OMX_BUFFERFLAG_EXTRADATA) {
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
H A D | webmdec.c | 17 static int nestegg_read_cb(void *buffer, size_t length, void *userdata) { argument 20 if (fread(buffer, 1, length, f) < length) { 112 uint8_t **buffer, 138 buffer, bytes_in_buffer)) { 111 webm_read_frame(struct WebmInputContext *webm_ctx, uint8_t **buffer, size_t *bytes_in_buffer, size_t *buffer_size) argument
|
/hardware/intel/img/hwcomposer/merrifield/common/buffers/ |
H A D | BufferManager.cpp | 51 // create buffer pool 54 ETRACE("failed to create gralloc buffer cache"); 70 // create a dummy data buffer 73 DEINIT_AND_RETURN_FALSE("failed to create data buffer"); 85 // unmap & delete all cached buffer mappers 138 void BufferManager::unlockDataBuffer(DataBuffer *buffer) argument 148 void BufferManager::put(DataBuffer *buffer) argument 150 delete buffer; 153 BufferMapper* BufferManager::map(DataBuffer& buffer) argument 161 mapper = mBufferPool->getMapper(buffer 251 DataBuffer *buffer = NULL; local [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/buffers/ |
H A D | BufferManager.cpp | 51 // create buffer pool 54 ELOGTRACE("failed to create gralloc buffer cache"); 70 // create a dummy data buffer 73 DEINIT_AND_RETURN_FALSE("failed to create data buffer"); 85 // unmap & delete all cached buffer mappers 138 void BufferManager::unlockDataBuffer(DataBuffer * /* buffer */) 148 void BufferManager::put(DataBuffer *buffer) argument 150 delete buffer; 153 BufferMapper* BufferManager::map(DataBuffer& buffer) argument 161 mapper = mBufferPool->getMapper(buffer 251 DataBuffer *buffer = NULL; local [all...] |
/hardware/libhardware/modules/sensors/tests/ |
H A D | SensorEventQueue_test.cpp | 17 sensors_event_t* buffer; local 18 int actual = queue->getWritableRegion(requested, &buffer); 20 printf("Expected buffer size was %d; actual was %d\n", expected, actual); 110 sensors_event_t* buffer; local 118 int writableSize = queue->getWritableRegion(FULL_QUEUE_CAPACITY, &buffer);
|
/hardware/libhardware_legacy/audio/ |
H A D | AudioHardwareInterface.cpp | 140 char buffer[SIZE]; local 142 snprintf(buffer, SIZE, "AudioHardwareBase::dumpState\n"); 143 result.append(buffer); 144 snprintf(buffer, SIZE, "\tmMode: %d\n", mMode); 145 result.append(buffer);
|
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | AudioStreamOutALSA.cpp | 110 ssize_t AudioStreamOutALSA::write(const void *buffer, size_t bytes) argument 115 ALOGV("write:: buffer %p, bytes %d", buffer, bytes); 244 (char *)buffer + sent, 248 (char *)buffer + sent,
|
/hardware/qcom/camera/QCamera2/HAL3/ |
H A D | QCamera3StreamMem.cpp | 112 * DESCRIPTION: return file descriptor of the indexed buffer 115 * @index : index of the buffer 132 * DESCRIPTION: return buffer size of the indexed buffer 135 * @index : index of the buffer 137 * RETURN : buffer size 152 * DESCRIPTION: invalidate the cache of the indexed buffer 155 * @index : index of the buffer 174 * DESCRIPTION: clean and invalidate the cache of the indexed buffer 177 * @index : index of the buffer 275 registerBuffer(buffer_handle_t *buffer, cam_stream_type_t type) argument [all...] |
/hardware/qcom/camera/QCamera2/util/ |
H A D | QCameraDisplay.cpp | 64 android::DisplayEventReceiver::Event buffer[DISPLAY_EVENT_RECEIVER_ARRAY_SIZE]; local 68 while ((n = pQCameraDisplay->mDisplayEventReceiver.getEvents(buffer, 71 if (buffer[i].header.type == DisplayEventReceiver::DISPLAY_EVENT_VSYNC) { 72 pQCameraDisplay->computeAverageVsyncInterval(buffer[i].header.timestamp); 235 * PARAMETERS : current frame time stamp set by VFE when buffer copy done.
|