blob: 611da18b011504c7f65ec48721d1ddedfb0c2d17 [file] [log] [blame] [edit]
/* ------------------------------------------------------------------
* Copyright (C) 1998-2009 PacketVideo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied.
* See the License for the specific language governing permissions
* and limitations under the License.
* -------------------------------------------------------------------
*/
#ifndef PVMF_AMRFFPARSER_DEFS_H_INCLUDED
#define PVMF_AMRFFPARSER_DEFS_H_INCLUDED
///////////////////////////////////////////////
// Port tags
///////////////////////////////////////////////
/** Enumerated list of port tags supported by the node,
** for the port requests.
*/
typedef enum
{
PVMF_AMRFFPARSER_NODE_PORT_TYPE_SOURCE
} PVMFAMRFFParserOutPortType;
// Capability mime strings
#define PVMF_AMRFFPARSER_PORT_OUTPUT_FORMATS "x-pvmf/port/formattype"
#define PVMF_AMRFFPARSER_PORT_OUTPUT_FORMATS_VALTYPE "x-pvmf/port/formattype;valtype=int32"
#define AMR_MIN_DATA_SIZE_FOR_RECOGNITION 512
#define AMR_DATA_OBJECT_PARSING_OVERHEAD 512
#define AMR_HEADER_SIZE 32
#define PVMF_AMR_PARSER_NODE_MAX_AUDIO_DATA_MEM_POOL_SIZE 1024*1024
#define PVMF_AMR_PARSER_NODE_DATA_MEM_POOL_GROWTH_LIMIT 1
#define PVMF_AMR_PARSER_NODE_MAX_NUM_OUTSTANDING_MEDIA_MSGS 4
#define PVMF_AMR_PARSER_NODE_MEDIA_MSG_SIZE 128
#define PVMF_AMR_PARSER_NODE_TS_DELTA_DURING_REPOS_IN_MS 10
#endif