Lines Matching refs:bufs
639 encode_parm.src_main_buf[i].buf_size = halpp_out_buf->bufs[0]->frame_len; in getJpegEncodingConfig()
640 encode_parm.src_main_buf[i].buf_vaddr = (uint8_t *)halpp_out_buf->bufs[0]->buffer; in getJpegEncodingConfig()
641 encode_parm.src_main_buf[i].fd = halpp_out_buf->bufs[0]->fd; in getJpegEncodingConfig()
1009 src_frame->bufs[i]->stream_id); in getOfflinePPInputBuffer()
1013 data_frame = src_frame->bufs[i]; in getOfflinePPInputBuffer()
1016 meta_frame = src_frame->bufs[i]; in getOfflinePPInputBuffer()
1074 if (frame->bufs[i]->stream_type == CAM_STREAM_TYPE_METADATA) { in processData()
1075 meta_frame = frame->bufs[i]; in processData()
1113 mm_camera_buf_def_t *bufs = NULL; in processData() local
1115 bufs = new mm_camera_buf_def_t[num_bufs]; in processData()
1116 if (NULL == bufs) { in processData()
1122 bufs[i] = *frame->bufs[i]; in processData()
1123 frame->bufs[i] = &bufs[i]; in processData()
1125 pp_request_job->src_reproc_bufs = bufs; in processData()
1472 pSnapshotStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in processPPData()
1475 pReprocFrame = frame->bufs[i]; in processPPData()
1576 if (job->src_reproc_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_METADATA) { in processPPData()
1577 meta_frame = job->src_reproc_frame->bufs[i]; in processPPData()
1585 if (frame->bufs[i]->stream_type == CAM_STREAM_TYPE_METADATA) { in processPPData()
1586 meta_frame = frame->bufs[i]; in processPPData()
1618 pOfflineMetadataStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in processPPData()
1621 pOfflineMetaFrame = frame->bufs[i]; in processPPData()
1909 if (super_buf->bufs[i] != NULL) { in releaseSuperBuf()
1911 pChannel->getStreamByHandle(super_buf->bufs[i]->stream_id); in releaseSuperBuf()
1914 pChannel->bufDone(super_buf, super_buf->bufs[i]->stream_id); in releaseSuperBuf()
2180 pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in queryStreams()
2188 *main_image = frame->bufs[i]; in queryStreams()
2195 *thumb_image = frame->bufs[i]; in queryStreams()
2211 reproc_frame->bufs[i]->stream_id); in queryStreams()
2216 *thumb_image = reproc_frame->bufs[i]; in queryStreams()
2413 main_stream = pChannel->getStreamByHandle(jpeg_job_data->src_frame->bufs[0]->stream_id); in encodeData()
2428 main_frame = jpeg_job_data->src_frame->bufs[0]; in encodeData()
2897 pChannel->getStreamByHandle(recvd_frame->bufs[i]->stream_id); in processRawImageImpl()
2904 frame = recvd_frame->bufs[i]; in processRawImageImpl()
3429 src_frame->bufs[i]->stream_id); in doReprocess()
3431 meta_buf_index = (uint8_t) src_frame->bufs[i]->buf_idx; in doReprocess()
3433 meta_buf = src_frame->bufs[i]; in doReprocess()
3453 src_reproc_frame->bufs[i]->stream_id); in doReprocess()
3455 meta_buf_index = (uint8_t) src_reproc_frame->bufs[i]->buf_idx; in doReprocess()
3457 meta_buf = src_reproc_frame->bufs[i]; in doReprocess()
3658 pChannel->getStreamByHandle(recvd_frame->bufs[i]->stream_id); in setYUVFrameInfo()
4069 jpeg_job->hal_pp_bufs = pData->bufs; in processHalPPData()
4099 if (frame->bufs[i]->stream_type == CAM_STREAM_TYPE_METADATA) { in processHalPPData()
4100 meta_frame = frame->bufs[i]; in processHalPPData()
4166 output_data->bufs = in getHalPPOutputBuffer()
4168 if (output_data->bufs == NULL) { in getHalPPOutputBuffer()
4174 memset(output_data->bufs, 0, HAL_PP_NUM_BUFS * sizeof(mm_camera_buf_def_t)); in getHalPPOutputBuffer()
4180 free(output_data->bufs); in getHalPPOutputBuffer()
4189 free(output_data->bufs); in getHalPPOutputBuffer()