~gma500/gma500/emgd

« back to all changes in this revision

Viewing changes to emgd/emgd-dkms-1.5.15.2856/emgd/video/overlay/tnc/ovl2_tnc.h

  • Committer: José Bernardo Bandos
  • Date: 2010-08-28 15:59:13 UTC
  • Revision ID: jbs@jbs-laptop-20100828155913-pjb47bto6d9h10ey
Reverted to version 54, will add emgd as a new brach. Sorry for the mess.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- pse-c -*-
2
 
 *-----------------------------------------------------------------------------
3
 
 * Filename: ovl2_tnc.h
4
 
 * $Revision: 1.2 $
5
 
 *-----------------------------------------------------------------------------
6
 
 * Copyright © 2002-2010, Intel Corporation.
7
 
 *  
8
 
 * This program is free software; you can redistribute it and/or modify it
9
 
 * under the terms and conditions of the GNU General Public License,
10
 
 * version 2, as published by the Free Software Foundation.
11
 
 * 
12
 
 * This program is distributed in the hope it will be useful, but WITHOUT
13
 
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
 
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
15
 
 * more details.
16
 
 * 
17
 
 * You should have received a copy of the GNU General Public License along with
18
 
 * this program; if not, write to the Free Software Foundation, Inc., 
19
 
 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
20
 
 *-----------------------------------------------------------------------------
21
 
 * Description:
22
 
 *  This is the internal header file for napa overlay engine. It should be not be 
23
 
 *  by any other module besides the overlay module itself. It contains the
24
 
 *  neccessary hardware virtualized structures and functions internal to 
25
 
 *  the napa core's overlay engine
26
 
 *-----------------------------------------------------------------------------
27
 
 */
28
 
#ifndef _OVL2_TNC_H
29
 
#define _OVL2_TNC_H
30
 
extern int blend2_surf_needed_tnc(igd_display_context_t *display,
31
 
        igd_surface_t       *src_surf,
32
 
        igd_rect_t          *src_rect,
33
 
        igd_rect_t          *dest_rect,
34
 
        unsigned int         flags,
35
 
        igd_surface_t       *blend_surf,
36
 
        igd_rect_t          *blend_rect);
37
 
extern int alter_ovl2_tnc(igd_display_context_t *display,
38
 
        igd_surface_t       *src_surf,
39
 
        igd_rect_t          *src_rect,
40
 
        igd_rect_t          *dest_rect,
41
 
        igd_ovl_info_t      *ovl_info,
42
 
        unsigned int         flags);
43
 
extern int query_ovl2_tnc(igd_display_h display_h,
44
 
        unsigned int flags);
45
 
extern int query_max_size_ovl2_tnc(igd_display_h display_h,
46
 
        unsigned long pf,
47
 
        unsigned int *max_width,
48
 
        unsigned int *max_height);
49
 
#endif /* _OVL2_NAP_H */