Home
last modified time | relevance | path

Searched refs:buff (Results 1 – 25 of 51) sorted by relevance

123

/hardware/interfaces/automotive/evs/1.0/default/
DEvsCamera.cpp423 BufferDesc buff = {}; in generateFrames() local
424 buff.width = mWidth; in generateFrames()
425 buff.height = mHeight; in generateFrames()
426 buff.stride = mStride; in generateFrames()
427 buff.format = mFormat; in generateFrames()
428 buff.usage = mUsage; in generateFrames()
429 buff.bufferId = idx; in generateFrames()
430 buff.memHandle = mBuffers[idx].handle; in generateFrames()
433 fillTestFrame(buff); in generateFrames()
436 auto result = mStream->deliverFrame(buff); in generateFrames()
[all …]
DEvsCamera.h66 void fillTestFrame(const BufferDesc& buff);
/hardware/qcom/audio/hal/audio_extn/
Dhwdep_cal.c55 void *buff; member
102 calib.buff = malloc(calib.buff_size); in send_codec_cal()
107 free(calib.buff); in send_codec_cal()
110 codec_buffer.buffer = calib.buff; in send_codec_cal()
117 free(calib.buff); in send_codec_cal()
/hardware/google/pixel/perfstatsd/
Dperfstatsd.cpp57 char buff[20]; in getHistory() local
58 strftime(buff, sizeof(buff), "%m-%d %H:%M:%S", localtime(&t)); in getHistory()
60 ret->append(std::string(buff) + "."); in getHistory()
/hardware/nxp/secure_element/ls_client/src/
DLsClient.cpp104 std::stringstream buff; in dumpLsInfo() local
105 buff << std::setw(2) << std::setfill('0') << std::hex in dumpLsInfo()
107 buff << std::setw(2) << std::setfill('0') << std::hex in dumpLsInfo()
109 buff << std::setw(2) << std::setfill('0') << std::hex in dumpLsInfo()
111 buff << std::setw(2) << std::setfill('0') << std::hex in dumpLsInfo()
113 buff << std::setw(2) << std::setfill('0') << std::hex in dumpLsInfo()
115 buff << std::setw(2) << std::setfill('0') << std::hex in dumpLsInfo()
117 buff << std::setw(2) << std::setfill('0') << std::hex in dumpLsInfo()
119 return buff.str(); in dumpLsInfo()
/hardware/interfaces/dumpstate/1.1/vts/functional/
DVtsHalDumpstateV1_1TargetTest.cpp173 char buff; in TEST_P() local
174 ASSERT_EQ(1, read(fds[0], &buff, 1)) << "Dumped nothing"; in TEST_P()
200 char buff; in TEST_P() local
201 size_t read1 = read(fds1[0], &buff, 1); in TEST_P()
202 size_t read2 = read(fds2[0], &buff, 1); in TEST_P()
272 char buff; in TEST_P() local
273 ASSERT_EQ(1, read(fds[0], &buff, 1)) << "Dumped nothing"; in TEST_P()
/hardware/ril/reference-ril/
Datchannel.h29 extern void AT_DUMP(const char* prefix, const char* buff, int len);
31 #define AT_DUMP(prefix,buff,len) do{}while(0)
Datchannel.c55 void AT_DUMP(const char* prefix, const char* buff, int len) in AT_DUMP() argument
58 len = strlen(buff); in AT_DUMP()
59 RLOGD("%.*s", len, buff); in AT_DUMP()
/hardware/qcom/camera/msm8998/QCamera2/HAL/test/
Dqcamera_test.cpp168 unsigned char *buff = NULL; in saveFile() local
189 buff = (unsigned char *)mem->pointer(); in saveFile()
190 if (!buff) { in saveFile()
196 if (size != write(fd, buff, (size_t)size)) { in saveFile()
203 __FUNCTION__, buff, (long long int) size, path.string()); in saveFile()
289 const void *buff = NULL; in decodeJPEG() local
292 buff = (const void *)mem->pointer(); in decodeJPEG()
334 if (SkImageDecoder::DecodeMemory(buff, size, skBM, prefConfig, in decodeJPEG()
341 const void *buff = NULL; in decodeJPEG()
344 buff = (const void *)mem->pointer(); in decodeJPEG()
[all …]
Dqcamera_test.h327 void *buff; member
/hardware/nxp/secure_element/libese-spi/p73/pal/
DphNxpEsePal.cpp236 void* phPalEse_memset(void* buff, int val, size_t len) { in phPalEse_memset() argument
237 return memset(buff, val, len); in phPalEse_memset()
DphNxpEsePal.h190 void* phPalEse_memset(void* buff, int val, size_t len);
/hardware/interfaces/dumpstate/1.0/vts/functional/
DVtsHalDumpstateV1_0TargetTest.cpp77 char buff; in TEST_P() local
78 ASSERT_EQ(1, read(fds[0], &buff, 1)) << "dumped nothing"; in TEST_P()
/hardware/libhardware/include/hardware/
Dfb.h143 void (*dump)(struct framebuffer_device_t* dev, char *buff, int buff_len);
Dhwcomposer.h658 void (*dump)(struct hwc_composer_device_1* dev, char *buff, int buff_len);
Dgralloc.h396 void (*dump)(struct alloc_device_t *dev, char *buff, int buff_len);
/hardware/nxp/secure_element/libese-spi/p73/inc/
DphNxpEse_Api.h248 void* phNxpEse_memset(void* buff, int val, size_t len);
/hardware/interfaces/automotive/evs/1.0/vts/functional/
DFrameHandler.cpp149 mDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc& buff) { in deliverFrame() argument
150 tgtBuffer = buff; in deliverFrame()
DVtsHalEvsV1_0TargetTest.cpp266 pDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc& buff) { in TEST_P() argument
267 tgtBuffer = buff; in TEST_P()
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp1154 char* buff = (char*)buffer; in audio_config_compare() local
1196 char* const saved_buff = buff; in audio_config_compare()
1204 buff = (char*)rsxadev->routes[in->route_handle].resampler_buffer; in audio_config_compare()
1217 frames_read = source->read(buff, read_frames); in audio_config_compare()
1226 int16_t *data = (int16_t*)buff; in audio_config_compare()
1252 const int16_t * const data = (int16_t*)buff; in audio_config_compare()
1267 buff = saved_buff; in audio_config_compare()
1273 if (in->log_fd >= 0) write(in->log_fd, buff, frames_read * frame_size); in audio_config_compare()
1277 buff += frames_read * frame_size; in audio_config_compare()
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp630 int colorFormatConversion(BufferInfo* buffer, void* buff, PixelFormat format, in colorFormatConversion() argument
638 return std::visit([buffer, buff, format, &eleStream](auto&& mapper) -> int { in colorFormatConversion()
657 buff, in colorFormatConversion()
710 mapper.mMapper->unlock(buff, in colorFormatConversion()
722 buff, in colorFormatConversion()
745 buff, in colorFormatConversion()
771 void* buff = nullptr; in fillGraphicBuffer() local
777 buff = _n1; in fillGraphicBuffer()
783 if (colorFormatConversion(buffer, buff, format, eleStream)) return 1; in fillGraphicBuffer()
785 error = mapper.mMapper->freeBuffer(buff); in fillGraphicBuffer()
/hardware/ril/libril/
Dril.cpp270 char buff[16]; in processWakeupCallback() local
277 ret = read(s_fdWakeupRead, &buff, sizeof(buff)); in processWakeupCallback()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc.cpp569 void hwc_dump(struct hwc_composer_device_1* dev, char *buff, int buff_len) in hwc_dump() argument
586 strlcpy(buff, aBuf.string(), buff_len); in hwc_dump()
/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp3883 OMX_U8 *buff = buffer; in use_output_buffer() local
3921 handle = (private_handle_t *)buff; in use_output_buffer()
4025 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
4060 (*bufferHdr)->pBuffer = buff; in use_output_buffer()
4095 OMX_U8 *buff = buffer; in use_input_heap_buffers() local
4143 handle = (private_handle_t *)buff; in use_input_heap_buffers()
4161 buff = (OMX_U8*)mmap(0, handle->size, in use_input_heap_buffers()
4164 if (buff == MAP_FAILED) { in use_input_heap_buffers()
4175 m_inp_heap_ptr[m_in_alloc_cnt].pPlatformPrivate = buff; in use_input_heap_buffers()
4229 OMX_U8 *buff = buffer; in use_input_buffers() local
[all …]
/hardware/qcom/audio/hal/msm8916/
Dplatform.c806 void *buff; member
908 calib.buff = malloc(calib.buff_size); in send_codec_cal()
909 if(calib.buff == NULL) { in send_codec_cal()
919 free(calib.buff); in send_codec_cal()
922 codec_buffer.buffer = calib.buff; in send_codec_cal()
930 free(calib.buff); in send_codec_cal()

123