Lines Matching refs:buffer_set
247 if ((*it)->registered && (*it)->buffer_set.buffers) {
248 delete[] (buffer_handle_t*)(*it)->buffer_set.buffers;
550 delete[] (buffer_handle_t*)(*it)->buffer_set.buffers;
736 rc = channel->registerBuffers((*it)->buffer_set.num_buffers,
737 (*it)->buffer_set.buffers);
743 __func__, channel, (*it)->buffer_set.num_buffers);
1340 const camera3_stream_buffer_set_t *buffer_set)
1346 if (buffer_set == NULL) {
1347 ALOGE("%s: Invalid buffer_set parameter.", __func__);
1351 if (buffer_set->stream == NULL) {
1356 if (buffer_set->num_buffers < 1) {
1357 ALOGE("%s: Invalid num_buffers %d.", __func__, buffer_set->num_buffers);
1361 if (buffer_set->buffers == NULL) {
1367 camera3_stream_t *stream = buffer_set->stream;
1370 //set the buffer_set in the mStreamInfo array
1374 uint32_t numBuffers = buffer_set->num_buffers;
1375 (*it)->buffer_set.stream = buffer_set->stream;
1376 (*it)->buffer_set.num_buffers = numBuffers;
1377 (*it)->buffer_set.buffers = new buffer_handle_t*[numBuffers];
1378 if ((*it)->buffer_set.buffers == NULL) {
1384 (*it)->buffer_set.buffers[j] = buffer_set->buffers[j];
1389 rc = channel->registerBuffers(buffer_set->num_buffers, buffer_set->buffers);
4219 const camera3_stream_buffer_set_t *buffer_set)
4228 int rc = hw->registerStreamBuffers(buffer_set);