Lines Matching defs:channel

238         QCamera3Channel *channel = (*it)->channel;
239 if (channel) {
240 channel->stop();
246 QCamera3Channel *channel = (*it)->channel;
250 if (channel)
251 delete channel;
471 QCamera3Channel *channel = (QCamera3Channel*)(*it)->stream->priv;
472 channel->stop();
508 QCamera3Channel *channel =
512 /*delete the channel object associated with the stream because
514 delete channel;
516 (*it)->channel = NULL;
526 stream_info->channel = NULL;
548 QCamera3Channel *channel = (QCamera3Channel*)(*it)->stream->priv;
549 delete channel;
562 //Create metadata channel and initialize it
567 ALOGE("%s: failed to allocate metadata channel", __func__);
574 ALOGE("%s: metadata channel initialization failed", __func__);
581 /* Allocate channel objects for the requested streams */
626 //New stream, construct channel
653 QCamera3Channel *channel;
663 channel = new QCamera3RegularChannel(mCameraHandle->camera_handle,
668 channel = new QCamera3RegularChannel(mCameraHandle->camera_handle,
671 if (channel == NULL) {
672 ALOGE("%s: allocation of channel failed", __func__);
677 newStream->priv = channel;
685 ALOGE("%s: allocation of channel failed", __func__);
702 (*it)->channel = (QCamera3Channel*) newStream->priv;
732 QCamera3Channel *channel = (QCamera3Channel *)(*it)->stream->priv;
736 rc = channel->registerBuffers((*it)->buffer_set.num_buffers,
742 ALOGV("%s: channel %p has %d buffers",
743 __func__, channel, (*it)->buffer_set.num_buffers);
817 QCamera3Channel *channel =
819 if (channel == NULL) {
844 QCamera3Channel *channel =
846 if (channel == NULL) {
1063 QCamera3Channel *channel = (QCamera3Channel *)j->stream->priv;
1064 uint32_t streamID = channel->getStreamID(channel->getStreamTypeMask());
1142 //If it is a blob request then send the metadata to the picture channel
1175 QCamera3Channel *channel = (QCamera3Channel *)j->buffer->stream->priv;
1176 uint32_t streamID = channel->getStreamID(channel->getStreamTypeMask());
1250 QCamera3Channel *channel = (QCamera3Channel *)buffer->stream->priv;
1251 uint32_t streamID = channel->getStreamID(channel->getStreamTypeMask());
1368 QCamera3Channel *channel = (QCamera3Channel *)stream->priv;
1389 rc = channel->registerBuffers(buffer_set->num_buffers, buffer_set->buffers);
1453 QCamera3Channel *channel = (QCamera3Channel *)(*it)->stream->priv;
1454 channel->start();
1483 QCamera3Channel *channel = (QCamera3Channel *)output.stream->priv;
1503 streamID.streamID[i]=channel->getStreamID(channel->getStreamTypeMask());
1535 // Notify metadata channel we receive a request
1541 QCamera3Channel *channel = (QCamera3Channel *)output.stream->priv;
1544 if (channel == NULL) {
1545 ALOGE("%s: invalid channel pointer for stream", __func__);
1556 ALOGE("%s: failed to get input channel handle", __func__);
1577 rc = channel->request(output.buffer, frameNumber, mJpegSettings,
1598 rc = channel->request(output.buffer, frameNumber);
4491 * DESCRIPTION: add a online reprocess channel that will do reprocess on frames
4492 * coming from input channel
4495 * @pInputChannel : ptr to input channel whose frames will be post-processed
4497 * RETURN : Ptr to the newly created channel obj. NULL if failed.
4505 ALOGE("%s: input channel obj is NULL", __func__);
4512 ALOGE("%s: no mem for reprocess channel", __func__);
4516 // Capture channel, only need snapshot and postview streams start together
4523 ALOGE("%s: init reprocess channel failed, ret = %d", __func__, rc);