Lines Matching refs:frame
587 int32_t QCamera3Stream::processDataNotify(mm_camera_super_buf_t *frame) in processDataNotify() argument
591 if (mDataQ.enqueue((void *)frame)) { in processDataNotify()
595 bufDone(frame->bufs[0]->buf_idx); in processDataNotify()
596 free(frame); in processDataNotify()
628 mm_camera_super_buf_t *frame = in dataNotifyCB() local
630 if (frame == NULL) { in dataNotifyCB()
635 *frame = *recvd_frame; in dataNotifyCB()
636 stream->processDataNotify(frame); in dataNotifyCB()
693 mm_camera_super_buf_t *frame = in dataProcRoutine() local
695 if (NULL != frame) { in dataProcRoutine()
696 if (UNLIKELY(frame->bufs[0]->buf_type == in dataProcRoutine()
698 pme->handleBatchBuffer(frame); in dataProcRoutine()
700 pme->mDataCB(frame, pme, pme->mUserData); in dataProcRoutine()
703 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine()
1296 mm_camera_super_buf_t *frame = (mm_camera_super_buf_t *)data; in releaseFrameData() local
1300 if(!pme->mFreeBatchBufQ.enqueue((void*) frame->bufs[0])) { in releaseFrameData()
1302 frame->bufs[0]->buf_idx); in releaseFrameData()
1305 pme->bufDone(frame->bufs[0]->buf_idx); in releaseFrameData()
1628 mm_camera_super_buf_t *frame; in handleBatchBuffer() local
1665 frame = (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t)); in handleBatchBuffer()
1666 if (!frame) { in handleBatchBuffer()
1670 memcpy(frame, superBuf, sizeof(mm_camera_super_buf_t)); in handleBatchBuffer()
1671 frame->bufs[0] = &buf; in handleBatchBuffer()
1673 mDataCB(frame, this, mUserData); in handleBatchBuffer()