• Home
  • Raw
  • Download

Lines Matching refs:request

2200                     camera3_capture_request_t *request)  in validateCaptureRequest()  argument
2207 if (request == NULL) { in validateCaptureRequest()
2212 if ((request->settings == NULL) && (mState == CONFIGURED)) { in validateCaptureRequest()
2217 uint32_t frameNumber = request->frame_number; in validateCaptureRequest()
2218 if (request->num_output_buffers < 1 || request->output_buffers == NULL) { in validateCaptureRequest()
2223 if (request->num_output_buffers >= MAX_NUM_STREAMS) { in validateCaptureRequest()
2225 request->num_output_buffers, MAX_NUM_STREAMS); in validateCaptureRequest()
2228 if (request->input_buffer != NULL) { in validateCaptureRequest()
2229 b = request->input_buffer; in validateCaptureRequest()
2248 b = request->output_buffers; in validateCaptureRequest()
2278 b = request->output_buffers + idx; in validateCaptureRequest()
2279 } while (idx < (ssize_t)request->num_output_buffers); in validateCaptureRequest()
2375 int64_t QCamera3HardwareInterface::getMinFrameDuration(const camera3_capture_request_t *request) in getMinFrameDuration() argument
2379 for (uint32_t i = 0; i < request->num_output_buffers; i ++) { in getMinFrameDuration()
2380 const camera3_stream_t *stream = request->output_buffers[i].stream; in getMinFrameDuration()
3267 camera3_capture_request_t *request) in processCaptureRequest() argument
3298 rc = validateCaptureRequest(request); in processCaptureRequest()
3305 meta = request->settings; in processCaptureRequest()
3619 uint32_t frameNumber = request->frame_number; in processCaptureRequest()
3644 request->num_output_buffers, in processCaptureRequest()
3645 request->input_buffer, in processCaptureRequest()
3651 for (size_t i = 0; i < request->num_output_buffers; i++) { in processCaptureRequest()
3652 const camera3_stream_buffer_t& output = request->output_buffers[i]; in processCaptureRequest()
3690 if(request->input_buffer == NULL) { in processCaptureRequest()
3701 rc = setFrameParameters(request, streamID, blob_request, snapshotStreamId); in processCaptureRequest()
3716 mFirstFrameNumberInBatch = request->frame_number; in processCaptureRequest()
3719 CAM_INTF_META_FRAME_NUMBER, request->frame_number)) { in processCaptureRequest()
3739 if (request->input_buffer->acquire_fence != -1) { in processCaptureRequest()
3740 rc = sync_wait(request->input_buffer->acquire_fence, TIMEOUT_NEVER); in processCaptureRequest()
3741 close(request->input_buffer->acquire_fence); in processCaptureRequest()
3757 pendingRequest.num_buffers = request->num_output_buffers; in processCaptureRequest()
3762 if (request->input_buffer) { in processCaptureRequest()
3765 *(pendingRequest.input_buffer) = *(request->input_buffer); in processCaptureRequest()
3774 extractJpegMetadata(mCurJpegMeta, request); in processCaptureRequest()
3776 pendingRequest.settings = saveRequestSettings(mCurJpegMeta, request); in processCaptureRequest()
3798 for (size_t i = 0; i < request->num_output_buffers; i++) { in processCaptureRequest()
3801 requestedBuf.stream = request->output_buffers[i].stream; in processCaptureRequest()
3807 bufferInfo.buffer = request->output_buffers[i].buffer; in processCaptureRequest()
3808 bufferInfo.stream = request->output_buffers[i].stream; in processCaptureRequest()
3828 mMetadataChannel->request(NULL, frameNumber); in processCaptureRequest()
3830 if(request->input_buffer != NULL){ in processCaptureRequest()
3832 rc = setReprocParameters(request, &mReprocMeta, snapshotStreamId); in processCaptureRequest()
3843 for (size_t i = 0; i < request->num_output_buffers; i++) { in processCaptureRequest()
3844 const camera3_stream_buffer_t& output = request->output_buffers[i]; in processCaptureRequest()
3854 output.buffer, request->input_buffer, frameNumber); in processCaptureRequest()
3855 if(request->input_buffer != NULL){ in processCaptureRequest()
3856 rc = channel->request(output.buffer, frameNumber, in processCaptureRequest()
3866 if (!request->settings) { in processCaptureRequest()
3867 rc = channel->request(output.buffer, frameNumber, in processCaptureRequest()
3870 rc = channel->request(output.buffer, frameNumber, in processCaptureRequest()
3895 rc = yuvChannel->request(output.buffer, frameNumber, in processCaptureRequest()
3924 rc = channel->request(output.buffer, frameNumber); in processCaptureRequest()
3950 if(request->input_buffer == NULL) { in processCaptureRequest()
5685 const camera3_capture_request_t *request) in extractJpegMetadata() argument
5688 frame_settings = request->settings; in extractJpegMetadata()
7992 camera3_capture_request_t *request, in setFrameParameters() argument
8009 request->frame_number)) { in setFrameParameters()
8032 if(request->settings != NULL){ in setFrameParameters()
8033 rc = translateToHalMetadata(request, mParameters, snapshotStreamId); in setFrameParameters()
8054 camera3_capture_request_t *request, metadata_buffer_t *reprocParam, in setReprocParameters() argument
8060 if (NULL == request->settings){ in setReprocParameters()
8073 request->frame_number)) { in setReprocParameters()
8078 rc = translateToHalMetadata(request, reprocParam, snapshotStreamId); in setReprocParameters()
8085 frame_settings = request->settings; in setReprocParameters()
8116 request->input_buffer->stream, in setReprocParameters()
8122 request->input_buffer->stream, in setReprocParameters()
8179 camera3_capture_request_t *request) in saveRequestSettings() argument
8183 camMetadata = request->settings; in saveRequestSettings()
8319 (const camera3_capture_request_t *request, in translateToHalMetadata() argument
8325 frame_settings = request->settings; in translateToHalMetadata()
8746 int64_t minFrameDuration = getMinFrameDuration(request); in translateToHalMetadata()
8923 convertFromRegions(roi, request->settings, ANDROID_CONTROL_AE_REGIONS); in translateToHalMetadata()
8940 convertFromRegions(roi, request->settings, ANDROID_CONTROL_AF_REGIONS); in translateToHalMetadata()
9268 camera3_capture_request_t *request) in process_capture_request() argument
9278 int rc = hw->processCaptureRequest(request); in process_capture_request()