forked from videolan/vlc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ALL: use i_visible_lines in plane_t.
- Loading branch information
Gildas Bazin
committed
Aug 28, 2004
1 parent
56d76ed
commit 56b5483
Showing
37 changed files
with
140 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* cinepak.c: cinepak video decoder | ||
***************************************************************************** | ||
* Copyright (C) 1999-2001 VideoLAN | ||
* $Id: cinepak.c,v 1.6 2003/11/23 13:25:32 gbazin Exp $ | ||
* $Id$ | ||
* | ||
* Authors: Laurent Aimar <[email protected]> | ||
* | ||
|
@@ -173,7 +173,7 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block ) | |
p_src = p_sys->context.p_pix[i_plane]; | ||
|
||
i_lines = __MIN( p_sys->context.i_lines[i_plane], | ||
p_pic->p[i_plane].i_lines ); | ||
p_pic->p[i_plane].i_visible_lines ); | ||
for( i_line = 0; i_line < i_lines; i_line++ ) | ||
{ | ||
memcpy( p_dst, p_src, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* rawvideo.c: Pseudo video decoder/packetizer for raw video data | ||
***************************************************************************** | ||
* Copyright (C) 2001, 2002 VideoLAN | ||
* $Id: rawvideo.c,v 1.13 2004/02/27 14:02:05 fenrir Exp $ | ||
* $Id$ | ||
* | ||
* Authors: Laurent Aimar <[email protected]> | ||
* | ||
|
@@ -235,7 +235,7 @@ static void FillPicture( decoder_t *p_dec, block_t *p_block, picture_t *p_pic ) | |
p_dst = p_pic->p[i_plane].p_pixels; | ||
i_width = p_pic->p[i_plane].i_visible_pitch; | ||
|
||
for( i_line = 0; i_line < p_pic->p[i_plane].i_lines; i_line++ ) | ||
for( i_line = 0; i_line < p_pic->p[i_plane].i_visible_lines; i_line++ ) | ||
{ | ||
p_dec->p_vlc->pf_memcpy( p_dst, p_src, i_width ); | ||
p_src += i_width; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* tarkin.c: tarkin decoder module making use of libtarkin. | ||
***************************************************************************** | ||
* Copyright (C) 2001-2003 VideoLAN | ||
* $Id: tarkin.c,v 1.11 2004/01/25 18:20:12 bigben Exp $ | ||
* $Id$ | ||
* | ||
* Authors: Gildas Bazin <[email protected]> | ||
* | ||
|
@@ -306,7 +306,7 @@ static void tarkin_CopyPicture( decoder_t *p_dec, picture_t *p_pic, | |
i_dst_stride = p_pic->p[i_plane].i_pitch; | ||
i_src_stride = i_pitch; | ||
|
||
for( i_line = 0; i_line < p_pic->p[i_plane].i_lines; i_line++ ) | ||
for( i_line = 0; i_line < p_pic->p[i_plane].i_visible_lines; i_line++ ) | ||
{ | ||
p_dec->p_vlc->pf_memcpy( p_dst, p_src, i_src_stride ); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* i420_ymga.c : YUV to YUV conversion module for vlc | ||
***************************************************************************** | ||
* Copyright (C) 2000, 2001 VideoLAN | ||
* $Id: i420_ymga.c,v 1.3 2004/01/25 17:20:18 kuehne Exp $ | ||
* $Id$ | ||
* | ||
* Authors: Samuel Hocevar <[email protected]> | ||
* | ||
|
@@ -108,10 +108,10 @@ static void I420_YMGA( vout_thread_t *p_vout, picture_t *p_source, | |
|
||
/* Copy the Y part */ | ||
p_vout->p_vlc->pf_memcpy( p_dest->Y_PIXELS, p_source->Y_PIXELS, | ||
p_dest->p[Y_PLANE].i_pitch * p_dest->p[Y_PLANE].i_lines ); | ||
p_dest->p[Y_PLANE].i_pitch * p_dest->p[Y_PLANE].i_visible_lines ); | ||
|
||
/* Copy the U:V part */ | ||
for( i_x = p_dest->p[U_PLANE].i_pitch * p_dest->p[U_PLANE].i_lines / 64; | ||
for( i_x = p_dest->p[U_PLANE].i_pitch * p_dest->p[U_PLANE].i_visible_lines / 64; | ||
i_x--; ) | ||
{ | ||
#if defined (MODULE_NAME_IS_i420_ymga) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.