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

Commit e0e091f2 authored by Deva Ramasubramanian's avatar Deva Ramasubramanian
Browse files

msm: vidc: Update comments in documentation of color formats



The extradata size mentioned in the documentation was misleading since
we had increased the size to 8k earlier on.

Change-Id: Ief77ced534dd0d79d9f6b272c0c6c671b8a9681d
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
parent ff86e4ff
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -37,8 +37,9 @@ enum color_fmts {
	 * UV_Stride : Width aligned to 128
	 * Y_Scanlines: Height aligned to 32
	 * UV_Scanlines: Height/2 aligned to 16
	 * Extradata: Arbitrary (software-imposed) padding
	 * Total size = align((Y_Stride * Y_Scanlines
	 *          + UV_Stride * UV_Scanlines + 4096), 4096)
	 *          + UV_Stride * UV_Scanlines + Extradata), 4096)
	 */
	COLOR_FMT_NV12,

@@ -73,8 +74,9 @@ enum color_fmts {
	 * UV_Stride : Width aligned to 128
	 * Y_Scanlines: Height aligned to 32
	 * UV_Scanlines: Height/2 aligned to 16
	 * Extradata: Arbitrary (software-imposed) padding
	 * Total size = align((Y_Stride * Y_Scanlines
	 *          + UV_Stride * UV_Scanlines + 4096), 4096)
	 *          + UV_Stride * UV_Scanlines + Extradata), 4096)
	 */
	COLOR_FMT_NV21,
	/* Venus NV12_MVTB:
@@ -131,8 +133,9 @@ enum color_fmts {
	 * UV_Scanlines: Height/2 aligned to 16
	 * View_1 begin at: 0 (zero)
	 * View_2 begin at: Y_Stride * Y_Scanlines + UV_Stride * UV_Scanlines
	 * Extradata: Arbitrary (software-imposed) padding
	 * Total size = align((2*(Y_Stride * Y_Scanlines)
	 *          + 2*(UV_Stride * UV_Scanlines) + 4096), 4096)
	 *          + 2*(UV_Stride * UV_Scanlines) + Extradata), 4096)
	 */
	COLOR_FMT_NV12_MVTB,
};