• 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 #ifndef PVMF_OMX_ENC_NODE_EXTENSION_INTERFACE_H_INCLUDED
19 #define PVMF_OMX_ENC_NODE_EXTENSION_INTERFACE_H_INCLUDED
20 
21 struct PVMFOMXEncNodeConfig
22 {
23     bool iPostProcessingEnable;
24     int32 iPostProcessingMode;
25     bool iDropFrame;
26     uint32 iMimeType;
27 };
28 
29 //Mimetype and Uuid for the custom interface
30 #define PVMF_OMX_ENC_NODE_CUSTOM1_UUID 1,2,3,0xde,0xad,0xae,0xcf,0x20,0x11,0x73,0x33
31 
32 //Mimetypes for the custom interface
33 #define PVMF_OMX_ENC_NODE_CUSTOM1_MIMETYPE "pvxxx/OMXEncNode/Custom1"
34 
35 class PVMFOMXEncNodeExtensionInterface : public PVInterface
36 {
37     public:
38         //**********begin PVInterface
39         virtual void addRef() = 0;
40         virtual void removeRef() = 0;
41         virtual bool queryInterface(const PVUuid& uuid, PVInterface*& iface) = 0;
42         //**********end PVInterface
43 
44 
45 };
46 
47 #endif //PVMF_OMX_ENC_NODE_EXTENSION_INTERFACE_H_INCLUDED
48 
49 
50