Home
last modified time | relevance | path

Searched refs:bytes_to_read (Results 1 – 1 of 1) sorted by relevance

/device/google/marlin/camera/usbcamcore/src/
DQCameraMjpegDecode.cpp622 int bytes_to_read, bytes_read, rc; in decoder_input_req_handler() local
631 bytes_to_read = (length < buf_size) ? length : buf_size; in decoder_input_req_handler()
634 …f_size = %d bytes_to_read = %d", __func__, buf_ptr, start_offset, length, buf_size, bytes_to_read); in decoder_input_req_handler()
635 if (bytes_to_read) in decoder_input_req_handler()
639 memcpy(buf_ptr, (char *)mjpegd->inputMjpegBuffer + start_offset, bytes_to_read); in decoder_input_req_handler()
644 bytes_read = bytes_to_read; in decoder_input_req_handler()