Lines Matching refs:buf_idx

257                         frame->bufs[i]->buf_idx,  in zsl_channel_cb()
344 uint32_t idx = preview_frame->buf_idx; in selectScene()
615 memory->cleanCache(pFrame->buf_idx); in TsMakeupProcess()
738 memory->setBufferStatus(frame->buf_idx, STATUS_SKIPPED); in synchronous_stream_cb_routine()
761 uint32_t idx = frame->buf_idx; in synchronous_stream_cb_routine()
845 memory->isBufSkipped(frame->buf_idx)) { in preview_stream_cb_routine()
847 memory->setBufferStatus(frame->buf_idx, STATUS_IDLE); in preview_stream_cb_routine()
853 stream->bufDone(frame->buf_idx); in preview_stream_cb_routine()
856 uint32_t idx = frame->buf_idx; in preview_stream_cb_routine()
1181 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine()
1193 preview_mem = previewMemObj->getMemory(frame->buf_idx, false); in nodisplay_preview_stream_cb_routine()
1206 cbArg.user_data = (void *) &frame->buf_idx; in nodisplay_preview_stream_cb_routine()
1214 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine()
1217 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine()
1265 stream->bufDone(frame->buf_idx); in secure_stream_cb_routine()
1269 int fd = memObj->getFd(frame->buf_idx); in secure_stream_cb_routine()
1272 LOGD("Secure frame fd =%d for index = %d ", fd, frame->buf_idx); in secure_stream_cb_routine()
1282 cbArg.user_data = (void *) &frame->buf_idx; in secure_stream_cb_routine()
1288 stream->bufDone(frame->buf_idx); in secure_stream_cb_routine()
1292 stream->bufDone(frame->buf_idx); in secure_stream_cb_routine()
1342 stream->bufDone(frame->buf_idx); in rdi_mode_stream_cb_routine()
1352 stream->bufDone(frame->buf_idx); in rdi_mode_stream_cb_routine()
1356 preview_mem = previewMemObj->getMemory(frame->buf_idx, false); in rdi_mode_stream_cb_routine()
1358 previewMemObj->cleanCache(frame->buf_idx); in rdi_mode_stream_cb_routine()
1370 cbArg.user_data = (void *) &frame->buf_idx; in rdi_mode_stream_cb_routine()
1378 stream->bufDone(frame->buf_idx); in rdi_mode_stream_cb_routine()
1382 stream->bufDone(frame->buf_idx); in rdi_mode_stream_cb_routine()
1440 err = stream->bufDone(frame->buf_idx); in postview_stream_cb_routine()
1511 video_mem = videoMemObj->getMemory(frame->buf_idx, in video_stream_cb_routine()
1515 timeStamp, frame->buf_idx); in video_stream_cb_routine()
1540 stream->bufDone(frame->buf_idx); in video_stream_cb_routine()
1554 = (uint8_t)frame->buf_idx; in video_stream_cb_routine()
1561 (int)videoMemObj->getFd(frame->buf_idx), //FD in video_stream_cb_routine()
1562 (int)videoMemObj->getSize(frame->buf_idx),//Size in video_stream_cb_routine()
1583 video_mem = videoMemObj->getMemory(frame->buf_idx, true); in video_stream_cb_routine()
1584 nh = videoMemObj->getNativeHandle(frame->buf_idx); in video_stream_cb_routine()
1594 if (frame->user_buf.buf_idx[i] >= 0) { in video_stream_cb_routine()
1596 &frame->user_buf.plane_buf[frame->user_buf.buf_idx[i]]; in video_stream_cb_routine()
1603 (int)frameobj->getFd(plane_frame->buf_idx), in video_stream_cb_routine()
1604 (int)frameobj->getSize(plane_frame->buf_idx), in video_stream_cb_routine()
1608 (frame_ts - timeStamp), plane_frame->fd, plane_frame->buf_idx); in video_stream_cb_routine()
1614 timeStamp, frame->fd, frame->buf_idx, fd_cnt); in video_stream_cb_routine()
1617 stream->bufDone(super_frame->bufs[0]->buf_idx); in video_stream_cb_routine()
1642 stream->bufDone(frame->buf_idx); in video_stream_cb_routine()
1926 stream->bufDone(raw_frame->buf_idx); in preview_raw_stream_cb_routine()
1978 stream->bufDone(super_frame->bufs[i]->buf_idx); in snapshot_raw_stream_cb_routine()
2688 stream->bufDone(frame->buf_idx); in callback_stream_cb_routine()
2700 int32_t rc = pme->sendPreviewCallback(stream, previewMemObj, frame->buf_idx); in callback_stream_cb_routine()
2705 stream->bufDone(frame->buf_idx); in callback_stream_cb_routine()