/hardware/ti/omap4xxx/camera/ |
H A D | ANativeWindowDisplayAdapter.cpp | 842 int ANativeWindowDisplayAdapter::freeBuffer(void* buf) argument 846 int *buffers = (int *) buf; 862 if ( NULL != buf ) 1161 buffer_handle_t* buf; local 1174 err = mANativeWindow->dequeue_buffer(mANativeWindow, &buf, &stride); 1186 err = mANativeWindow->lock_buffer(mANativeWindow, buf); 1200 if (mBufferHandleMap[i] == buf)
|
H A D | Encoder_libjpeg.cpp | 65 uint8_t* buf; member in struct:android::libjpeg_destination_mgr 73 dest->next_output_byte = dest->buf; 81 dest->next_output_byte = dest->buf; 96 this->buf = input;
|
/hardware/ti/omap4xxx/domx/omx_core/src/ |
H A D | OMX_Core.c | 191 char buf[sizeof(prefix) + MAXNAMESIZE + sizeof(postfix)]; local 236 strcpy(buf, prefix); /* the lengths are defined herein or have been */ 237 strcat(buf, cComponentName); /* checked already, so strcpy and strcat are */ 238 strcat(buf, postfix); /* are safe to use in this context. */ 275 pModules[i] = dlopen(buf, RTLD_LAZY | RTLD_GLOBAL);
|
/hardware/bsp/intel/peripheral/libmraa/src/usb/ |
H A D | ftdi_ft4222.c | 398 uint8_t buf[2]; local 402 if (mraa_ftdi_ft4222_i2c_context_read(dev, buf, 2) != 2) 404 data = *(uint16_t*)buf; 447 uint8_t buf[2]; local 448 buf[0] = command; 449 buf[1] = data; 450 return mraa_ftdi_ft4222_i2c_write(dev, buf, 2); 456 uint8_t buf[3]; local 457 buf[0] = command; 458 buf[ [all...] |
/hardware/bsp/intel/peripheral/libupm/src/pn532/ |
H A D | pn532.cxx | 1465 uint8_t buf[n + 2]; local 1468 memset(buf, 0, n+2); 1477 rv = m_i2c.read(buf, n + 2); 1483 fprintf(stderr, "(raw) buf (%d) = ", rv); 1484 PrintHex(buf, rv); 1489 buff[i] = buf[i+1]; 1493 fprintf(stderr, "(returned) buf (%d) = \n", n); 1517 uint8_t buf[cmdlen + 8]; local 1518 memset(buf, 0, cmdlen + 8); 1525 buf[offse [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
H A D | vbp_mp42_parser.c | 26 uint32 vbp_get_sc_pos_mp42(uint8 *buf, uint32 length, 174 uint8 *buf = NULL; local 194 buf = cxt->parse_cubby.buf; 209 found_sc = vbp_get_sc_pos_mp42(buf + bytes_parsed, size 472 uint8 *buf, 478 uint8 *ptr = buf; 779 /* The offsets are relative to parent->parse_cubby.buf */ 782 slice_data->buffer_addr = parent->parse_cubby.buf; 838 /* The offsets are relative to parent->parse_cubby.buf */ 471 vbp_get_sc_pos_mp42( uint8 *buf, uint32 length, uint32* sc_phase, uint32 *sc_end_pos, uint8 *is_normal_sc) argument [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/include/ |
H A D | viddec_fw_common_defs.h | 94 unsigned char *buf; /* virt pointer to buffer. This is a don't care for FW */ member in struct:viddec_input_buffer
|
/hardware/intel/common/libmix/mix_video/src/ |
H A D | mixvideo.c | 112 MIX_RESULT mix_video_get_mixbuffer_default(MixVideo * mix, MixBuffer ** buf); 114 MIX_RESULT mix_video_release_mixbuffer_default(MixVideo * mix, MixBuffer * buf); 1353 MIX_RESULT mix_video_get_mixbuffer_default(MixVideo * mix, MixBuffer ** buf) { argument 1362 if (!buf) { 1363 LOG_E( "!buf\n"); 1370 ret = mix_bufferpool_get(priv->buffer_pool, buf); 1381 MIX_RESULT mix_video_release_mixbuffer_default(MixVideo * mix, MixBuffer * buf) { argument 1390 if (!buf) { 1391 LOG_E( "!buf\n"); 1398 mix_buffer_unref(buf); 1608 mix_video_get_mixbuffer(MixVideo * mix, MixBuffer ** buf) argument 1619 mix_video_release_mixbuffer(MixVideo * mix, MixBuffer * buf) argument [all...] |
H A D | mixvideoformatenc_h264.c | 1274 guint8 *buf; local 1399 va_status = vaMapBuffer (va_display, image->buf, (void **)&pvbuf); 1424 "input buf size = %d\n", bufin->size); 1447 vaUnmapBuffer(va_display, image->buf); 1606 va_status = vaMapBuffer (va_display, mix->coded_buf, (void **)&buf); 1614 memcpy (&(iovout->data_size), (void*)buf, 4); 1615 //size = (guint*) buf; 1632 memcpy (iovout->data, buf + 16, iovout->data_size); //parload is started from 17th byte 1640 guint8 * payload = buf + 16; 1661 memcpy (iovout->data + 4, buf [all...] |
/hardware/intel/common/libmix/videoencoder/ |
H A D | VideoEncoderAVC.cpp | 463 uint8_t *buf = inBuffer; local 477 ret = getOneNALUnit(buf, bufSize, &nalSize, &nalType, &nalOffset, status); 486 buf += size; 503 ret = getHeader((uint8_t *)mCurSegment->buf + mOffsetInSeg, 513 memcpy(outBuffer->data, (uint8_t *)mCurSegment->buf + mOffsetInSeg, headerSize); 542 CHECK_NULL_RETURN_IFFAIL(mCurSegment->buf); 544 ret = getOneNALUnit((uint8_t *)mCurSegment->buf + mOffsetInSeg, 557 memcpy(outBuffer->data, (uint8_t *)mCurSegment->buf + mOffsetInSeg, sizeToBeCopied); 559 memcpy(outBuffer->data, (uint8_t *)mCurSegment->buf + mOffsetInSeg + nalOffset, 599 CHECK_NULL_RETURN_IFFAIL(mCurSegment->buf); [all...] |
/hardware/intel/common/libva/test/decode/ |
H A D | tinyjpeg.c | 537 int tinyjpeg_parse_header(struct jdec_private *priv, const unsigned char *buf, unsigned int size) argument 542 if ((buf[0] != 0xFF) || (buf[1] != SOI)) 545 priv->stream_begin = buf;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
H A D | vp9_onyxc_int.h | 63 YV12_BUFFER_CONFIG buf; member in struct:__anon1130 211 return &cm->frame_bufs[cm->new_fb_idx].buf;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_resize.c | 444 uint8_t *buf) { 462 otmp = buf; 440 resize_multistep(const uint8_t *const input, int length, uint8_t *output, int olength, uint8_t *buf) argument
|
H A D | vp9_temporal_filter.c | 149 x->plane[0].src.buf = arf_frame_buf; 151 xd->plane[0].pre[0].buf = frame_ptr_buf; 219 input_buffer[i] = mbd->plane[i].pre[0].buf; 368 mbd->plane[i].pre[0].buf = input_buffer[i]; 456 struct lookahead_entry *buf = vp9_lookahead_peek(cpi->lookahead, local 458 cpi->frames[frames_to_blur - 1 - frame] = &buf->img;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/ |
H A D | vpx_encoder.h | 101 void *buf; /**< Pointer to the data */ member in struct:vpx_fixed_buf 172 void *buf; /**< compressed data buffer */ member in struct:vpx_codec_cx_pkt::__anon1197::__anon1198 882 * \param[in] buf Buffer to store compressed data into 892 const vpx_fixed_buf_t *buf,
|
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
H A D | AnnOverlayPlane.cpp | 133 void AnnOverlayPlane::resetBackBuffer(int buf) argument 137 if (!mBackBuffer[buf] || !mBackBuffer[buf]->buf) 140 OverlayBackBufferBlk *backBuffer = mBackBuffer[buf]->buf; 162 OverlayBackBufferBlk *backBuffer = mBackBuffer[mCurrent]->buf; 322 OverlayBackBufferBlk *backBuffer = mBackBuffer[mCurrent]->buf; 627 mBackBuffer[mCurrent]->buf->OSTART_0Y |= 0x1; 628 mBackBuffer[mCurrent]->buf [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/ |
H A D | AnnOverlayPlane.cpp | 141 void AnnOverlayPlane::resetBackBuffer(int buf) argument 145 if (!mBackBuffer[buf] || !mBackBuffer[buf]->buf) 148 OverlayBackBufferBlk *backBuffer = mBackBuffer[buf]->buf; 170 OverlayBackBufferBlk *backBuffer = mBackBuffer[mCurrent]->buf; 345 OverlayBackBufferBlk *backBuffer = mBackBuffer[mCurrent]->buf; 377 OverlayBackBufferBlk *backBuffer = mBackBuffer[mCurrent]->buf; 717 mBackBuffer[mCurrent]->buf [all...] |
/hardware/intel/img/psb_video/src/ |
H A D | tng_cmdbuf.c | 107 psb_buffer_destroy(&cmdbuf->buf); 146 vaStatus = psb_buffer_create(driver_data, size, psb_bt_cpu_only, &cmdbuf->buf); 215 psb_buffer_destroy(&cmdbuf->buf); 244 ret = psb_buffer_map(&cmdbuf->buf, &cmdbuf->cmd_base); 256 tng_cmdbuf_buffer_ref(cmdbuf, &cmdbuf->buf); /* cmd buf == 0 */ 273 psb_buffer_unmap(&cmdbuf->buf); 279 * Reference an addtional buffer "buf" in the command stream 280 * Returns a reference index that can be used to refer to "buf" in 283 int tng_cmdbuf_buffer_ref(tng_cmdbuf_p cmdbuf, psb_buffer_p buf) argument [all...] |
/hardware/libhardware/tests/camera2/ |
H A D | CameraBurstTests.cpp | 105 const uint8_t* buf = imgBuffer.data; local 116 const uint8_t p = buf[y * stride + x];
|
H A D | camera2_utils.cpp | 69 status_t MetadataQueue::enqueue(camera_metadata_t *buf) { argument 73 mEntries.push_back(buf); 95 status_t MetadataQueue::dequeue(camera_metadata_t **buf, bool incrementCount) { argument 101 *buf = NULL; 131 *buf = b; 147 status_t MetadataQueue::setStreamSlot(camera_metadata_t *buf) { argument 148 if (buf == NULL) { 160 *(mStreamSlot.begin()) = buf; 162 mStreamSlot.push_front(buf);
|
/hardware/libhardware/tests/hwc/ |
H A D | cnativewindow.c | 83 static inline CNativeBuffer *from_abuffer(aBuffer *buf) { argument 84 return (CNativeBuffer*) buf; 88 CNativeBuffer *buf = queue->next; local 89 if (buf == queue) 91 buf->next->prev = queue; 92 queue->next = buf->next; 93 buf->next = buf->prev = 0; 94 return buf; 98 struct CNativeBuffer *buf local 106 struct CNativeBuffer *buf = (struct CNativeBuffer *) _buf; local 131 cnw_dequeue_buffer1(aWindow *base, aBuffer **buf, int *ffd) argument 154 set_layer(hwc_layer_1_t *dl, aBuffer *buf, int ffd) argument 180 hwc_post(CNativeWindow *win, aBuffer *buf, int ffd) argument 252 cnw_cancel_buffer1(aWindow *base, aBuffer *buf, int ffd) argument 263 cnw_dequeue_buffer0(aWindow *base, aBuffer **buf) argument 272 cnw_queue_buffer0(aWindow *base, aBuffer *buf) argument 276 cnw_cancel_buffer0(aWindow *base, aBuffer *buf) argument 430 aBuffer *buf; local 508 aBuffer *buf = cnw_alloc(win, win->format, usage); local [all...] |
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
H A D | hw_rome.c | 63 int read_vs_hci_event(int fd, unsigned char* buf, int size); 93 int do_write(int fd, unsigned char *buf,int len) argument 99 ret = write(fd,buf+write_offset,write_len); 313 int read_vs_hci_event(int fd, unsigned char* buf, int size) argument 329 r = read(fd, buf, 1); 332 if (buf[0] == 0x04) 339 r = read(fd, buf + count, 3 - count); 340 if ((r <= 0) || (buf[1] != 0xFF )) { 341 ALOGE("It is not VS event !! ret: %d, EVT: %d", r, buf[1]); 348 if (buf[ 503 rome_extract_patch_header_info(unsigned char *buf) argument [all...] |
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
H A D | hw_rome.c | 91 int do_write(int fd, unsigned char *buf,int len) argument 97 ret = write(fd,buf+write_offset,write_len); 290 int read_vs_hci_event(int fd, unsigned char* buf, int size) argument 306 r = read(fd, buf, 1); 309 if (buf[0] == 0x04) 316 r = read(fd, buf + count, 3 - count); 317 if ((r <= 0) || (buf[1] != 0xFF )) { 318 ALOGE("It is not VS event !! ret: %d, EVT: %d", r, buf[1]); 325 if (buf[2] < (size - 3)) 326 remain = buf[ 485 rome_extract_patch_header_info(unsigned char *buf) argument [all...] |
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
H A D | hw_rome.c | 91 int do_write(int fd, unsigned char *buf,int len) argument 97 ret = write(fd,buf+write_offset,write_len); 290 int read_vs_hci_event(int fd, unsigned char* buf, int size) argument 306 r = read(fd, buf, 1); 309 if (buf[0] == 0x04) 316 r = read(fd, buf + count, 3 - count); 317 if ((r <= 0) || (buf[1] != 0xFF )) { 318 ALOGE("It is not VS event !! ret: %d, EVT: %d", r, buf[1]); 325 if (buf[2] < (size - 3)) 326 remain = buf[ 485 rome_extract_patch_header_info(unsigned char *buf) argument [all...] |
/hardware/qcom/camera/QCamera2/HAL/ |
H A D | QCameraChannel.cpp | 196 * @streamInfoBuf : ptr to buf that contains stream info 197 * @miscBuf : ptr to buf that contains misc buffers 402 * DESCRIPTION: return a stream buf back to kernel 405 * @recvd_frame : stream buf frame to be returned 435 * @recvd_frame : stream buf frame to be returned 688 * @buf : request buf info 694 int32_t QCameraPicChannel::takePicture (mm_camera_req_buf_t *buf) argument 696 int32_t rc = m_camOps->request_super_buf(m_camHandle, m_handle, buf); 826 * @mm_camera_req_buf_t : request buf inf 832 takePicture(mm_camera_req_buf_t *buf) argument [all...] |