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_DEFS_H_INCLUDED 19 #define PVMF_OMX_ENC_DEFS_H_INCLUDED 20 21 // Error and info messages 22 // 23 enum PVMFOMXEncNodeErrors 24 { 25 // Enc node failed to initialize the encoder. Fatal error so the node needs to be reset. 26 PVOMXENCNODE_ERROR_ENCODER_INIT_FAILED = PVMF_NODE_ERROR_EVENT_LAST 27 }; 28 29 enum PVMFOMXEncNodeInfo 30 { 31 // Encoding of a frame failed. Encoder node will continue on to encode the next frame 32 PVOMXENCNODE_INFO_ENCODEFRAME_FAILED = PVMF_NODE_INFO_EVENT_LAST, 33 // Input bitstream buffer overflowed (frame too large or couldn't find frame marker). 34 PVOMXENCNODE_INFO_INPUTBITSTREAMBUFFER_OVERFLOW 35 }; 36 37 #endif // PVMF_OMXENC_DEFS_H_INCLUDED 38 39 40