Home
last modified time | relevance | path

Searched refs:newFrame (Results 1 – 12 of 12) 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/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/moto/shamu/camera/QCamera/HAL2/core/inc/
DQCameraStream.h207 void dumpFrameToFile(mm_camera_buf_def_t* newFrame);