Searched refs:y_off (Results 1 - 18 of 18) sorted by relevance

/hardware/qcom/camera/QCamera/stack/mm-camera-test/src/
H A Dmm_qcamera_preview.c138 CDBG("%s: %d %d", __func__, newFrame->y_off, newFrame->cbcr_off);
139 write(file_fd, (const void *)(newFrame->buffer+newFrame->y_off), w * h);
154 int y_off = newFrame->buffer + newFrame->planes[0].data_offset; local
157 CDBG("%s: Y_off = %p cbcr_off = %p", __func__, y_off,cbcr_off);
160 write(file_fd, (const void *)(y_off), newFrame->planes[0].length);
257 int i,j,num_planes, frame_len, y_off, cbcr_off;
269 y_off = frame_offset_info->mp[0].offset;
291 pme->preview_buf.frame[i].y_off = 0;
308 bufs[i].planes[0].data_offset = y_off;
332 int i,y_off, cbcr_of local
[all...]
H A Dmm_qcamera_video.c114 int i,j,num_planes, frame_len, y_off, cbcr_off;
126 y_off = frame_offset_info->mp[0].offset;
148 pme->video_buf.frame[i].y_off = 0;
165 bufs[i].planes[0].data_offset = y_off;
H A Dmm_qcamera_snapshot.c177 uint32_t y_off, cbcr_off;
217 pme->preview_buf.frame[0].y_off = 0;
909 int i,j,num_planes, frame_len, y_off, cbcr_off;
921 y_off = frame_offset_info->mp[0].offset;
949 pme->snapshot_buf.frame[i].y_off = 0;
966 bufs[i].planes[0].data_offset = y_off;
989 int i,j,num_planes, frame_len, y_off, cbcr_off;
1001 y_off = frame_offset_info->mp[0].offset;
1023 pme->thumbnail_buf.frame[i].y_off = 0;
1040 bufs[i].planes[0].data_offset = y_off;
[all...]
/hardware/qcom/camera/QCamera/HAL/core/src/
H A DQCameraHWI_Mem.cpp177 pmemBuf.y_off = yoffset;
207 pmemBuf.y_off = 0;
H A DQCameraHWI_Preview.cpp309 int i, num_planes, frame_len, y_off, cbcr_off; local
335 y_off = dim.picture_frame_offset.mp[0].offset;
338 __func__, dim.rotation, y_off, cbcr_off, frame_len,
342 frame_len, y_off, cbcr_off, MSM_PMEM_MAINIMG,
572 mDisplayStreamBuf.frame[i].y_off = 0;
585 mDisplayStreamBuf.frame[i].cbcr_off, mDisplayStreamBuf.frame[i].y_off,
707 mDisplayStreamBuf.frame[i].y_off = 0;
717 mDisplayStreamBuf.frame[i].cbcr_off, mDisplayStreamBuf.frame[i].y_off,
730 mDisplayBuf.preview.buf.mp[i].frame_offset = mDisplayStreamBuf.frame[i].y_off;
H A DQCameraHWI.cpp2056 LOGE("%s: %d %d", __func__, newFrame->y_off, newFrame->cbcr_off);
2057 write(file_fd, (const void *)(newFrame->buffer+newFrame->y_off), w * h);
2288 int y_off,
2316 heap->y_offset = y_off;
2379 frame->y_off = heap->y_offset;
2384 "cbcr_off: %d y_off: %d frame_len: %d", __func__,
2386 frame->phy_offset, cbcr_off, y_off, frame->ion_alloc.len);
2395 buf_def->buf.mp[i].planes[0].data_offset = y_off;
2285 initHeapMem( QCameraHalHeap_t *heap, int num_of_buf, int buf_len, int y_off, int cbcr_off, int pmem_type, mm_cameara_stream_buf_t *StreamBuf, mm_camera_buf_def_t *buf_def, uint8_t num_planes, uint32_t *planes ) argument
H A DQCameraHWI_Record.cpp474 recordframes[cnt].y_off = 0;
487 LOGE ("initRecord : record heap , video buffers buffer=%lu fd=%d y_off=%d cbcr_off=%d\n",
488 (unsigned long)recordframes[cnt].buffer, recordframes[cnt].fd, recordframes[cnt].y_off,
H A DQCameraHWI_Still.cpp698 uint32_t frame_len, y_off, cbcr_off; local
758 y_off = dim->picture_frame_offset.mp[0].offset;
761 __func__, dim->rotation, y_off, cbcr_off, frame_len, dim->picture_width, dim->picture_height);
770 frame_len, y_off, cbcr_off, MSM_PMEM_MAINIMG, &mSnapshotStreamBuf,
781 y_off = dim->thumb_frame_offset.mp[0].offset;
784 __func__, dim->rotation, y_off, cbcr_off, frame_len,
788 frame_len, y_off, cbcr_off, MSM_PMEM_THUMBNAIL, &mPostviewStreamBuf,
/hardware/qcom/camera/
H A DQCameraHWI_Preview.cpp316 int i, num_planes, frame_len, y_off, cbcr_off; local
342 y_off = dim.picture_frame_offset.mp[0].offset;
345 __func__, dim.rotation, y_off, cbcr_off, frame_len,
349 frame_len, y_off, cbcr_off, MSM_PMEM_MAINIMG,
593 mDisplayStreamBuf.frame[i].y_off = 0;
606 mDisplayStreamBuf.frame[i].cbcr_off, mDisplayStreamBuf.frame[i].y_off,
740 mDisplayStreamBuf.frame[i].y_off = 0;
750 mDisplayStreamBuf.frame[i].cbcr_off, mDisplayStreamBuf.frame[i].y_off,
773 mDisplayBuf.preview.buf.mp[i].frame_offset = mDisplayStreamBuf.frame[i].y_off;
H A DQCameraHWI_Record.cpp473 recordframes[cnt].y_off = 0;
486 ALOGV("initRecord : record heap , video buffers buffer=%lu fd=%d y_off=%d cbcr_off=%d\n",
487 (unsigned long)recordframes[cnt].buffer, recordframes[cnt].fd, recordframes[cnt].y_off,
H A DQCameraHWI_Mem.cpp179 pmemBuf.y_off = yoffset;
208 pmemBuf.y_off = 0;
H A DQCameraHWI.cpp2203 ALOGV("%s: %d %d", __func__, newFrame->y_off, newFrame->cbcr_off);
2204 write(file_fd, (const void *)(newFrame->buffer+newFrame->y_off), w * h);
2435 int y_off,
2463 heap->y_offset = y_off;
2526 frame->y_off = heap->y_offset;
2531 "cbcr_off: %d y_off: %d frame_len: %d", __func__,
2533 frame->phy_offset, cbcr_off, y_off, frame->ion_alloc.len);
2542 buf_def->buf.mp[i].planes[0].data_offset = y_off;
2432 initHeapMem( QCameraHalHeap_t *heap, int num_of_buf, int buf_len, int y_off, int cbcr_off, int pmem_type, mm_cameara_stream_buf_t *StreamBuf, mm_camera_buf_def_t *buf_def, uint8_t num_planes, uint32_t *planes ) argument
H A DQCameraHWI_Still.cpp767 uint32_t frame_len, y_off, cbcr_off; local
827 y_off = dim->picture_frame_offset.mp[0].offset;
830 __func__, dim->rotation, y_off, cbcr_off, frame_len, dim->picture_width, dim->picture_height);
839 frame_len, y_off, cbcr_off, MSM_PMEM_MAINIMG, &mSnapshotStreamBuf,
850 y_off = dim->thumb_frame_offset.mp[0].offset;
853 __func__, dim->rotation, y_off, cbcr_off, frame_len,
857 frame_len, y_off, cbcr_off, MSM_PMEM_THUMBNAIL, &mPostviewStreamBuf,
H A DQCameraHWI_Preview_7x27A.cpp412 mDisplayStreamBuf.frame[i].y_off = 0;
424 mDisplayStreamBuf.frame[i].y_off,
H A DQCameraHWI.h468 int frame_len, int cbcr_off, int y_off, mm_cameara_stream_buf_t *StreamBuf,
H A DQualcommCameraHardware.cpp3972 frames[cnt].y_off = 0;
6984 ALOGV ("initRecord : record heap , video buffers buffer=%lu fd=%d y_off=%d cbcr_off=%d \n",
/hardware/qcom/camera/QCamera/HAL/core/inc/
H A DQCameraHWI.h467 int frame_len, int cbcr_off, int y_off, mm_cameara_stream_buf_t *StreamBuf,
/hardware/qcom/camera/QCamera/HAL2/core/inc/
H A DQCameraHWI.h477 int y_off,

Completed in 291 milliseconds