Searched defs:cbcr_off (Results 1 - 7 of 7) 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);
141 (newFrame->buffer + newFrame->cbcr_off), w * h / 2 * main_422);
155 //int cbcr_off = newFrame->buffer + newFrame->planes[1].data_offset;//newFrame->buffer + newFrame->planes[0].length;
156 int cbcr_off = newFrame->buffer + newFrame->planes[0].length; local
157 CDBG("%s: Y_off = %p cbcr_off = %p", __func__, y_off,cbcr_off);
158 CDBG("%s: Y_off length = %d cbcr_off length = %d", __func__, newFrame->planes[0].length,newFrame->planes[1].length);
161 write(file_fd, (const void *)(cbcr_off),
257 int i,j,num_planes, frame_len, y_off, cbcr_off;
270 cbcr_off
332 int i,y_off, cbcr_off,num_planes; local
[all...]
/hardware/qcom/camera/
H A DQCameraHWI_Preview.cpp316 int i, num_planes, frame_len, y_off, cbcr_off; local
343 cbcr_off = dim.picture_frame_offset.mp[1].offset;
345 __func__, dim.rotation, y_off, cbcr_off, frame_len,
349 frame_len, y_off, cbcr_off, MSM_PMEM_MAINIMG,
592 mDisplayStreamBuf.frame[i].cbcr_off = planes[0];
606 mDisplayStreamBuf.frame[i].cbcr_off, mDisplayStreamBuf.frame[i].y_off,
739 mDisplayStreamBuf.frame[i].cbcr_off = planes[0];
750 mDisplayStreamBuf.frame[i].cbcr_off, mDisplayStreamBuf.frame[i].y_off,
H A DQCameraHWI.cpp2203 ALOGV("%s: %d %d", __func__, newFrame->y_off, newFrame->cbcr_off);
2206 (newFrame->buffer + newFrame->cbcr_off), w * h / 2 * main_422);
2436 int cbcr_off,
2448 ALOGV("Init Heap =%p. stream_buf =%p, pmem_type =%d, num_of_buf=%d. buf_len=%d, cbcr_off=%d",
2449 heap, StreamBuf, pmem_type, num_of_buf, buf_len, cbcr_off);
2464 heap->cbcr_offset = cbcr_off;
2525 frame->cbcr_off = planes[0]+heap->cbcr_offset;
2531 "cbcr_off: %d y_off: %d frame_len: %d", __func__,
2533 frame->phy_offset, cbcr_off, y_off, frame->ion_alloc.len);
2548 buf_def->buf.mp[i].planes[j].data_offset = cbcr_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
[all...]
H A DQCameraHWI_Still.cpp767 uint32_t frame_len, y_off, cbcr_off; local
828 cbcr_off = dim->picture_frame_offset.mp[1].offset;
830 __func__, dim->rotation, y_off, cbcr_off, frame_len, dim->picture_width, dim->picture_height);
831 if (mHalCamCtrl->initHeapMem (&mHalCamCtrl->mJpegMemory, 1, frame_len, 0, cbcr_off,
839 frame_len, y_off, cbcr_off, MSM_PMEM_MAINIMG, &mSnapshotStreamBuf,
851 cbcr_off = dim->thumb_frame_offset.mp[1].offset;
853 __func__, dim->rotation, y_off, cbcr_off, frame_len,
857 frame_len, y_off, cbcr_off, MSM_PMEM_THUMBNAIL, &mPostviewStreamBuf,
1783 encode_params.a_cbcroffset = mainframe->cbcr_off;
/hardware/qcom/camera/QCamera/HAL/core/src/
H A DQCameraHWI_Preview.cpp309 int i, num_planes, frame_len, y_off, cbcr_off; local
336 cbcr_off = dim.picture_frame_offset.mp[1].offset;
338 __func__, dim.rotation, y_off, cbcr_off, frame_len,
342 frame_len, y_off, cbcr_off, MSM_PMEM_MAINIMG,
571 mDisplayStreamBuf.frame[i].cbcr_off = planes[0];
585 mDisplayStreamBuf.frame[i].cbcr_off, mDisplayStreamBuf.frame[i].y_off,
706 mDisplayStreamBuf.frame[i].cbcr_off = planes[0];
717 mDisplayStreamBuf.frame[i].cbcr_off, mDisplayStreamBuf.frame[i].y_off,
H A DQCameraHWI_Still.cpp698 uint32_t frame_len, y_off, cbcr_off; local
759 cbcr_off = dim->picture_frame_offset.mp[1].offset;
761 __func__, dim->rotation, y_off, cbcr_off, frame_len, dim->picture_width, dim->picture_height);
762 if (mHalCamCtrl->initHeapMem (&mHalCamCtrl->mJpegMemory, 1, frame_len, 0, cbcr_off,
770 frame_len, y_off, cbcr_off, MSM_PMEM_MAINIMG, &mSnapshotStreamBuf,
782 cbcr_off = dim->thumb_frame_offset.mp[1].offset;
784 __func__, dim->rotation, y_off, cbcr_off, frame_len,
788 frame_len, y_off, cbcr_off, MSM_PMEM_THUMBNAIL, &mPostviewStreamBuf,
1602 encode_params.a_cbcroffset = mainframe->cbcr_off;
H A DQCameraHWI.cpp2056 LOGE("%s: %d %d", __func__, newFrame->y_off, newFrame->cbcr_off);
2059 (newFrame->buffer + newFrame->cbcr_off), w * h / 2 * main_422);
2289 int cbcr_off,
2301 LOGE("Init Heap =%p. stream_buf =%p, pmem_type =%d, num_of_buf=%d. buf_len=%d, cbcr_off=%d",
2302 heap, StreamBuf, pmem_type, num_of_buf, buf_len, cbcr_off);
2317 heap->cbcr_offset = cbcr_off;
2378 frame->cbcr_off = planes[0]+heap->cbcr_offset;
2384 "cbcr_off: %d y_off: %d frame_len: %d", __func__,
2386 frame->phy_offset, cbcr_off, y_off, frame->ion_alloc.len);
2401 buf_def->buf.mp[i].planes[j].data_offset = cbcr_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
[all...]

Completed in 241 milliseconds