Lines Matching refs:super_frame

481 void QCamera3Channel::streamCbRoutine(mm_camera_super_buf_t *super_frame,  in streamCbRoutine()  argument
489 channel->streamCbRoutine(super_frame, stream); in streamCbRoutine()
837 void QCamera3ProcessingChannel::streamCbRoutine(mm_camera_super_buf_t *super_frame, in streamCbRoutine() argument
855 if (checkStreamCbErrors(super_frame, stream) != NO_ERROR) { in streamCbRoutine()
860 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
873 dumpYUV(super_frame->bufs[0], dim, offset, QCAMERA_DUMP_FRM_PREVIEW); in streamCbRoutine()
875 dumpYUV(super_frame->bufs[0], dim, offset, QCAMERA_DUMP_FRM_VIDEO); in streamCbRoutine()
877 dumpYUV(super_frame->bufs[0], dim, offset, QCAMERA_DUMP_FRM_CALLBACK); in streamCbRoutine()
904 mOutOfSequenceBuffers.insert(itr, super_frame); in streamCbRoutine()
913 mOutOfSequenceBuffers.push_back(super_frame); in streamCbRoutine()
934 if (IS_BUFFER_ERROR(super_frame->bufs[0]->flags)) { in streamCbRoutine()
965 free(super_frame); in streamCbRoutine()
966 super_frame = NULL; in streamCbRoutine()
971 super_frame = *itr; in streamCbRoutine()
972 frameIndex = super_frame->bufs[0]->buf_idx; in streamCbRoutine()
1399 int32_t QCamera3ProcessingChannel::checkStreamCbErrors(mm_camera_super_buf_t *super_frame, in checkStreamCbErrors() argument
1407 if(NULL == super_frame) { in checkStreamCbErrors()
1412 if(super_frame->num_bufs != 1) { in checkStreamCbErrors()
1416 if(NULL == super_frame->bufs[0]) { in checkStreamCbErrors()
2259 mm_camera_super_buf_t *super_frame, in streamCbRoutine() argument
2264 if (super_frame == NULL || super_frame->num_bufs != 1) { in streamCbRoutine()
2269 mChannelCB(super_frame, NULL, requestNumber, false, mUserData); in streamCbRoutine()
2380 mm_camera_super_buf_t *super_frame, in streamCbRoutine() argument
2386 dumpRawSnapshot(super_frame->bufs[0]); in streamCbRoutine()
2392 convertMipiToRaw16(super_frame->bufs[0]); in streamCbRoutine()
2394 convertLegacyToRaw16(super_frame->bufs[0]); in streamCbRoutine()
2397 mMemory.cleanCache(super_frame->bufs[0]->buf_idx); in streamCbRoutine()
2400 QCamera3RegularChannel::streamCbRoutine(super_frame, stream); in streamCbRoutine()
2672 void QCamera3RawDumpChannel::streamCbRoutine(mm_camera_super_buf_t *super_frame, in streamCbRoutine() argument
2676 if (super_frame == NULL || super_frame->num_bufs != 1) { in streamCbRoutine()
2682 dumpRawSnapshot(super_frame->bufs[0]); in streamCbRoutine()
2684 bufDone(super_frame); in streamCbRoutine()
2685 free(super_frame); in streamCbRoutine()
2811 void QCamera3HdrPlusRawSrcChannel::streamCbRoutine(mm_camera_super_buf_t *super_frame, in streamCbRoutine() argument
2814 if (super_frame == NULL || super_frame->num_bufs != 1) { in streamCbRoutine()
2820 sendRawToHdrPlusService(super_frame->bufs[0]); in streamCbRoutine()
2822 bufDone(super_frame); in streamCbRoutine()
2823 free(super_frame); in streamCbRoutine()
3144 void QCamera3YUVChannel::streamCbRoutine(mm_camera_super_buf_t *super_frame, in streamCbRoutine() argument
3152 if (checkStreamCbErrors(super_frame, stream) != NO_ERROR) { in streamCbRoutine()
3157 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
3187 IS_BUFFER_ERROR(super_frame->bufs[0]->flags)) { in streamCbRoutine()
3202 *frame = *super_frame; in streamCbRoutine()
3205 free(super_frame); in streamCbRoutine()
3214 ppInfo->callback_buffer = super_frame; in streamCbRoutine()
3222 if (IS_BUFFER_ERROR(super_frame->bufs[0]->flags)) { in streamCbRoutine()
3246 free(super_frame); in streamCbRoutine()
3253 QCamera3ProcessingChannel::streamCbRoutine(super_frame, stream); in streamCbRoutine()
3256 while((super_frame = getNextPendingCbBuffer())) { in streamCbRoutine()
3257 QCamera3ProcessingChannel::streamCbRoutine(super_frame, stream); in streamCbRoutine()
3274 mm_camera_super_buf_t* super_frame = NULL; in getNextPendingCbBuffer() local
3276 if ((super_frame = mOfflinePpInfoList.begin()->callback_buffer)) { in getNextPendingCbBuffer()
3280 return super_frame; in getNextPendingCbBuffer()
3438 mm_camera_super_buf_t* super_frame; in handleOfflinePpCallback() local
3439 while((super_frame = getNextPendingCbBuffer())) { in handleOfflinePpCallback()
3440 pendingCbs.push_back(super_frame); in handleOfflinePpCallback()
4013 void QCamera3PicChannel::streamCbRoutine(mm_camera_super_buf_t *super_frame, in streamCbRoutine() argument
4030 if (checkStreamCbErrors(super_frame, stream) != NO_ERROR) { in streamCbRoutine()
4035 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
4065 *frame = *super_frame; in streamCbRoutine()
4070 if (IS_BUFFER_ERROR(super_frame->bufs[0]->flags)) { in streamCbRoutine()
4076 free(super_frame); in streamCbRoutine()
4559 void QCamera3ReprocessChannel::streamCbRoutine(mm_camera_super_buf_t *super_frame, in streamCbRoutine() argument
4573 if(!super_frame) { in streamCbRoutine()
4578 if(super_frame->num_bufs != 1) { in streamCbRoutine()
4582 if(super_frame->bufs[0] == NULL ) { in streamCbRoutine()
4586 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
4601 *frame = *super_frame; in streamCbRoutine()
4618 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
4641 free(super_frame); in streamCbRoutine()
5599 mm_camera_super_buf_t *super_frame, in streamCbRoutine() argument
5602 if (super_frame == NULL || super_frame->num_bufs != 1) { in streamCbRoutine()
5606 bufDone(super_frame); in streamCbRoutine()
5607 free(super_frame); in streamCbRoutine()