Lines Matching refs:frame
605 int32_t QCamera3Stream::processDataNotify(mm_camera_super_buf_t *frame) in processDataNotify() argument
609 if (mDataQ.enqueue((void *)frame)) { in processDataNotify()
613 bufDone(frame->bufs[0]->buf_idx); in processDataNotify()
614 free(frame); in processDataNotify()
646 mm_camera_super_buf_t *frame = in dataNotifyCB() local
648 if (frame == NULL) { in dataNotifyCB()
653 *frame = *recvd_frame; in dataNotifyCB()
654 stream->processDataNotify(frame); in dataNotifyCB()
711 mm_camera_super_buf_t *frame = in dataProcRoutine() local
713 if (NULL != frame) { in dataProcRoutine()
714 if (UNLIKELY(frame->bufs[0]->buf_type == in dataProcRoutine()
716 pme->handleBatchBuffer(frame); in dataProcRoutine()
718 pme->mDataCB(frame, pme, pme->mUserData); in dataProcRoutine()
721 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine()
1335 mm_camera_super_buf_t *frame = (mm_camera_super_buf_t *)data; in releaseFrameData() local
1339 if(!pme->mFreeBatchBufQ.enqueue((void*) frame->bufs[0])) { in releaseFrameData()
1341 frame->bufs[0]->buf_idx); in releaseFrameData()
1344 pme->bufDone(frame->bufs[0]->buf_idx); in releaseFrameData()
1703 mm_camera_super_buf_t *frame; in handleBatchBuffer() local
1740 frame = (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t)); in handleBatchBuffer()
1741 if (!frame) { in handleBatchBuffer()
1745 memcpy(frame, superBuf, sizeof(mm_camera_super_buf_t)); in handleBatchBuffer()
1746 frame->bufs[0] = &buf; in handleBatchBuffer()
1748 mDataCB(frame, this, mUserData); in handleBatchBuffer()