video: adf: add helpers for validating custom formats
authorGreg Hackmann <ghackmann@google.com>
Tue, 15 Oct 2013 19:51:20 +0000 (12:51 -0700)
committerGreg Hackmann <ghackmann@google.com>
Thu, 24 Oct 2013 17:04:56 +0000 (10:04 -0700)
commit896971ea097116d141ef8811421d13eddf8f94b2
treebfaff7c3a20e73784c9b167f910da5d9ce27f644
parent27e7183c5aa432bfd6a99e6164761eae3917748b
video: adf: add helpers for validating custom formats

Many custom formats look a lot like the standard ones, but with
different subsampling, bpp, etc.  Expose and document
adf_buffer_validate()'s main body, so drivers can reuse its logic when
validating these formats.

Change-Id: I1d06981c9e5aab26f3ab2956c08c679f2c823bcc
Signed-off-by: Greg Hackmann <ghackmann@google.com>
drivers/video/adf/adf.c
drivers/video/adf/adf_client.c
include/video/adf.h