2 * Copyright (C) STMicroelectronics SA 2014
3 * Authors: Fabien Dessenne <fabien.dessenne@st.com> for STMicroelectronics.
4 * License terms: GNU General Public License (GPL), version 2
11 * struct bdisp_filter_h_spec - Horizontal filter specification
13 * @min: min scale factor for this filter (6.10 fixed point)
14 * @max: max scale factor for this filter (6.10 fixed point)
15 * coef: filter coefficients
17 struct bdisp_filter_h_spec {
20 const u8 coef[BDISP_HF_NB];
23 * struct bdisp_filter_v_spec - Vertical filter specification
25 * @min: min scale factor for this filter (6.10 fixed point)
26 * @max: max scale factor for this filter (6.10 fixed point)
27 * coef: filter coefficients
29 struct bdisp_filter_v_spec {
32 const u8 coef[BDISP_VF_NB];
35 /* RGB YUV 601 standard conversion */
36 static const u32 bdisp_rgb_to_yuv[] = {
37 0x0e1e8bee, 0x08420419, 0xfb5ed471, 0x08004080,
40 static const u32 bdisp_yuv_to_rgb[] = {
41 0x3324a800, 0xe604ab9c, 0x0004a957, 0x32121eeb,