Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56a0c77c authored by Venkat Chinta's avatar Venkat Chinta
Browse files

msm: camera: vfe: Correct bytes to sample conversion



Byte to sample conversion for Plain8 formats for 10 bit
pipeline should be one byte per sample. This change
corrects the same.

Change-Id: I97a66df8106f1e74f70a9a8df6bfa4ac7f506057
Signed-off-by: default avatarVenkat Chinta <vchinta@codeaurora.org>
parent b1d3f812
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -3186,11 +3186,9 @@ static uint32_t cam_vfe_bus_ver3_convert_bytes_to_pixels(uint32_t packer_fmt,
		break;
	case PACKER_FMT_VER3_PLAIN_8:
	case PACKER_FMT_VER3_PLAIN_8_ODD_EVEN:
		pixels = width;
		break;
	case PACKER_FMT_VER3_PLAIN_8_LSB_MSB_10:
	case PACKER_FMT_VER3_PLAIN_8_LSB_MSB_10_ODD_EVEN:
		pixels = width * 8 / 10;
		pixels = width;
		break;
	case PACKER_FMT_VER3_PLAIN_16_10BPP:
	case PACKER_FMT_VER3_PLAIN_16_12BPP: