HomeSort by relevance Sort by last modified time
    Searched refs:p_buffer (Results 1 - 25 of 34) sorted by null

1 2

  /device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/
mm_jpeg_ionbuf.c 38 * @p_buffer: ION buffer
47 void *buffer_allocate(buffer_t *p_buffer, int cached)
54 p_buffer->alloc.len = p_buffer->size;
55 p_buffer->alloc.align = 4096;
56 p_buffer->alloc.flags = (cached) ? ION_FLAG_CACHED : 0;
57 p_buffer->alloc.heap_id_mask = 0x1 << ION_IOMMU_HEAP_ID;
59 p_buffer->ion_fd = open("/dev/ion", O_RDONLY);
60 if(p_buffer->ion_fd < 0) {
66 p_buffer->alloc.len = (p_buffer->alloc.len + 4095U) & (~4095U)
    [all...]
  /device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/
mm_jpeg_ionbuf.c 38 * @p_buffer: ION buffer
47 void *buffer_allocate(buffer_t *p_buffer, int cached)
54 p_buffer->alloc.len = p_buffer->size;
55 p_buffer->alloc.align = 4096;
56 p_buffer->alloc.flags = (cached) ? ION_FLAG_CACHED : 0;
57 p_buffer->alloc.heap_id_mask = 0x1 << ION_IOMMU_HEAP_ID;
59 p_buffer->ion_fd = open("/dev/ion", O_RDONLY);
60 if(p_buffer->ion_fd < 0) {
66 p_buffer->alloc.len = (p_buffer->alloc.len + 4095U) & (~4095U)
    [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...]
  /hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
mm_jpeg_ionbuf.c 45 * @p_buffer: ION buffer
54 void *buffer_allocate(buffer_t *p_buffer, int cached)
61 p_buffer->alloc.len = p_buffer->size;
62 p_buffer->alloc.align = 4096;
63 p_buffer->alloc.flags = (cached) ? ION_FLAG_CACHED : 0;
64 p_buffer->alloc.heap_id_mask = 0x1 << ION_IOMMU_HEAP_ID;
66 p_buffer->ion_fd = open("/dev/ion", O_RDONLY);
67 if(p_buffer->ion_fd < 0) {
73 p_buffer->alloc.len = (p_buffer->alloc.len + 4095U) & (~4095U)
    [all...]
  /hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/inc/
mm_jpeg_ionbuf.h 51 * @p_buffer: ION buffer
60 void* buffer_allocate(buffer_t *p_buffer, int cached);
65 * @p_buffer: ION buffer
74 int buffer_deallocate(buffer_t *p_buffer);
79 * @p_buffer: ION buffer
88 int buffer_invalidate(buffer_t *p_buffer);
  /device/huawei/angler/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);
  /device/lge/bullhead/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);
  /device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/
mm_jpeg_ionbuf.h 55 * @p_buffer: ION buffer
64 void* buffer_allocate(buffer_t *p_buffer, int cached);
69 * @p_buffer: ION buffer
78 int buffer_deallocate(buffer_t *p_buffer);
83 * @p_buffer: ION buffer
92 int buffer_invalidate(buffer_t *p_buffer);
  /external/pdfium/third_party/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+sizeof(OPJ_UINT32)-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...]
  /system/bt/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);
  /hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
omx_swvdec_utils.h 161 void dump_ip(unsigned char *p_buffer, unsigned int filled_length);
162 void dump_op(unsigned char *p_buffer,
omx_swvdec.h 222 OMX_U8 *p_buffer);
230 OMX_BUFFERHEADERTYPE *p_buffer);
362 OMX_U8 *p_buffer);
  /device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/test/
