1 /*
2  * Copyright (c) 2011 Intel Corporation. All Rights Reserved.
3  * Copyright (c) Imagination Technologies Limited, UK
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a
6  * copy of this software and associated documentation files (the
7  * "Software"), to deal in the Software without restriction, including
8  * without limitation the rights to use, copy, modify, merge, publish,
9  * distribute, sub license, and/or sell copies of the Software, and to
10  * permit persons to whom the Software is furnished to do so, subject to
11  * the following conditions:
12  *
13  * The above copyright notice and this permission notice (including the
14  * next paragraph) shall be included in all copies or substantial portions
15  * of the Software.
16  *
17  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
20  * IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
21  * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24  */
25 
26 
27 /******************************************************************************
28 
29  @File         dxva_fw_flags.h
30 
31  @Title        Dxva Firmware Message Flags
32 
33  @Platform
34 
35  @Description
36 
37 ******************************************************************************/
38 #ifndef _VA_FW_FLAGS_H_
39 #define _VA_FW_FLAGS_H_
40 
41 /* Flags */
42 
43 #define FW_VA_RENDER_IS_FIRST_SLICE                                             0x00000001
44 #define FW_VA_RENDER_IS_H264_MBAFF                                              0x00000002
45 #define FW_VA_RENDER_IS_LAST_SLICE                                              0x00000004
46 #define FW_VA_RENDER_IS_TWO_PASS_DEBLOCK                                        0x00000008
47 
48 #define REPORT_STATUS                                                                           0x00000010
49 
50 #define FW_VA_RENDER_IS_VLD_NOT_MC                                              0x00000800
51 #define FW_DEVA_IMMEDIATE_ABORT_FAULTED                                         0x00000800
52 
53 #define FW_ERROR_DETECTION_AND_RECOVERY                                         0x00000100
54 #define FW_VA_RENDER_NO_RESPONCE_MSG                                            0x00002000  /* Cause no responce message to be sent, and no interupt generation on successfull completion */
55 #define FW_VA_RENDER_HOST_INT                                                           0x00004000
56 #define FW_DEVA_DEBLOCK_ENABLE                                              0x00000400
57 #define FW_VA_RENDER_VC1_BITPLANE_PRESENT                                   0x00008000
58 #define FW_INTERNAL_CONTEXT_SWITCH                                          0x00000040
59 #endif /*_VA_FW_FLAGS_H_*/
60