blob: 9e85293c1822e0f62b97d717465073f8f4e54011 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
/*
* Bitrate histogram include file
*
* Copyright (c) 2000 Mark Taylor
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef LAME_BRHIST_H
#define LAME_BRHIST_H
#if defined(_WIN32) && !defined(__CYGWIN__)
# include <windows.h>
#endif
#include "lame.h"
int brhist_init ( const lame_global_flags *gf, const int bitrate_kbps_min, const int bitrate_kbps_max );
void brhist_disp ( const lame_global_flags *gf );
void brhist_disp_total ( const lame_global_flags *gf );
void brhist_jump_back ( void );
typedef struct {
FILE* Console_fp; /* filepointer to stream reporting information */
FILE* Error_fp; /* filepointer to stream fatal error reporting information */
FILE* Report_fp; /* filepointer to stream reports (normally a text file or /dev/null) */
#if defined(_WIN32) && !defined(__CYGWIN__)
HANDLE Console_Handle;
#endif
int disp_width;
int disp_height;
char str_up [10];
char str_clreoln [10];
char str_emph [10];
char str_norm [10];
char Console_buff [1024];
} Console_IO_t;
extern Console_IO_t Console_IO;
#endif /* LAME_BRHIST_H */
|