Home
last modified time | relevance | path

Searched refs:newFrame (Results 1 – 21 of 21) sorted by relevance

/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Rdi.cpp100 void QCameraStream_Rdi::dumpFrameToFile(mm_camera_buf_def_t* newFrame) in dumpFrameToFile() argument
114 if ( newFrame != NULL) { in dumpFrameToFile()
121 void* y_off = newFrame->buffer + newFrame->planes[0].data_offset; in dumpFrameToFile()
122 void* cbcr_off = newFrame->buffer + newFrame->planes[0].length; in dumpFrameToFile()
124 write(file_fd, (const void *)(y_off), newFrame->planes[0].length); in dumpFrameToFile()
126 (newFrame->planes[1].length * newFrame->num_planes)); in dumpFrameToFile()
DQCameraHWI.cpp2714 void QCameraHardwareInterface::dumpFrameToFile(mm_camera_buf_def_t* newFrame, in dumpFrameToFile() argument
2727 ALOGV(" newFrame =%p, frm_type = %x, enabled=%x", newFrame, frm_type, enabled); in dumpFrameToFile()
2729 if((enabled & frm_type) && newFrame) { in dumpFrameToFile()
2744 … snprintf(buf, sizeof(buf), "/data/%dp_%dx%d_%d.yuv", mDumpFrmCnt, w, h, newFrame->frame_idx); in dumpFrameToFile()
2750 … snprintf(buf, sizeof(buf),"/data/%dv_%dx%d_%d.yuv", mDumpFrmCnt, w, h, newFrame->frame_idx); in dumpFrameToFile()
2756 … snprintf(buf, sizeof(buf), "/data/%dm_%dx%d_%d.yuv", mDumpFrmCnt, w, h, newFrame->frame_idx); in dumpFrameToFile()
2765 … snprintf(buf, sizeof(buf),"/data/%dt_%dx%d_%d.yuv", mDumpFrmCnt, w, h, newFrame->frame_idx); in dumpFrameToFile()
2783 write(file_fd, (const void *)(newFrame->buffer), w * h); in dumpFrameToFile()
2785 (newFrame->buffer), w * h / 2 * main_422); in dumpFrameToFile()
DQCameraHWI_Preview.cpp546 void QCameraStream_preview::dumpFrameToFile(mm_camera_buf_def_t *newFrame) in dumpFrameToFile() argument
560 unsigned long * tmp = (unsigned long *)newFrame->buffer; in dumpFrameToFile()
575 __func__, buf, (uint32_t)newFrame->buffer, (void *)addr, len, rc); in dumpFrameToFile()
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c53 extern void dumpFrameToFile(mm_camera_buf_def_t* newFrame, int w, int h,
59 static void dumpRdi(mm_camera_buf_def_t* newFrame, int w, int h, char* name, int main_422) in dumpRdi() argument
65 if ( newFrame != NULL) { in dumpRdi()
72 void *y_off = newFrame->buffer + newFrame->planes[0].data_offset; in dumpRdi()
74 void *cbcr_off = newFrame->buffer + newFrame->planes[0].length; in dumpRdi()
76 …BG("%s: Y_off length = %d cbcr_off length = %d", __func__, newFrame->planes[0].length,newFrame->pl… in dumpRdi()
78 write(file_fd, (const void *)(y_off), newFrame->planes[0].length); in dumpRdi()
80 (newFrame->planes[1].length * newFrame->num_planes)); in dumpRdi()
Dmm_qcamera_display.c424 void draw_rectangles(struct msm_frame* newFrame) in draw_rectangles() argument
433 draw_rect((char*)newFrame->buffer, 640, in draw_rectangles()
440 p_fd_roi = (struct fd_roi_t *)newFrame->roi_info.info; in draw_rectangles()
445 draw_rect((char*)newFrame->buffer, 800, in draw_rectangles()
Dmm_qcamera_preview.c187 void dumpFrameToFile(mm_camera_buf_def_t* newFrame, int w, int h, char* name, int main_422,char *ex… in dumpFrameToFile() argument
192 if ( newFrame != NULL) { in dumpFrameToFile()
199 void* y_off = newFrame->buffer + newFrame->planes[0].data_offset; in dumpFrameToFile()
200 void* cbcr_off = newFrame->buffer + newFrame->planes[0].length; in dumpFrameToFile()
203 …BG("%s: Y_off length = %d cbcr_off length = %d", __func__, newFrame->planes[0].length,newFrame->pl… in dumpFrameToFile()
206 if (newFrame->num_planes > 1) in dumpFrameToFile()
Dmm_qcamera_video.c44 extern void dumpFrameToFile(mm_camera_buf_def_t* newFrame, int w, int h,
Dmm_qcamera_pp.c42 extern void dumpFrameToFile(mm_camera_buf_def_t* newFrame, int w, int h, char* name, int main_422);
Dmm_qcamera_snapshot.c54 extern void dumpFrameToFile(mm_camera_buf_def_t* newFrame, int w, int h, char* name, int main_422,c…
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_preview.c124 void dumpFrameToFile(mm_camera_buf_def_t* newFrame, int w, int h, char* name, int main_422) in dumpFrameToFile() argument
131 if ( newFrame != NULL) { in dumpFrameToFile()
138 CDBG("%s: %d %d", __func__, newFrame->y_off, newFrame->cbcr_off); in dumpFrameToFile()
139 write(file_fd, (const void *)(newFrame->buffer+newFrame->y_off), w * h); in dumpFrameToFile()
141 (newFrame->buffer + newFrame->cbcr_off), w * h / 2 * main_422); in dumpFrameToFile()
147 if ( newFrame != NULL) { in dumpFrameToFile()
154 int y_off = newFrame->buffer + newFrame->planes[0].data_offset; in dumpFrameToFile()
156 int cbcr_off = newFrame->buffer + newFrame->planes[0].length; in dumpFrameToFile()
158 …BG("%s: Y_off length = %d cbcr_off length = %d", __func__, newFrame->planes[0].length,newFrame->pl… in dumpFrameToFile()
160 write(file_fd, (const void *)(y_off), newFrame->planes[0].length); in dumpFrameToFile()
[all …]
Dmm_qcamera_display.c425 void draw_rectangles(struct msm_frame* newFrame) in draw_rectangles() argument
434 draw_rect((char*)newFrame->buffer, 640, in draw_rectangles()
441 p_fd_roi = (struct fd_roi_t *)newFrame->roi_info.info; in draw_rectangles()
446 draw_rect((char*)newFrame->buffer, 800, in draw_rectangles()
/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraStream_Preview.cpp180 void QCameraStream_preview::dumpFrameToFile(mm_camera_buf_def_t *newFrame) in dumpFrameToFile() argument
193 unsigned long * tmp = (unsigned long *)newFrame->buffer; in dumpFrameToFile()
196 len = newFrame->frame_len; in dumpFrameToFile()
204 __func__, buf, (uint32_t)newFrame->buffer, (void *)addr, len, rc); in dumpFrameToFile()
/device/moto/shamu/camera/QCamera/HAL/core/inc/
DQCameraStream.h208 void dumpFrameToFile(mm_camera_buf_def_t* newFrame);
307 void dumpFrameToFile(mm_camera_buf_def_t* newFrame);
/device/lge/mako/camera/QCamera/HAL/core/src/
DQCameraHWI.cpp1994 void QCameraHardwareInterface::dumpFrameToFile(struct msm_frame* newFrame, in dumpFrameToFile() argument
2006 LOGV(" newFrame =%p, frm_type = %d", newFrame, frm_type); in dumpFrameToFile()
2008 if((enabled & frm_type) && newFrame) { in dumpFrameToFile()
2056 LOGE("%s: %d %d", __func__, newFrame->y_off, newFrame->cbcr_off); in dumpFrameToFile()
2057 write(file_fd, (const void *)(newFrame->buffer+newFrame->y_off), w * h); in dumpFrameToFile()
2059 (newFrame->buffer + newFrame->cbcr_off), w * h / 2 * main_422); in dumpFrameToFile()
DQCameraHWI_Preview.cpp778 void QCameraStream_preview::dumpFrameToFile(struct msm_frame* newFrame) in dumpFrameToFile() argument
792 unsigned long * tmp = (unsigned long *)newFrame->buffer; in dumpFrameToFile()
807 __func__, buf, (uint32_t)newFrame->buffer, (void *)addr, len, rc); in dumpFrameToFile()
/device/lge/mako/camera/
DQCameraHWI.cpp2170 void QCameraHardwareInterface::dumpFrameToFile(struct msm_frame* newFrame, in dumpFrameToFile() argument
2183 ALOGV(" newFrame =%p, frm_type = %d", newFrame, frm_type); in dumpFrameToFile()
2185 if((enabled & frm_type) && newFrame) { in dumpFrameToFile()
2233 ALOGV("%s: %d %d", __func__, newFrame->y_off, newFrame->cbcr_off); in dumpFrameToFile()
2234 write(file_fd, (const void *)(newFrame->buffer+newFrame->y_off), w * h); in dumpFrameToFile()
2236 (newFrame->buffer + newFrame->cbcr_off), w * h / 2 * main_422); in dumpFrameToFile()
DQCameraHWI_Preview_7x27A.cpp479 void QCameraStream_preview::dumpFrameToFile(struct msm_frame* newFrame) in dumpFrameToFile() argument
493 unsigned long * tmp = (unsigned long *)newFrame->buffer; in dumpFrameToFile()
508 __func__, buf, (uint32_t)newFrame->buffer, (void *)addr, len, rc); in dumpFrameToFile()
DQCameraStream.h237 void dumpFrameToFile(struct msm_frame* newFrame);
DQCameraHWI_Preview.cpp597 void QCameraStream_preview::dumpFrameToFile(struct msm_frame* newFrame) in dumpFrameToFile() argument
612 unsigned long * tmp = (unsigned long *)newFrame->buffer; in dumpFrameToFile()
627 __func__, buf, (uint32_t)newFrame->buffer, (void *)addr, len, rc); in dumpFrameToFile()
/device/moto/shamu/camera/QCamera/HAL2/core/inc/
DQCameraStream.h207 void dumpFrameToFile(mm_camera_buf_def_t* newFrame);
/device/lge/mako/camera/QCamera/HAL/core/inc/
DQCameraStream.h232 void dumpFrameToFile(struct msm_frame* newFrame);