/device/moto/shamu/camera/QCamera/HAL/core/src/ |
D | QCameraHWI_Rdi.cpp | 100 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()
|
D | QCameraHWI.cpp | 2714 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()
|
D | QCameraHWI_Preview.cpp | 546 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/ |
D | mm_qcamera_rdi.c | 53 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()
|
D | mm_qcamera_display.c | 424 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()
|
D | mm_qcamera_preview.c | 187 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()
|
D | mm_qcamera_video.c | 44 extern void dumpFrameToFile(mm_camera_buf_def_t* newFrame, int w, int h,
|
D | mm_qcamera_pp.c | 42 extern void dumpFrameToFile(mm_camera_buf_def_t* newFrame, int w, int h, char* name, int main_422);
|
D | mm_qcamera_snapshot.c | 54 extern void dumpFrameToFile(mm_camera_buf_def_t* newFrame, int w, int h, char* name, int main_422,c…
|
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
D | QCameraStream_Preview.cpp | 180 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/ |
D | QCameraStream.h | 208 void dumpFrameToFile(mm_camera_buf_def_t* newFrame); 307 void dumpFrameToFile(mm_camera_buf_def_t* newFrame);
|
/device/moto/shamu/camera/QCamera/HAL2/core/inc/ |
D | QCameraStream.h | 207 void dumpFrameToFile(mm_camera_buf_def_t* newFrame);
|