Ap4Results.h File Reference

Go to the source code of this file.

Defines

#define AP4_FAILED(result)   ((result) != AP4_SUCCESS)
#define AP4_SUCCEEDED(result)   ((result) == AP4_SUCCESS)
#define AP4_CHECK(_x)

Variables

const int AP4_SUCCESS = 0
const int AP4_FAILURE = -1
const int AP4_ERROR_OUT_OF_MEMORY = -2
const int AP4_ERROR_INVALID_PARAMETERS = -3
const int AP4_ERROR_NO_SUCH_FILE = -4
const int AP4_ERROR_PERMISSION_DENIED = -5
const int AP4_ERROR_CANNOT_OPEN_FILE = -6
const int AP4_ERROR_EOS = -7
const int AP4_ERROR_WRITE_FAILED = -8
const int AP4_ERROR_READ_FAILED = -9
const int AP4_ERROR_INVALID_FORMAT = -10
const int AP4_ERROR_NO_SUCH_ITEM = -11
const int AP4_ERROR_OUT_OF_RANGE = -12
const int AP4_ERROR_INTERNAL = -13
const int AP4_ERROR_INVALID_STATE = -14
const int AP4_ERROR_LIST_EMPTY = -15
const int AP4_ERROR_LIST_OPERATION_ABORTED = -16
const int AP4_ERROR_INVALID_RTP_CONSTRUCTOR_TYPE = -17
const int AP4_ERROR_NOT_SUPPORTED = -18
const int AP4_ERROR_INVALID_TRACK_TYPE = -19
const int AP4_ERROR_INVALID_RTP_PACKET_EXTRA_DATA = -20
const int AP4_ERROR_BUFFER_TOO_SMALL = -21
const int AP4_ERROR_NOT_ENOUGH_DATA = -22


Define Documentation

#define AP4_CHECK ( _x   ) 

Value:

do {                      \
    AP4_Result _result = (_x);                  \
    if (AP4_FAILED(_result)) return _result;    \
} while(0)

Definition at line 65 of file Ap4Results.h.

#define AP4_FAILED ( result   )     ((result) != AP4_SUCCESS)

Definition at line 62 of file Ap4Results.h.

#define AP4_SUCCEEDED ( result   )     ((result) == AP4_SUCCESS)

Definition at line 63 of file Ap4Results.h.


Variable Documentation

const int AP4_ERROR_BUFFER_TOO_SMALL = -21

Definition at line 56 of file Ap4Results.h.

Definition at line 41 of file Ap4Results.h.

const int AP4_ERROR_EOS = -7

Definition at line 42 of file Ap4Results.h.

const int AP4_ERROR_INTERNAL = -13

Definition at line 48 of file Ap4Results.h.

const int AP4_ERROR_INVALID_FORMAT = -10

Definition at line 45 of file Ap4Results.h.

Definition at line 38 of file Ap4Results.h.

Definition at line 52 of file Ap4Results.h.

Definition at line 55 of file Ap4Results.h.

const int AP4_ERROR_INVALID_STATE = -14

Definition at line 49 of file Ap4Results.h.

Definition at line 54 of file Ap4Results.h.

const int AP4_ERROR_LIST_EMPTY = -15

Definition at line 50 of file Ap4Results.h.

Referenced by AP4_List< T >::PopHead().

Definition at line 51 of file Ap4Results.h.

Referenced by AP4_List< T >::ReverseApply().

const int AP4_ERROR_NO_SUCH_FILE = -4

Definition at line 39 of file Ap4Results.h.

const int AP4_ERROR_NO_SUCH_ITEM = -11

const int AP4_ERROR_NOT_ENOUGH_DATA = -22

Definition at line 57 of file Ap4Results.h.

const int AP4_ERROR_NOT_SUPPORTED = -18

Definition at line 53 of file Ap4Results.h.

const int AP4_ERROR_OUT_OF_MEMORY = -2

Definition at line 37 of file Ap4Results.h.

Referenced by AP4_Array< T >::EnsureCapacity().

const int AP4_ERROR_OUT_OF_RANGE = -12

Definition at line 47 of file Ap4Results.h.

Referenced by AP4_Array< T >::RemoveLast().

Definition at line 40 of file Ap4Results.h.

const int AP4_ERROR_READ_FAILED = -9

Definition at line 44 of file Ap4Results.h.

const int AP4_ERROR_WRITE_FAILED = -8

Definition at line 43 of file Ap4Results.h.

const int AP4_FAILURE = -1

const int AP4_SUCCESS = 0


Generated on Mon Sep 29 10:53:36 2008 for Bento4 MP4 SDK by  doxygen 1.5.6