1 #ifndef QDSP5VIDDECMSGI_H
2 #define QDSP5VIDDECMSGI_H
4 /*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*
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
9 This file contains defintions of format blocks of messages
10 that are sent by VIDDEC Task
15 EXTERNALIZED FUNCTIONS
18 Copyright(c) 1992 - 2008 by QUALCOMM, Incorporated.
20 This software is licensed under the terms of the GNU General Public
21 License version 2, as published by the Free Software Foundation, and
22 may be copied, distributed, and modified under those terms.
24 This program is distributed in the hope that it will be useful,
25 but WITHOUT ANY WARRANTY; without even the implied warranty of
26 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 GNU General Public License for more details.
29 *====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*/
30 /*===========================================================================
34 This section contains comments describing changes made to this file.
35 Notice that changes are listed in reverse chronological order.
37 $Header: //source/qcom/qct/multimedia2/AdspSvc/7XXX/qdsp5cmd/video/qdsp5vdecmsg.h#2 $ $DateTime: 2008/07/30 10:50:23 $ $Author: pavanr $
40 when who what, where, why
41 -------- --- ----------------------------------------------------------
42 05/10/08 ac initial version
43 ===========================================================================*/
46 * Message to inform ARM which VDEC_SUBFRAME_PKT_CMD processed by VIDDEC TASK
49 #define VIDDEC_MSG_SUBF_DONE 0x0000
50 #define VIDDEC_MSG_SUBF_DONE_LEN \
51 sizeof(viddec_msg_subf_done)
54 unsigned short packet_seq_number
;
55 unsigned short codec_instance_id
;
56 } __attribute__((packed
)) viddec_msg_subf_done
;
60 * Message to inform ARM one frame has been decoded
63 #define VIDDEC_MSG_FRAME_DONE 0x0001
64 #define VIDDEC_MSG_FRAME_DONE_LEN \
65 sizeof(viddec_msg_frame_done)
68 unsigned short packet_seq_number
;
69 unsigned short codec_instance_id
;
70 } __attribute__((packed
)) viddec_msg_frame_done
;
74 * Message to inform ARM that post processing frame has been decoded
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)
82 unsigned short packet_seq_number
;
83 unsigned short codec_instance_id
;
84 } __attribute__((packed
)) viddec_msg_pp_enable_cmd_done
;
88 * Message to inform ARM that one post processing frame has been decoded
92 #define VIDDEC_MSG_PP_FRAME_DONE 0x0003
93 #define VIDDEC_MSG_PP_FRAME_DONE_LEN \
94 sizeof(viddec_msg_pp_frame_done)
96 #define VIDDEC_MSG_DISP_WORTHY_DISP 0x0000
97 #define VIDDEC_MSG_DISP_WORTHY_DISP_NONE 0xFFFF
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
;