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
3e5f531b
Commit
3e5f531b
authored
Nov 15, 2001
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed a little crash introduced in my previous commit :-) * Removed more unused code.
parent
4a0dae01
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
27 deletions
+7
-27
plugins/motion/motionmmxext.c
plugins/motion/motionmmxext.c
+1
-25
src/input/input_dec.c
src/input/input_dec.c
+6
-2
No files found.
plugins/motion/motionmmxext.c
View file @
3e5f531b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* motionmmxext.c : MMX EXT motion compensation module for vlc
* motionmmxext.c : MMX EXT motion compensation module for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: motionmmxext.c,v 1.1
1 2001/09/06 14:02:56 massiot
Exp $
* $Id: motionmmxext.c,v 1.1
2 2001/11/15 18:11:50 sam
Exp $
*
*
* Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Michel Lespinasse <walken@zoy.org>
* Michel Lespinasse <walken@zoy.org>
...
@@ -562,30 +562,6 @@ static void MC_put_y8_3dnow (yuv_data_t * dest, yuv_data_t * ref,
...
@@ -562,30 +562,6 @@ static void MC_put_y8_3dnow (yuv_data_t * dest, yuv_data_t * ref,
MC_put2_8
(
height
,
dest
,
ref
,
stride
,
stride
,
CPU_3DNOW
);
MC_put2_8
(
height
,
dest
,
ref
,
stride
,
stride
,
CPU_3DNOW
);
}
}
static
void
MC_avg_xy16_3dnow
(
yuv_data_t
*
dest
,
yuv_data_t
*
ref
,
int
stride
,
int
height
)
{
MC_avg4_16
(
height
,
dest
,
ref
,
stride
,
CPU_3DNOW
);
}
static
void
MC_avg_xy8_3dnow
(
yuv_data_t
*
dest
,
yuv_data_t
*
ref
,
int
stride
,
int
height
)
{
MC_avg4_8
(
height
,
dest
,
ref
,
stride
,
CPU_3DNOW
);
}
static
void
MC_put_xy16_3dnow
(
yuv_data_t
*
dest
,
yuv_data_t
*
ref
,
int
stride
,
int
height
)
{
MC_put4_16
(
height
,
dest
,
ref
,
stride
,
CPU_3DNOW
);
}
static
void
MC_put_xy8_3dnow
(
yuv_data_t
*
dest
,
yuv_data_t
*
ref
,
int
stride
,
int
height
)
{
MC_put4_8
(
height
,
dest
,
ref
,
stride
,
CPU_3DNOW
);
}
/*****************************************************************************
/*****************************************************************************
* Functions exported as capabilities. They are declared as static so that
* Functions exported as capabilities. They are declared as static so that
* we don't pollute the namespace too much.
* we don't pollute the namespace too much.
...
...
src/input/input_dec.c
View file @
3e5f531b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* input_dec.c: Functions for the management of decoders
* input_dec.c: Functions for the management of decoders
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* Copyright (C) 1999, 2000 VideoLAN
* $Id: input_dec.c,v 1.1
5 2001/11/15 17:39:13
sam Exp $
* $Id: input_dec.c,v 1.1
6 2001/11/15 18:11:50
sam Exp $
*
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
*
...
@@ -130,6 +130,9 @@ void input_EndDecoder( input_thread_t * p_input, es_descriptor_t * p_es )
...
@@ -130,6 +130,9 @@ void input_EndDecoder( input_thread_t * p_input, es_descriptor_t * p_es )
/* Unneed module */
/* Unneed module */
module_Unneed
(
p_es
->
p_module
);
module_Unneed
(
p_es
->
p_module
);
/* Tell the input there is no more decoder */
p_es
->
p_decoder_fifo
=
NULL
;
}
}
/*****************************************************************************
/*****************************************************************************
...
@@ -272,6 +275,7 @@ static decoder_config_t * CreateDecoderConfig( input_thread_t * p_input,
...
@@ -272,6 +275,7 @@ static decoder_config_t * CreateDecoderConfig( input_thread_t * p_input,
static
void
DeleteDecoderConfig
(
decoder_config_t
*
p_config
)
static
void
DeleteDecoderConfig
(
decoder_config_t
*
p_config
)
{
{
/* Free all packets still in the decoder fifo. */
/* Free all packets still in the decoder fifo. */
#if 0
while( !DECODER_FIFO_ISEMPTY( *p_config->p_decoder_fifo ) )
while( !DECODER_FIFO_ISEMPTY( *p_config->p_decoder_fifo ) )
{
{
p_config->p_decoder_fifo->pf_delete_pes(
p_config->p_decoder_fifo->pf_delete_pes(
...
@@ -279,13 +283,13 @@ static void DeleteDecoderConfig( decoder_config_t * p_config )
...
@@ -279,13 +283,13 @@ static void DeleteDecoderConfig( decoder_config_t * p_config )
DECODER_FIFO_START( *p_config->p_decoder_fifo ) );
DECODER_FIFO_START( *p_config->p_decoder_fifo ) );
DECODER_FIFO_INCSTART( *p_config->p_decoder_fifo );
DECODER_FIFO_INCSTART( *p_config->p_decoder_fifo );
}
}
#endif
/* Destroy the lock and cond */
/* Destroy the lock and cond */
vlc_cond_destroy
(
&
p_config
->
p_decoder_fifo
->
data_wait
);
vlc_cond_destroy
(
&
p_config
->
p_decoder_fifo
->
data_wait
);
vlc_mutex_destroy
(
&
p_config
->
p_decoder_fifo
->
data_lock
);
vlc_mutex_destroy
(
&
p_config
->
p_decoder_fifo
->
data_lock
);
free
(
p_config
->
p_decoder_fifo
);
free
(
p_config
->
p_decoder_fifo
);
p_config
->
p_decoder_fifo
=
NULL
;
free
(
p_config
);
free
(
p_config
);
}
}
...
...
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