• 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 PVMP4FFCN_TUNABLES_H_INCLUDED
19 #define PVMP4FFCN_TUNABLES_H_INCLUDED
20 
21 //Default NODE COMMAND vector reserve size
22 #define PVMF_MP4FFCN_COMMAND_VECTOR_RESERVE 10
23 
24 //Starting value for command IDs
25 #define PVMF_MP4FFCN_COMMAND_ID_START 20000
26 
27 // Default port vector reserve size
28 #define PVMF_MP4FFCN_PORT_VECTOR_RESERVE 1
29 
30 #define PVMF_MP4FFCN_MAX_INPUT_PORT 3
31 #define PVMF_MP4FFCN_MAX_OUTPUT_PORT 0
32 
33 // Port message queue settings
34 #define PVMF_MP4FFCN_PORT_CAPACITY 10
35 #define PVMF_MP4FFCN_PORT_RESERVE 10
36 #define PVMF_MP4FFCN_PORT_THRESHOLD 50
37 
38 // Default video track config parameters
39 #define PVMF_MP4FFCN_VIDEO_BITRATE 52000
40 #define PVMF_MP4FFCN_VIDEO_FRAME_WIDTH 176
41 #define PVMF_MP4FFCN_VIDEO_FRAME_HEIGHT 144
42 #define PVMF_MP4FFCN_VIDEO_TIMESCALE 1000
43 #define PVMF_MP4FFCN_VIDEO_FRAME_RATE 15
44 #define PVMF_MP4FFCN_VIDEO_IFRAME_INTERVAL 10
45 #define PVMF_MP4FFCN_VIDEO_H263_PROFILE 0
46 #define PVMF_MP4FFCN_VIDEO_H263_LEVEL 40
47 
48 // Default audio track config parameters
49 #define PVMF_MP4FFCN_AUDIO_BITRATE 12200
50 #define PVMF_MP4FFCN_AUDIO_TIMESCALE 8000
51 #define PVMF_MP4FFCN_AUDIO_NUM_CHANNELS 2
52 #define PVMF_MP4FFCN_AUDIO_SAMPLING_RATE 8000
53 #define PVMF_MP4FFCN_AUDIO_BITS_PER_SAMPLE 16
54 
55 // Default text track config parameters
56 #define PVMF_MP4FFCN_TEXT_BITRATE 0
57 #define PVMF_MP4FFCN_TEXT_FRAME_WIDTH 176
58 #define PVMF_MP4FFCN_TEXT_FRAME_HEIGHT 177
59 #define PVMF_MP4FFCN_TEXT_TIMESCALE 90000
60 
61 #endif /*PVMP4FFCN_TUNABLES_H_INCLUDED*/
62