ipa: raspberrypi: Set default values for member variables of MdParser

Set some sensible default values for member variables of the MdParser
class.

Remove buffer_size_bytes_ along with some related asserts as this class
now uses libcamera::Span for buffer handling, and buffer_size_bytes_ is
unused.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Naushir Patuck 2021-06-14 10:53:36 +01:00 committed by Laurent Pinchart
parent 12fdfee68f
commit f1dbf97eed
3 changed files with 2 additions and 4 deletions

View file

@ -117,7 +117,6 @@ MdParser::Status MdParserImx477::Parse(libcamera::Span<const uint8_t> buffer)
* registers.
*/
assert(bits_per_pixel_);
assert(num_lines_ || buffer_size_bytes_);
/* Need to be ordered */
uint32_t regs[4] = {
EXPHI_REG,