UniMRCP  1.3.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mpf_frame_buffer.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008-2014 Arsen Chaloyan
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 express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  * $Id: mpf_frame_buffer.h 2136 2014-07-04 06:33:36Z achaloyan@gmail.com $
17  */
18 
19 #ifndef MPF_FRAME_BUFFER_H
20 #define MPF_FRAME_BUFFER_H
21 
22 /**
23  * @file mpf_frame_buffer.h
24  * @brief Buffer of Media Frames
25  */
26 
27 #include "mpf_frame.h"
28 
30 
31 /** Opaque frame buffer declaration */
33 
34 
35 /** Create frame buffer */
36 mpf_frame_buffer_t* mpf_frame_buffer_create(apr_size_t frame_size, apr_size_t frame_count, apr_pool_t *pool);
37 
38 /** Destroy frame buffer */
40 
41 /** Restart frame buffer */
43 
44 /** Write frame to buffer */
46 
47 /** Read frame from buffer */
49 
50 #ifdef MPF_FRAME_BUFFER_DEBUG
51 apt_bool_t mpf_frame_buffer_file_open(mpf_frame_buffer_t *buffer, const char *utt_file_in, const char *utt_file_out);
52 #endif
53 
55 
56 #endif /* MPF_FRAME_BUFFER_H */