• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/dream/include/mach/qdsp5/
1#ifndef QDSP5VIDDECMSGI_H
2#define QDSP5VIDDECMSGI_H
3
4/*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*
5
6    V I D E O  D E C O D E R   I N T E R N A L  M E S S A G E S
7
8GENERAL DESCRIPTION
9  This file contains defintions of format blocks of messages
10  that are sent by VIDDEC Task
11
12REFERENCES
13  None
14
15EXTERNALIZED FUNCTIONS
16  None
17
18Copyright(c) 1992 - 2008 by QUALCOMM, Incorporated.
19
20This software is licensed under the terms of the GNU General Public
21License version 2, as published by the Free Software Foundation, and
22may be copied, distributed, and modified under those terms.
23
24This program is distributed in the hope that it will be useful,
25but WITHOUT ANY WARRANTY; without even the implied warranty of
26MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27GNU General Public License for more details.
28
29*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*/
30/*===========================================================================
31
32                      EDIT HISTORY FOR FILE
33
34This section contains comments describing changes made to this file.
35Notice that changes are listed in reverse chronological order.
36
37$Header: //source/qcom/qct/multimedia2/AdspSvc/7XXX/qdsp5cmd/video/qdsp5vdecmsg.h#2 $ $DateTime: 2008/07/30 10:50:23 $ $Author: pavanr $
38Revision History:
39
40when       who     what, where, why
41--------   ---     ----------------------------------------------------------
4205/10/08   ac      initial version
43===========================================================================*/
44
45/*
46 * Message to inform ARM which VDEC_SUBFRAME_PKT_CMD processed by VIDDEC TASK
47 */
48
49#define	VIDDEC_MSG_SUBF_DONE	0x0000
50#define	VIDDEC_MSG_SUBF_DONE_LEN	\
51	sizeof(viddec_msg_subf_done)
52
53typedef struct {
54	unsigned short	packet_seq_number;
55	unsigned short	codec_instance_id;
56} __attribute__((packed)) viddec_msg_subf_done;
57
58
59/*
60 * Message to inform ARM one frame has been decoded
61 */
62
63#define	VIDDEC_MSG_FRAME_DONE	0x0001
64#define	VIDDEC_MSG_FRAME_DONE_LEN	\
65	sizeof(viddec_msg_frame_done)
66
67typedef struct {
68	unsigned short	packet_seq_number;
69	unsigned short	codec_instance_id;
70} __attribute__((packed)) viddec_msg_frame_done;
71
72
73/*
74 * Message to inform ARM that post processing frame has been decoded
75 */
76
77#define	VIDDEC_MSG_PP_ENABLE_CMD_DONE	0x0002
78#define	VIDDEC_MSG_PP_ENABLE_CMD_DONE_LEN	\
79	sizeof(viddec_msg_pp_enable_cmd_done)
80
81typedef struct {
82	unsigned short	packet_seq_number;
83	unsigned short	codec_instance_id;
84} __attribute__((packed)) viddec_msg_pp_enable_cmd_done;
85
86
87/*
88 * Message to inform ARM that one post processing frame has been decoded
89 */
90
91
92#define	VIDDEC_MSG_PP_FRAME_DONE		0x0003
93#define	VIDDEC_MSG_PP_FRAME_DONE_LEN	\
94	sizeof(viddec_msg_pp_frame_done)
95
96#define	VIDDEC_MSG_DISP_WORTHY_DISP		0x0000
97#define	VIDDEC_MSG_DISP_WORTHY_DISP_NONE	0xFFFF
98
99
100typedef struct {
101	unsigned short	packet_seq_number;
102	unsigned short	codec_instance_id;
103	unsigned short	display_worthy;
104} __attribute__((packed)) viddec_msg_pp_frame_done;
105
106
107#endif
108