linux/drivers/gpu/drm/xilinx/xilinx_rgb2yuv.h
<<
>>
Prefs
   1/*
   2 * Color Space Converter Header for Xilinx DRM KMS
   3 *
   4 *  Copyright (C) 2013 Xilinx, Inc.
   5 *
   6 *  Author: Hyun Woo Kwon <hyunk@xilinx.com>
   7 *
   8 * This software is licensed under the terms of the GNU General Public
   9 * License version 2, as published by the Free Software Foundation, and
  10 * may be copied, distributed, and modified under those terms.
  11 *
  12 * This program is distributed in the hope that it will be useful,
  13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15 * GNU General Public License for more details.
  16 */
  17
  18#ifndef _XILINX_RGB2YUV_H_
  19#define _XILINX_RGB2YUV_H_
  20
  21struct xilinx_rgb2yuv;
  22
  23void xilinx_rgb2yuv_configure(struct xilinx_rgb2yuv *rgb2yuv,
  24                              int hactive, int vactive);
  25void xilinx_rgb2yuv_reset(struct xilinx_rgb2yuv *rgb2yuv);
  26void xilinx_rgb2yuv_enable(struct xilinx_rgb2yuv *rgb2yuv);
  27void xilinx_rgb2yuv_disable(struct xilinx_rgb2yuv *rgb2yuv);
  28
  29struct device;
  30struct device_node;
  31
  32struct xilinx_rgb2yuv *xilinx_rgb2yuv_probe(struct device *dev,
  33                                            struct device_node *node);
  34
  35#endif /* _XILINX_RGB2YUV_H_ */
  36