• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* ------------------------------------------------------------------
2  * Copyright (C) 1998-2009 PacketVideo
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13  * express or implied.
14  * See the License for the specific language governing permissions
15  * and limitations under the License.
16  * -------------------------------------------------------------------
17  */
18 /**
19  *  @file pvmf_media_msg_format_ids.h
20  *  @brief This file defines the PV Multimedia Framework (PVMF) media message
21  *  format ids which is used for in-band control/command messages sent over
22  *  the normal media data path. All media data msgs have an id of zero and each
23  *  PVMF Media Command has an unique ID
24  */
25 
26 #ifndef PVMF_MEDIA_MSG_FORMAT_IDS_H_INCLUDED
27 #define PVMF_MEDIA_MSG_FORMAT_IDS_H_INCLUDED
28 
29 #ifndef PV_UUID_H_INCLUDED
30 #include "pv_uuid.h"
31 #endif
32 
33 const PVUid32 PVMF_MEDIA_MSG_FORMAT_UNDEFINED = 0xFFFFFFFF;
34 
35 /* zero through 255 is reserved for media data */
36 const PVUid32 PVMF_MEDIA_MSG_DATA_FORMAT_ID = 0x00000000;
37 
38 /* common commands start from 256 and go upto 511 */
39 const PVUid32 PVMF_MEDIA_CMD_FORMAT_IDS_START = 0x00000100;
40 
41 const PVUid32 PVMF_MEDIA_CMD_EOS_FORMAT_ID  = 0x00000101;
42 
43 const PVUid32 PVMF_MEDIA_CMD_RE_CONFIG_FORMAT_ID = 0x00000102;
44 
45 /* add new command ids here */
46 const PVUid32 PVMF_MEDIA_CMD_BOS_FORMAT_ID  = 0x00000103;
47 
48 /* format id for no-op messages */
49 const PVUid32 PVMF_MEDIA_CMD_NOOP_FORMAT_ID  = 0x00000104;
50 
51 const PVUid32 PVMF_MEDIA_CMD_FORMAT_IDS_END = 0x00000200;
52 
53 /* command ids above 512 are reserved for node specific commands */
54 #endif
55 
56