mm_jpegdec_test.c 135 int mm_jpegdec_test_alloc(buffer_t *p_buffer, int use_pmem)
140 p_buffer->addr = (uint8_t *)buffer_allocate(p_buffer, 0);
141 if (NULL == p_buffer->addr) {
147 p_buffer->addr = (uint8_t *)malloc(p_buffer->size);
148 if (NULL == p_buffer->addr) {
156 void mm_jpegdec_test_free(buffer_t *p_buffer)
158 if (p_buffer->addr == NULL)
161 if (p_buffer->p_pmem_fd >= 0
    [all...]
mm_jpeg_test.c 186 int mm_jpeg_test_alloc(buffer_t *p_buffer, int use_pmem)
191 p_buffer->addr = (uint8_t *)buffer_allocate(p_buffer, 0);
192 if (NULL == p_buffer->addr) {
198 p_buffer->addr = (uint8_t *)malloc(p_buffer->size);
199 if (NULL == p_buffer->addr) {
207 void mm_jpeg_test_free(buffer_t *p_buffer)
209 if (p_buffer->addr == NULL)
212 if (p_buffer->p_pmem_fd >= 0
    [all...]
  /device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/test/
mm_jpegdec_test.c 135 int mm_jpegdec_test_alloc(buffer_t *p_buffer, int use_pmem)
140 p_buffer->addr = (uint8_t *)buffer_allocate(p_buffer, 0);
141 if (NULL == p_buffer->addr) {
147 p_buffer->addr = (uint8_t *)malloc(p_buffer->size);
148 if (NULL == p_buffer->addr) {
156 void mm_jpegdec_test_free(buffer_t *p_buffer)
158 if (p_buffer->addr == NULL)
161 if (p_buffer->p_pmem_fd >= 0
    [all...]
mm_jpeg_test.c 186 int mm_jpeg_test_alloc(buffer_t *p_buffer, int use_pmem)
191 p_buffer->addr = (uint8_t *)buffer_allocate(p_buffer, 0);
192 if (NULL == p_buffer->addr) {
198 p_buffer->addr = (uint8_t *)malloc(p_buffer->size);
199 if (NULL == p_buffer->addr) {
207 void mm_jpeg_test_free(buffer_t *p_buffer)
209 if (p_buffer->addr == NULL)
212 if (p_buffer->p_pmem_fd >= 0
    [all...]
  /device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
mm_jpegdec_test.c 134 int mm_jpegdec_test_alloc(buffer_t *p_buffer, int use_pmem)
139 p_buffer->addr = (uint8_t *)buffer_allocate(p_buffer, 0);
140 if (NULL == p_buffer->addr) {
146 p_buffer->addr = (uint8_t *)malloc(p_buffer->size);
147 if (NULL == p_buffer->addr) {
155 void mm_jpegdec_test_free(buffer_t *p_buffer)
157 if (p_buffer->addr == NULL)
160 if (p_buffer->p_pmem_fd > 0
    [all...]
mm_jpeg_test.c 186 int mm_jpeg_test_alloc(buffer_t *p_buffer, int use_pmem)
191 p_buffer->addr = (uint8_t *)buffer_allocate(p_buffer, 0);
192 if (NULL == p_buffer->addr) {
198 p_buffer->addr = (uint8_t *)malloc(p_buffer->size);
199 if (NULL == p_buffer->addr) {
207 void mm_jpeg_test_free(buffer_t *p_buffer)
209 if (p_buffer->addr == NULL)
212 if (p_buffer->p_pmem_fd > 0
    [all...]
  /hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/
mm_jpegdec_test.c 143 int mm_jpegdec_test_alloc(buffer_t *p_buffer, int use_pmem)
148 p_buffer->addr = (uint8_t *)buffer_allocate(p_buffer, 0);
149 if (NULL == p_buffer->addr) {
155 p_buffer->addr = (uint8_t *)malloc(p_buffer->size);
156 if (NULL == p_buffer->addr) {
164 void mm_jpegdec_test_free(buffer_t *p_buffer)
166 if (p_buffer->addr == NULL)
169 if (p_buffer->p_pmem_fd >= 0
    [all...]
mm_jpeg_test.c 202 int mm_jpeg_test_alloc(buffer_t *p_buffer, int use_pmem)
207 p_buffer->addr = (uint8_t *)buffer_allocate(p_buffer, 0);
208 if (NULL == p_buffer->addr) {
214 p_buffer->addr = (uint8_t *)malloc(p_buffer->size);
215 if (NULL == p_buffer->addr) {
223 void mm_jpeg_test_free(buffer_t *p_buffer)
225 if (p_buffer->addr == NULL)
228 if (p_buffer->p_pmem_fd >= 0
    [all...]
  /hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
omx_swvdec_utils.cpp 410 * @param[in] p_buffer: Pointer to input bitstream buffer.
413 void omx_swvdec_diag::dump_ip(unsigned char *p_buffer,
418 fwrite(p_buffer, sizeof(unsigned char), filled_length, m_file_ip);
425 * @param[in] p_buffer: Pointer to output YUV buffer.
431 void omx_swvdec_diag::dump_op(unsigned char *p_buffer,
444 p_buffer_y = p_buffer;
445 p_buffer_uv = p_buffer + (stride * scanlines);
  /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/libgdx/gdx/jni/
com.badlogic.gdx.graphics.g2d.Gdx2DPixmap.cpp 11 const unsigned char* p_buffer = (const unsigned char*)env->GetPrimitiveArrayCritical(buffer, 0); local
12 gdx2d_pixmap* pixmap = gdx2d_load(p_buffer + offset, len);
13 env->ReleasePrimitiveArrayCritical(buffer, (char*)p_buffer, 0);
  /external/libnfc-nci/src/nfc/include/
rw_api.h 397 ** Parameters: p_buffer: The buffer into which to read the NDEF message
403 NFC_API extern tNFC_STATUS RW_T1tReadNDef (UINT8 *p_buffer, UINT16 buf_len);
542 ** Parameters: p_buffer: The buffer into which to read the NDEF message
548 NFC_API extern tNFC_STATUS RW_T2tReadNDef (UINT8 *p_buffer, UINT16 buf_len);
    [all...]

Completed in 371 milliseconds

1 2