video: adf: add helpers for validating custom formats
authorGreg Hackmann <ghackmann@google.com>
Tue, 15 Oct 2013 19:51:20 +0000 (12:51 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:12 +0000 (13:53 -0800)
commit1f9e414c3a3bc12277c707617f0f49c2f02e51bd
treeebc2257b9673c8e5681c589993bcdbd62c9fd959
parente45fc30f3ee796625e26a8a9d7936bd273e1018f
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