Home | History | Annotate | Download | only in include
      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 #ifndef PVMF_WAVFFPARSER_DEFS_H_INCLUDED
     20 #define PVMF_WAVFFPARSER_DEFS_H_INCLUDED
     21 
     22 ///////////////////////////////////////////////
     23 // Port tags
     24 ///////////////////////////////////////////////
     25 
     26 /** Enumerated list of port tags supported by the node,
     27 ** for the port requests.
     28 */
     29 typedef enum
     30 {
     31     PVMF_WAVFFPARSER_NODE_PORT_TYPE_SOURCE
     32 } PVMFWAVFFParserOutPortType;
     33 
     34 // Capability mime strings
     35 #define PVMF_WAVFFPARSER_PORT_OUTPUT_FORMATS "x-pvmf/port/formattype"
     36 #define PVMF_WAVFFPARSER_PORT_OUTPUT_FORMATS_VALTYPE "x-pvmf/port/formattype;valtype=int32"
     37 
     38 
     39 ///////////////////////////////////////////////
     40 // Error Events
     41 ///////////////////////////////////////////////
     42 enum TPFMVWAVFFNodeErrors
     43 {
     44     PVMF_WAVFFNODE_ERROR_PORT_PROCESSING_ERROR = PVMF_NODE_ERROR_EVENT_LAST
     45     //This event is issued when an error occurs
     46     //during port data processing.
     47     //Event data contains the port pointer.
     48 };
     49 
     50 
     51 ///////////////////////////////////////////////
     52 // Information Events
     53 ///////////////////////////////////////////////
     54 
     55 enum TPFMVWAVFFNodeInfo
     56 {
     57     PVMF_WAVFFNODE_INFO_ENDOFTRACK = PVMF_NODE_INFO_EVENT_LAST
     58     //This event is issued whenever a port is deleted.
     59     //Observers should discard the port pointer.
     60     //Event data contains the port pointer.
     61 };
     62 
     63 #endif
     64 
     65