Lines Matching refs:buffer_set
495 delete[] (buffer_handle_t*)(*it)->buffer_set.buffers;
609 rc = channel->registerBuffers((*it)->buffer_set.num_buffers,
610 (*it)->buffer_set.buffers);
616 __func__, channel, (*it)->buffer_set.num_buffers);
745 const camera3_stream_buffer_set_t *buffer_set)
751 if (buffer_set == NULL) {
752 ALOGE("%s: Invalid buffer_set parameter.", __func__);
756 if (buffer_set->stream == NULL) {
761 if (buffer_set->num_buffers < 1) {
762 ALOGE("%s: Invalid num_buffers %d.", __func__, buffer_set->num_buffers);
766 if (buffer_set->buffers == NULL) {
772 camera3_stream_t *stream = buffer_set->stream;
775 //set the buffer_set in the mStreamInfo array
779 uint32_t numBuffers = buffer_set->num_buffers;
780 (*it)->buffer_set.stream = buffer_set->stream;
781 (*it)->buffer_set.num_buffers = numBuffers;
782 (*it)->buffer_set.buffers = new buffer_handle_t*[numBuffers];
783 if ((*it)->buffer_set.buffers == NULL) {
789 (*it)->buffer_set.buffers[j] = buffer_set->buffers[j];
794 rc = channel->registerBuffers(buffer_set->num_buffers, buffer_set->buffers);
3378 const camera3_stream_buffer_set_t *buffer_set)
3387 int rc = hw->registerStreamBuffers(buffer_set);