Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
b0018cc3
Commit
b0018cc3
authored
Aug 17, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* all: removed all u8/u16/.... occurences.
parent
fa341942
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
15 deletions
+16
-15
src/input/input_ext-dec.c
src/input/input_ext-dec.c
+4
-4
src/input/input_programs.c
src/input/input_programs.c
+4
-4
src/misc/iso_lang.c
src/misc/iso_lang.c
+5
-5
src/video_output/video_text.h
src/video_output/video_text.h
+3
-2
No files found.
src/input/input_ext-dec.c
View file @
b0018cc3
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* input_ext-dec.c: services to the decoders
* input_ext-dec.c: services to the decoders
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* Copyright (C) 1998-2001 VideoLAN
* $Id: input_ext-dec.c,v 1.4
5 2003/03/04 13:21:19 massiot
Exp $
* $Id: input_ext-dec.c,v 1.4
6 2003/08/17 20:39:08 fenrir
Exp $
*
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
*
...
@@ -253,7 +253,7 @@ void BitstreamNextDataPacket( bit_stream_t * p_bit_stream )
...
@@ -253,7 +253,7 @@ void BitstreamNextDataPacket( bit_stream_t * p_bit_stream )
* UnalignedShowBits : places i_bits bits into the bit buffer, even when
* UnalignedShowBits : places i_bits bits into the bit buffer, even when
* not aligned on a word boundary
* not aligned on a word boundary
*****************************************************************************/
*****************************************************************************/
u
32
UnalignedShowBits
(
bit_stream_t
*
p_bit_stream
,
unsigned
int
i_bits
)
u
int32_t
UnalignedShowBits
(
bit_stream_t
*
p_bit_stream
,
unsigned
int
i_bits
)
{
{
/* We just fill in the bit buffer. */
/* We just fill in the bit buffer. */
while
(
(
unsigned
int
)
p_bit_stream
->
fifo
.
i_available
<
i_bits
)
while
(
(
unsigned
int
)
p_bit_stream
->
fifo
.
i_available
<
i_bits
)
...
@@ -333,9 +333,9 @@ u32 UnalignedShowBits( bit_stream_t * p_bit_stream, unsigned int i_bits )
...
@@ -333,9 +333,9 @@ u32 UnalignedShowBits( bit_stream_t * p_bit_stream, unsigned int i_bits )
* them from the buffer, even when the bit stream is not aligned on a word
* them from the buffer, even when the bit stream is not aligned on a word
* boundary
* boundary
*****************************************************************************/
*****************************************************************************/
u
32
UnalignedGetBits
(
bit_stream_t
*
p_bit_stream
,
unsigned
int
i_bits
)
u
int32_t
UnalignedGetBits
(
bit_stream_t
*
p_bit_stream
,
unsigned
int
i_bits
)
{
{
u
32
i_result
;
u
int32_t
i_result
;
i_result
=
p_bit_stream
->
fifo
.
buffer
i_result
=
p_bit_stream
->
fifo
.
buffer
>>
(
8
*
sizeof
(
WORD_TYPE
)
-
i_bits
);
>>
(
8
*
sizeof
(
WORD_TYPE
)
-
i_bits
);
...
...
src/input/input_programs.c
View file @
b0018cc3
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* input_programs.c: es_descriptor_t, pgrm_descriptor_t management
* input_programs.c: es_descriptor_t, pgrm_descriptor_t management
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2002 VideoLAN
* Copyright (C) 1999-2002 VideoLAN
* $Id: input_programs.c,v 1.11
7 2003/08/13 01:45:13 gbazin
Exp $
* $Id: input_programs.c,v 1.11
8 2003/08/17 20:39:08 fenrir
Exp $
*
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
*
...
@@ -84,7 +84,7 @@ int input_InitStream( input_thread_t * p_input, size_t i_data_len )
...
@@ -84,7 +84,7 @@ int input_InitStream( input_thread_t * p_input, size_t i_data_len )
{
{
p_input
->
stream
.
p_demux_data
=
NULL
;
p_input
->
stream
.
p_demux_data
=
NULL
;
}
}
var_Create
(
p_input
,
"intf-change"
,
VLC_VAR_BOOL
);
var_Create
(
p_input
,
"intf-change"
,
VLC_VAR_BOOL
);
val
.
b_bool
=
VLC_TRUE
;
val
.
b_bool
=
VLC_TRUE
;
var_Set
(
p_input
,
"intf-change"
,
val
);
var_Set
(
p_input
,
"intf-change"
,
val
);
...
@@ -195,7 +195,7 @@ pgrm_descriptor_t * input_FindProgram( input_thread_t * p_input,
...
@@ -195,7 +195,7 @@ pgrm_descriptor_t * input_FindProgram( input_thread_t * p_input,
* This program descriptor will be referenced in the given stream descriptor
* This program descriptor will be referenced in the given stream descriptor
*****************************************************************************/
*****************************************************************************/
pgrm_descriptor_t
*
input_AddProgram
(
input_thread_t
*
p_input
,
pgrm_descriptor_t
*
input_AddProgram
(
input_thread_t
*
p_input
,
u
16
i_pgrm_id
,
size_t
i_data_len
)
u
int16_t
i_pgrm_id
,
size_t
i_data_len
)
{
{
/* Where to add the pgrm */
/* Where to add the pgrm */
pgrm_descriptor_t
*
p_pgrm
=
malloc
(
sizeof
(
pgrm_descriptor_t
)
);
pgrm_descriptor_t
*
p_pgrm
=
malloc
(
sizeof
(
pgrm_descriptor_t
)
);
...
@@ -587,7 +587,7 @@ es_descriptor_t * input_FindES( input_thread_t * p_input, uint16_t i_es_id )
...
@@ -587,7 +587,7 @@ es_descriptor_t * input_FindES( input_thread_t * p_input, uint16_t i_es_id )
* alone (PSI ?)
* alone (PSI ?)
*****************************************************************************/
*****************************************************************************/
es_descriptor_t
*
input_AddES
(
input_thread_t
*
p_input
,
es_descriptor_t
*
input_AddES
(
input_thread_t
*
p_input
,
pgrm_descriptor_t
*
p_pgrm
,
u
16
i_es_id
,
pgrm_descriptor_t
*
p_pgrm
,
u
int16_t
i_es_id
,
int
i_category
,
char
const
*
psz_desc
,
int
i_category
,
char
const
*
psz_desc
,
size_t
i_data_len
)
size_t
i_data_len
)
{
{
...
...
src/misc/iso_lang.c
View file @
b0018cc3
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* iso_lang.c: function to decode language code (in dvd or a52 for instance).
* iso_lang.c: function to decode language code (in dvd or a52 for instance).
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* Copyright (C) 1998-2001 VideoLAN
* $Id: iso_lang.c,v 1.
8 2002/11/13 20:51:05 sam
Exp $
* $Id: iso_lang.c,v 1.
9 2003/08/17 20:39:08 fenrir
Exp $
*
*
* Author: Stphane Borel <stef@via.ecp.fr>
* Author: Stphane Borel <stef@via.ecp.fr>
* Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
* Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
* it under the terms of the GNU General Public License as published by
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* (at your option) any later version.
*
*
* This program is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
...
@@ -51,10 +51,10 @@ static const iso639_lang_t unknown_language =
...
@@ -51,10 +51,10 @@ static const iso639_lang_t unknown_language =
* DecodeLanguage: gives the long language name from the two-letter
* DecodeLanguage: gives the long language name from the two-letter
* ISO-639 code
* ISO-639 code
*****************************************************************************/
*****************************************************************************/
const
char
*
DecodeLanguage
(
u
16
i_code
)
const
char
*
DecodeLanguage
(
u
int16_t
i_code
)
{
{
const
iso639_lang_t
*
p_lang
;
const
iso639_lang_t
*
p_lang
;
u
8
psz_code
[
3
];
u
int8_t
psz_code
[
3
];
psz_code
[
0
]
=
i_code
>>
8
;
psz_code
[
0
]
=
i_code
>>
8
;
psz_code
[
1
]
=
i_code
&
0xff
;
psz_code
[
1
]
=
i_code
&
0xff
;
...
@@ -90,7 +90,7 @@ const iso639_lang_t * GetLang_1( const char * psz_code )
...
@@ -90,7 +90,7 @@ const iso639_lang_t * GetLang_1( const char * psz_code )
const
iso639_lang_t
*
GetLang_2T
(
const
char
*
psz_code
)
const
iso639_lang_t
*
GetLang_2T
(
const
char
*
psz_code
)
{
{
const
iso639_lang_t
*
p_lang
;
const
iso639_lang_t
*
p_lang
;
for
(
p_lang
=
p_languages
;
p_lang
->
psz_eng_name
;
p_lang
++
)
for
(
p_lang
=
p_languages
;
p_lang
->
psz_eng_name
;
p_lang
++
)
if
(
!
strncmp
(
p_lang
->
psz_iso639_2T
,
psz_code
,
3
)
)
if
(
!
strncmp
(
p_lang
->
psz_iso639_2T
,
psz_code
,
3
)
)
return
p_lang
;
return
p_lang
;
...
...
src/video_output/video_text.h
View file @
b0018cc3
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* video_text.h : text manipulation functions
* video_text.h : text manipulation functions
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* Copyright (C) 1999, 2000 VideoLAN
* $Id: video_text.h,v 1.
8 2002/06/01 12:32:02 sam
Exp $
* $Id: video_text.h,v 1.
9 2003/08/17 20:39:08 fenrir
Exp $
*
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Samuel Hocevar <sam@zoy.org>
...
@@ -41,5 +41,6 @@ void vout_TextSize ( vout_font_t *p_font, int i_style,
...
@@ -41,5 +41,6 @@ void vout_TextSize ( vout_font_t *p_font, int i_style,
int
*
pi_width
,
int
*
pi_height
);
int
*
pi_width
,
int
*
pi_height
);
void
vout_Print
(
vout_font_t
*
p_font
,
byte_t
*
p_pic
,
void
vout_Print
(
vout_font_t
*
p_font
,
byte_t
*
p_pic
,
int
i_bytes_per_pixel
,
int
i_bytes_per_line
,
int
i_bytes_per_pixel
,
int
i_bytes_per_line
,
u32
,
u32
,
u32
,
int
,
const
char
*
,
int
);
uint32_t
,
uint32_t
,
uint32_t
,
int
,
const
char
*
,
int
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment