Home | History | Annotate | Download | only in camera

Lines Matching refs:frames

1343  * camera driver to receive preview frames. The remaining buffers (DstSet),
2857 frames[cnt].fd,
2859 (uint8_t *)frames[cnt].buffer,
3025 * frames which is not the correct behavior. To avoid
3063 //we cannot do inplace conversion as sizes of 420sp and YV12 frames differ
3090 camera_memory_t *previewMem = mGetMemory(frames[bufferIndex].fd, previewBufSize,
3144 frames[bufferIndex].fd, retVal);
3232 LINK_camframe_add_frame(CAM_PREVIEW_FRAME, &frames[bufferIndex]);
3449 // check if any frames are available in busyQ and give callback to
3490 // dump frames for test purpose
3532 // Enable IF block to give frames to encoder , ELSE block for just simulation
3967 frames[cnt].fd = mPreviewHeap->mHeap->getHeapID();
3968 frames[cnt].buffer =
3970 frames[cnt].y_off = 0;
3971 frames[cnt].cbcr_off = CbCrOffset;
3972 frames[cnt].path = OUTPUT_TYPE_P; // MSM_FRAME_ENC;
3979 LINK_camframe_add_frame(CAM_PREVIEW_FRAME,&frames[i]);
4309 // Register Raw frames
4415 // Register Raw frames
4603 // Create memory for Raw YUV frames and Jpeg images
4759 ALOGI(" Cancelling preview buffers %d ",frames[cnt].fd);
4780 __FUNCTION__, frames[cnt].fd);
4939 frames[cnt].fd = handle->fd;
4940 frames[cnt].buffer = (unsigned int)mPreviewMapped[cnt]->data;//(unsigned int)mPreviewHeap[cnt]->mHeap->base();
4941 if(((void *)frames[cnt].buffer == MAP_FAILED)
4942 || (frames[cnt].buffer == 0)) {
4951 frames[cnt].planar0_off = 0;
4952 frames[cnt].planar1_off = myv12_params.CbOffset;
4953 frames[cnt].planar2_off = myv12_params.CrOffset;
4954 frames[cnt].path = OUTPUT_TYPE_P; // MSM_FRAME_ENC;
4957 frames[cnt].planar0_off = 0;
4958 frames[cnt].planar1_off= CbCrOffset;
4959 frames[cnt].planar2_off = 0;
4960 frames[cnt].path = OUTPUT_TYPE_P; // MSM_FRAME_ENC;
4962 frame_buffer[cnt].frame = &frames[cnt];
4973 (uint8_t *)frames[cnt].buffer/*(uint8_t *)mThumbnailMapped*/,
5019 LINK_camframe_add_frame(CAM_PREVIEW_FRAME,&frames[i]);
5505 ALOGI(" flush video and release all frames");
6704 ALOGI("Preview Frames Per Second: %.4f", mFps);
6721 ALOGI("Video Frames Per Second: %.4f", mFps);
7124 // Remove the left out frames in busy Q and them in free Q.
7126 // frames in previous recording are flushed out.
7127 ALOGV("frames in busy Q = %d", g_busy_frame_queue.num_of_frames);
7132 ALOGV("frames in busy Q = %d after deQueing", g_busy_frame_queue.num_of_frames);
7164 nh->data[0] = frames[cnt].fd;
7201 // Remove the left out frames in busy Q and them in free Q.
7203 // frames in previous recording are flushed out.
7204 ALOGV("frames in busy Q = %d", g_busy_frame_queue.num_of_frames);
7209 ALOGV("frames in busy Q = %d after deQueing", g_busy_frame_queue.num_of_frames);
7224 // Start video thread and wait for busy frames to be encoded, this thread
7236 // Remove the left out frames in busy Q and them in free Q.
7802 /* As preview and video frames are same in 3D mode,
9093 "%d frames @ %d size "
9117 // Camera service needs this to decide if the preview frames and raw
9199 // the buffers describing the individual frames until we do know their
9223 "%d frames @ %d uint8_ts, "
9290 "%d frames @ %d bytes, buffer size %d",
9432 "%d frames @ %d bytes, buffer size %d",
9727 ALOGE(" Camframe timed out. Not receiving any frames from camera driver ");