Home | History | Annotate | Download | only in camera

Lines Matching refs:mHdrInfo

2027         } else if (mHdrInfo.hdr_on) {
2028 mHdrInfo.recvd_frame[mHdrInfo.num_raw_received] = frame;
2029 mHdrInfo.num_raw_received++;
2031 mHdrInfo.num_frame, mHdrInfo.num_raw_received, (mHdrInfo.num_frame - mHdrInfo.num_raw_received));
2032 if (mHdrInfo.num_raw_received == mHdrInfo.num_frame) {
2033 ALOGV(" Received all %d YUV frames, Invoke HDR", mHdrInfo.num_raw_received);
2248 memset (&mHdrInfo, 0, sizeof(snap_hdr_record_t ));
2402 if (mHdrInfo.hdr_on) {
2403 ret = initJPEGSnapshot(mHdrInfo.num_frame);
2767 packet.payload.hdr_pkg.num_hdr_frames = mHdrInfo.num_frame;
2768 ALOGV("%s num frames = %d ", __func__, mHdrInfo.num_frame);
2769 for (i = 0; i < mHdrInfo.num_frame; i++) {
2770 packet.payload.hdr_pkg.hdr_main_idx[i] =mHdrInfo.recvd_frame[i]->snapshot.main.idx;
2771 packet.payload.hdr_pkg.hdr_thm_idx[i] = mHdrInfo.recvd_frame[i]->snapshot.thumbnail.idx;
2772 packet.payload.hdr_pkg.exp[i] = mHdrInfo.exp[i];
2787 mHdrInfo.hdr_on = Hdr_on;
2788 mHdrInfo.num_frame = number_frames;
2789 mHdrInfo.num_raw_received = 0;
2792 memcpy(mHdrInfo.exp, exp, sizeof(int)*number_frames);
2794 memset(&mHdrInfo.recvd_frame, 0,
2810 frame = mHdrInfo.recvd_frame[0];
2813 frame = mHdrInfo.recvd_frame[2];
2846 cam_evt_buf_done(mCameraId, mHdrInfo.recvd_frame[i]);
2862 if ( mHdrInfo.recvd_frame[i] != NULL) {
2863 free( mHdrInfo.recvd_frame[i]);
2864 mHdrInfo.recvd_frame[i] = NULL;
2869 if (mHdrInfo.recvd_frame[1]) {
2870 cam_evt_buf_done(mCameraId, mHdrInfo.recvd_frame[1]);
2871 free( mHdrInfo.recvd_frame[1]);
2872 mHdrInfo.recvd_frame[1] = NULL;