/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_ionbuf.c | 37 * @p_buffer: ION buffer 46 void *buffer_allocate(buffer_test_t *p_buffer) 53 p_buffer->alloc.len = p_buffer->size; 54 p_buffer->alloc.align = 4096; 55 p_buffer->alloc.flags = ION_FLAG_CACHED; 56 p_buffer->alloc.heap_id_mask = 0x1 << ION_IOMMU_HEAP_ID; 58 p_buffer->ion_fd = open("/dev/ion", O_RDONLY); 59 if(p_buffer->ion_fd < 0) { 65 p_buffer->alloc.len = (p_buffer->alloc.len + 4095) & (~4095) [all...] |
mm_jpeg_ionbuf.h | 54 * @p_buffer: ION buffer 63 void* buffer_allocate(buffer_test_t *p_buffer); 68 * @p_buffer: ION buffer 77 int buffer_deallocate(buffer_test_t *p_buffer);
|
mm_jpeg_test.c | 106 int mm_jpeg_test_alloc(buffer_test_t *p_buffer, int use_pmem) 111 p_buffer->addr = (uint8_t *)buffer_allocate(p_buffer); 112 if (NULL == p_buffer->addr) { 118 p_buffer->addr = (uint8_t *)malloc(p_buffer->size); 119 if (NULL == p_buffer->addr) { 127 void mm_jpeg_test_free(buffer_test_t *p_buffer) 129 if (p_buffer->addr == NULL) 132 if (p_buffer->p_pmem_fd > 0 [all...] |
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_ionbuf.c | 37 * @p_buffer: ION buffer 46 void *buffer_allocate(buffer_test_t *p_buffer) 53 p_buffer->alloc.len = p_buffer->size; 54 p_buffer->alloc.align = 4096; 55 p_buffer->alloc.flags = ION_FLAG_CACHED; 56 p_buffer->alloc.heap_id_mask = 0x1 << ION_IOMMU_HEAP_ID; 58 p_buffer->ion_fd = open("/dev/ion", O_RDONLY); 59 if(p_buffer->ion_fd < 0) { 65 p_buffer->alloc.len = (p_buffer->alloc.len + 4095) & (~4095) [all...] |
mm_jpeg_ionbuf.h | 54 * @p_buffer: ION buffer 63 void* buffer_allocate(buffer_test_t *p_buffer); 68 * @p_buffer: ION buffer 77 int buffer_deallocate(buffer_test_t *p_buffer);
|
mm_jpeg_test.c | 106 int mm_jpeg_test_alloc(buffer_test_t *p_buffer, int use_pmem) 111 p_buffer->addr = (uint8_t *)buffer_allocate(p_buffer); 112 if (NULL == p_buffer->addr) { 118 p_buffer->addr = (uint8_t *)malloc(p_buffer->size); 119 if (NULL == p_buffer->addr) { 127 void mm_jpeg_test_free(buffer_test_t *p_buffer) 129 if (p_buffer->addr == NULL) 132 if (p_buffer->p_pmem_fd > 0 [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg_ionbuf.c | 36 * @p_buffer: ION buffer 45 void *buffer_allocate(buffer_t *p_buffer, int cached) 52 p_buffer->alloc.len = p_buffer->size; 53 p_buffer->alloc.align = 4096; 54 p_buffer->alloc.flags = (cached) ? ION_FLAG_CACHED : 0; 55 p_buffer->alloc.heap_mask = 0x1 << ION_IOMMU_HEAP_ID; 57 p_buffer->ion_fd = open("/dev/ion", O_RDONLY); 58 if(p_buffer->ion_fd < 0) { 64 p_buffer->alloc.len = (p_buffer->alloc.len + 4095) & (~4095) [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
mm_jpeg_ionbuf.h | 54 * @p_buffer: ION buffer 63 void* buffer_allocate(buffer_t *p_buffer, int cached); 68 * @p_buffer: ION buffer 77 int buffer_deallocate(buffer_t *p_buffer); 82 * @p_buffer: ION buffer 91 int buffer_invalidate(buffer_t *p_buffer);
|
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
cio.h | 176 * @param p_buffer pointer the data buffer to write data to. 180 void opj_write_bytes_BE (OPJ_BYTE * p_buffer, OPJ_UINT32 p_value, OPJ_UINT32 p_nb_bytes); 184 * @param p_buffer pointer the data buffer to read data from. 189 void opj_read_bytes_BE(const OPJ_BYTE * p_buffer, OPJ_UINT32 * p_value, OPJ_UINT32 p_nb_bytes); 193 * @param p_buffer pointer the data buffer to write data to. 198 void opj_write_bytes_LE (OPJ_BYTE * p_buffer, OPJ_UINT32 p_value, OPJ_UINT32 p_nb_bytes); 202 * @param p_buffer pointer the data buffer to read data from. 207 void opj_read_bytes_LE(const OPJ_BYTE * p_buffer, OPJ_UINT32 * p_value, OPJ_UINT32 p_nb_bytes); 212 * @param p_buffer pointer the data buffer to write data to. 215 void opj_write_double_LE(OPJ_BYTE * p_buffer, OPJ_FLOAT64 p_value) [all...] |
cio.c | 47 void opj_write_bytes_BE (OPJ_BYTE * p_buffer, OPJ_UINT32 p_value, OPJ_UINT32 p_nb_bytes) 53 memcpy(p_buffer,l_data_ptr,p_nb_bytes); 56 void opj_write_bytes_LE (OPJ_BYTE * p_buffer, OPJ_UINT32 p_value, OPJ_UINT32 p_nb_bytes) 64 *(p_buffer++) = *(l_data_ptr--); 68 void opj_read_bytes_BE(const OPJ_BYTE * p_buffer, OPJ_UINT32 * p_value, OPJ_UINT32 p_nb_bytes) 75 memcpy(l_data_ptr+4-p_nb_bytes,p_buffer,p_nb_bytes); 78 void opj_read_bytes_LE(const OPJ_BYTE * p_buffer, OPJ_UINT32 * p_value, OPJ_UINT32 p_nb_bytes) 87 *(l_data_ptr--) = *(p_buffer++); 91 void opj_write_double_BE(OPJ_BYTE * p_buffer, OPJ_FLOAT64 p_value) 94 memcpy(p_buffer,l_data_ptr,sizeof(OPJ_FLOAT64)) [all...] |
openjpeg.c | 91 static OPJ_SIZE_T opj_read_from_file (void * p_buffer, OPJ_SIZE_T p_nb_bytes, FILE * p_file) 93 OPJ_SIZE_T l_nb_read = fread(p_buffer,1,p_nb_bytes,p_file); 108 static OPJ_SIZE_T opj_write_from_file (void * p_buffer, OPJ_SIZE_T p_nb_bytes, FILE * p_file) 110 return fwrite(p_buffer,1,p_nb_bytes,p_file);
|
openjpeg.h | 513 typedef OPJ_SIZE_T (* opj_stream_read_fn) (void * p_buffer, OPJ_SIZE_T p_nb_bytes, void * p_user_data) ; 518 typedef OPJ_SIZE_T (* opj_stream_write_fn) (void * p_buffer, OPJ_SIZE_T p_nb_bytes, void * p_user_data) ; [all...] |
/external/bluetooth/bluedroid/hci/include/ |
userial.h | 63 // Reads a maximum of |len| bytes from the serial port into |p_buffer|. 66 uint16_t userial_read(uint16_t msg_id, uint8_t *p_buffer, uint16_t len);
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpegdec_test.c | 140 int mm_jpegdec_test_alloc(buffer_t *p_buffer, int use_pmem) 145 p_buffer->addr = (uint8_t *)buffer_allocate(p_buffer, 0); 146 if (NULL == p_buffer->addr) { 152 p_buffer->addr = (uint8_t *)malloc(p_buffer->size); 153 if (NULL == p_buffer->addr) { 161 void mm_jpegdec_test_free(buffer_t *p_buffer) 163 if (p_buffer->addr == NULL) 166 if (p_buffer->p_pmem_fd > 0 [all...] |
mm_jpeg_test.c | 187 int mm_jpeg_test_alloc(buffer_t *p_buffer, int use_pmem) 192 p_buffer->addr = (uint8_t *)buffer_allocate(p_buffer, 0); 193 if (NULL == p_buffer->addr) { 199 p_buffer->addr = (uint8_t *)malloc(p_buffer->size); 200 if (NULL == p_buffer->addr) { 208 void mm_jpeg_test_free(buffer_t *p_buffer) 210 if (p_buffer->addr == NULL) 213 if (p_buffer->p_pmem_fd > 0 [all...] |
/hardware/intel/common/libva/test/basic/ |
test_vaSurfaceAttrib.c | 43 unsigned int *p_buffer; local 142 va_status = vaMapBuffer(va_dpy, image_id.buf, (void**)&p_buffer); 145 memset(p_buffer, 0x80, image_id.width * image_id.height);
|
/external/bluetooth/bluedroid/hci/src/ |
userial.c | 318 uint16_t userial_read(uint16_t msg_id, uint8_t *p_buffer, uint16_t len) 337 memcpy((p_buffer + total_len), p_data, copy_len);
|
userial_mct.c | 298 uint16_t userial_read(uint16_t msg_id, uint8_t *p_buffer, uint16_t len) 303 ret = read(userial_cb.fd[ch_idx], p_buffer, (size_t)len);
|
/external/libnfc-nci/src/nfc/include/ |
rw_api.h | 396 ** Parameters: p_buffer: The buffer into which to read the NDEF message 402 NFC_API extern tNFC_STATUS RW_T1tReadNDef (UINT8 *p_buffer, UINT16 buf_len); 541 ** Parameters: p_buffer: The buffer into which to read the NDEF message 547 NFC_API extern tNFC_STATUS RW_T2tReadNDef (UINT8 *p_buffer, UINT16 buf_len); [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/ |
omx_vdec_test.cpp | 3370 char *p_buffer = NULL; local 3504 char *p_buffer = NULL; local 3552 char *p_buffer = NULL; local [all...] |
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/ |
omx_vdec_test.cpp | 3081 char *p_buffer = NULL; local 3211 char *p_buffer = NULL; local [all...] |
/external/pdfium/core/src/fxcodec/codec/ |
fx_codec_jpx_opj.cpp | 28 static OPJ_SIZE_T opj_read_from_memory (void * p_buffer, OPJ_SIZE_T p_nb_bytes, decodeData* srcData)
41 memcpy(p_buffer, &(srcData->src_data[srcData->offset]), readlength);
45 static OPJ_SIZE_T opj_write_from_memory (void * p_buffer, OPJ_SIZE_T p_nb_bytes, decodeData* srcData)
55 memcpy((void*&)(srcData->src_data[srcData->offset]), p_buffer, writeLength);
|
/device/lge/mako/camera/mm-camera-interface/ |
mm_jpeg_encoder.c | 363 jpege_dest.p_buffer = &jpege_dest.buffers[0];
|
/hardware/ril/reference-ril/ |
reference-ril.c | 2024 char *p_buffer; local [all...] |