Lines Matching refs:frame
504 int32_t QCamera3Stream::processDataNotify(mm_camera_super_buf_t *frame) in processDataNotify() argument
508 if (mDataQ.enqueue((void *)frame)) { in processDataNotify()
512 bufDone(frame->bufs[0]->buf_idx); in processDataNotify()
513 free(frame); in processDataNotify()
545 mm_camera_super_buf_t *frame = in dataNotifyCB() local
547 if (frame == NULL) { in dataNotifyCB()
552 *frame = *recvd_frame; in dataNotifyCB()
553 stream->processDataNotify(frame); in dataNotifyCB()
593 mm_camera_super_buf_t *frame = in dataProcRoutine() local
595 if (NULL != frame) { in dataProcRoutine()
596 if (UNLIKELY(frame->bufs[0]->buf_type == in dataProcRoutine()
598 pme->handleBatchBuffer(frame); in dataProcRoutine()
600 pme->mDataCB(frame, pme, pme->mUserData); in dataProcRoutine()
603 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine()
1125 mm_camera_super_buf_t *frame = (mm_camera_super_buf_t *)data; in releaseFrameData() local
1129 if(!pme->mFreeBatchBufQ.enqueue((void*) frame->bufs[0])) { in releaseFrameData()
1131 frame->bufs[0]->buf_idx); in releaseFrameData()
1134 pme->bufDone(frame->bufs[0]->buf_idx); in releaseFrameData()
1452 mm_camera_super_buf_t *frame; in handleBatchBuffer() local
1489 frame = (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t)); in handleBatchBuffer()
1490 if (!frame) { in handleBatchBuffer()
1494 memcpy(frame, superBuf, sizeof(mm_camera_super_buf_t)); in handleBatchBuffer()
1495 frame->bufs[0] = &buf; in handleBatchBuffer()
1497 mDataCB(frame, this, mUserData); in handleBatchBuffer()