mirror of
https://github.com/mpv-player/mpv
synced 2025-02-18 13:47:04 +00:00
cosmetics: typo fixes, usefuLL --> useful and aswell --> as well
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22307 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3c0c8686fd
commit
8ed3ba4995
@ -81,7 +81,7 @@ The main modules:
|
|||||||
Then it calculates duration, either from fixed FPS value, or from the
|
Then it calculates duration, either from fixed FPS value, or from the
|
||||||
PTS difference between and after reading the frame.
|
PTS difference between and after reading the frame.
|
||||||
|
|
||||||
2.e. other utility functions: there are some usefull code there, like
|
2.e. other utility functions: there are some useful code there, like
|
||||||
AVI muxer, or mp3 header parser, but leave them for now.
|
AVI muxer, or mp3 header parser, but leave them for now.
|
||||||
|
|
||||||
So everything is ok 'till now. It can be found in libmpdemux/ library.
|
So everything is ok 'till now. It can be found in libmpdemux/ library.
|
||||||
|
@ -90,7 +90,7 @@ Each vo driver _has_ to implement these:
|
|||||||
window size and position. The code should look as following:
|
window size and position. The code should look as following:
|
||||||
---
|
---
|
||||||
set x,y,w,h to the values supplied by the caller or to those you deam
|
set x,y,w,h to the values supplied by the caller or to those you deam
|
||||||
usefull.
|
useful.
|
||||||
call geometry(&x, &y, &w, &h, screenw, screenh)
|
call geometry(&x, &y, &w, &h, screenw, screenh)
|
||||||
call aspect()
|
call aspect()
|
||||||
---
|
---
|
||||||
@ -114,7 +114,7 @@ Each vo driver _has_ to implement these:
|
|||||||
draw_alpha() for each. As a help, osd.c contains draw_alpha for
|
draw_alpha() for each. As a help, osd.c contains draw_alpha for
|
||||||
each pixelformats, use this if possible!
|
each pixelformats, use this if possible!
|
||||||
|
|
||||||
NOTE: this one will be obsolete soon! But it's still usefull when
|
NOTE: This one will be obsolete soon! But it's still useful when
|
||||||
you want to do tricks, like rendering osd _after_ hardware scaling
|
you want to do tricks, like rendering osd _after_ hardware scaling
|
||||||
(tdfxfb) or render subtitles under of the image (vo_mpegpes, sdl)
|
(tdfxfb) or render subtitles under of the image (vo_mpegpes, sdl)
|
||||||
|
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
software scaler filter docs
|
software scaler filter docs
|
||||||
|
|
||||||
-ssf cgb=<float> chrominance gaussian blur
|
-ssf cgb=<float> chrominance gaussian blur
|
||||||
usefull for videos with some chroma (color) noise (TV captures, VHS, ...)
|
useful for videos with some chroma (color) noise (TV captures, VHS, ...)
|
||||||
|
|
||||||
-ssf lgb=<float> -> luminance gaussian blur
|
-ssf lgb=<float> -> luminance gaussian blur
|
||||||
hmm, mostly special effect, could be used as lame noise reducer though
|
hmm, mostly special effect, could be used as lame noise reducer though
|
||||||
|
|
||||||
-ssf chs=<int> -> shift chrominance horizontally
|
-ssf chs=<int> -> shift chrominance horizontally
|
||||||
-ssf cvs=<int> -> shift chrominance vertically
|
-ssf cvs=<int> -> shift chrominance vertically
|
||||||
usefull if the luma & chroma are not aligned exactly
|
useful if the luma & chroma are not aligned exactly
|
||||||
|
|
||||||
-ssf cs=<float> -> chrominance sharpen
|
-ssf cs=<float> -> chrominance sharpen
|
||||||
-ssf ls=<float> -> luminance sharpen
|
-ssf ls=<float> -> luminance sharpen
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
// The QuickTime File Format PDF from Apple:
|
// The QuickTime File Format PDF from Apple:
|
||||||
// http://developer.apple.com/techpubs/quicktime/qtdevdocs/PDF/QTFileFormat.pdf
|
// http://developer.apple.com/techpubs/quicktime/qtdevdocs/PDF/QTFileFormat.pdf
|
||||||
// (Complete list of documentation at http://developer.apple.com/quicktime/)
|
// (Complete list of documentation at http://developer.apple.com/quicktime/)
|
||||||
// MP4-Lib sources from http://mpeg4ip.sf.net/ might be usefull fot .mp4
|
// MP4-Lib sources from http://mpeg4ip.sf.net/ might be useful for .mp4
|
||||||
// aswell as .mov specific stuff.
|
// as well as .mov specific stuff.
|
||||||
// All sort of Stuff about MPEG4:
|
// All sort of Stuff about MPEG4:
|
||||||
// http://www.cmlab.csie.ntu.edu.tw/~pkhsiao/thesis.html
|
// http://www.cmlab.csie.ntu.edu.tw/~pkhsiao/thesis.html
|
||||||
// I really recommend N4270-1.doc and N4270-2.doc which are exact specs
|
// I really recommend N4270-1.doc and N4270-2.doc which are exact specs
|
||||||
|
@ -74,7 +74,7 @@ typedef struct SwsContext{
|
|||||||
int16_t *vChrFilter;
|
int16_t *vChrFilter;
|
||||||
int16_t *vChrFilterPos;
|
int16_t *vChrFilterPos;
|
||||||
|
|
||||||
uint8_t formatConvBuffer[4000]; //FIXME dynamic alloc, but we have to change alot of code for this to be usefull
|
uint8_t formatConvBuffer[4000]; //FIXME dynamic alloc, but we have to change a lot of code for this to be useful
|
||||||
|
|
||||||
int hLumFilterSize;
|
int hLumFilterSize;
|
||||||
int hChrFilterSize;
|
int hChrFilterSize;
|
||||||
|
@ -675,7 +675,7 @@ static uint32_t Directx_ManageDisplay()
|
|||||||
ovfx.dckDestColorkey.dwColorSpaceLowValue = destcolorkey;
|
ovfx.dckDestColorkey.dwColorSpaceLowValue = destcolorkey;
|
||||||
ovfx.dckDestColorkey.dwColorSpaceHighValue = destcolorkey;
|
ovfx.dckDestColorkey.dwColorSpaceHighValue = destcolorkey;
|
||||||
}
|
}
|
||||||
// set the flags we'll send to UpdateOverlay //DDOVER_AUTOFLIP|DDOVERFX_MIRRORLEFTRIGHT|DDOVERFX_MIRRORUPDOWN could be usefull?;
|
// set the flags we'll send to UpdateOverlay //DDOVER_AUTOFLIP|DDOVERFX_MIRRORLEFTRIGHT|DDOVERFX_MIRRORUPDOWN could be useful?;
|
||||||
dwUpdateFlags = DDOVER_SHOW | DDOVER_DDFX;
|
dwUpdateFlags = DDOVER_SHOW | DDOVER_DDFX;
|
||||||
/*if hardware can't do colorkeying set the window on top*/
|
/*if hardware can't do colorkeying set the window on top*/
|
||||||
if(capsDrv.dwCKeyCaps & DDCKEYCAPS_DESTOVERLAY) dwUpdateFlags |= DDOVER_KEYDESTOVERRIDE;
|
if(capsDrv.dwCKeyCaps & DDCKEYCAPS_DESTOVERLAY) dwUpdateFlags |= DDOVER_KEYDESTOVERRIDE;
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
* 2003-01-02:
|
* 2003-01-02:
|
||||||
* Added patch from Jens Axboe that makes vo_dxr3 return to previous TV norm
|
* Added patch from Jens Axboe that makes vo_dxr3 return to previous TV norm
|
||||||
* after quiting.
|
* after quiting.
|
||||||
* Added patch from Thomas Jarosch that fixed alot of textual ouput
|
* Added patch from Thomas Jarosch that fixed a lot of textual ouput
|
||||||
* errors.
|
* errors.
|
||||||
*
|
*
|
||||||
* 2002-12-24: (Hohoho)
|
* 2002-12-24: (Hohoho)
|
||||||
|
4
mp_msg.h
4
mp_msg.h
@ -121,14 +121,14 @@ void mp_msg(int mod, int lev, const char *format, ... ) __attribute__ ((format (
|
|||||||
# ifdef MP_DEBUG
|
# ifdef MP_DEBUG
|
||||||
# define mp_dbg(mod,lev, args... ) mp_msg(mod, lev, ## args )
|
# define mp_dbg(mod,lev, args... ) mp_msg(mod, lev, ## args )
|
||||||
# else
|
# else
|
||||||
# define mp_dbg(mod,lev, args... ) /* only usefull for developers */
|
# define mp_dbg(mod,lev, args... ) /* only useful for developers */
|
||||||
# endif
|
# endif
|
||||||
#else // not GNU C
|
#else // not GNU C
|
||||||
void mp_msg(int mod, int lev, const char *format, ... );
|
void mp_msg(int mod, int lev, const char *format, ... );
|
||||||
# ifdef MP_DEBUG
|
# ifdef MP_DEBUG
|
||||||
# define mp_dbg(mod,lev, ... ) mp_msg(mod, lev, __VA_ARGS__)
|
# define mp_dbg(mod,lev, ... ) mp_msg(mod, lev, __VA_ARGS__)
|
||||||
# else
|
# else
|
||||||
# define mp_dbg(mod,lev, ... ) /* only usefull for developers */
|
# define mp_dbg(mod,lev, ... ) /* only useful for developers */
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -205,7 +205,7 @@ play_tree_iter_free(play_tree_iter_t* iter);
|
|||||||
int
|
int
|
||||||
play_tree_iter_step(play_tree_iter_t* iter, int d,int with_nodes);
|
play_tree_iter_step(play_tree_iter_t* iter, int d,int with_nodes);
|
||||||
|
|
||||||
/// Step up, usefull to break a loop, etc.
|
/// Step up, useful to break a loop, etc.
|
||||||
/** \param iter The iterator.
|
/** \param iter The iterator.
|
||||||
* \param d The direction: d > 0 == next , d < 0 == prev
|
* \param d The direction: d > 0 == next , d < 0 == prev
|
||||||
* \param with_node TRUE == stop on nodes with childs, FALSE == go directly to the next child
|
* \param with_node TRUE == stop on nodes with childs, FALSE == go directly to the next child
|
||||||
@ -214,7 +214,7 @@ play_tree_iter_step(play_tree_iter_t* iter, int d,int with_nodes);
|
|||||||
int
|
int
|
||||||
play_tree_iter_up_step(play_tree_iter_t* iter, int d,int with_nodes);
|
play_tree_iter_up_step(play_tree_iter_t* iter, int d,int with_nodes);
|
||||||
|
|
||||||
/// Enter a node child list, only usefull when stopping on nodes.
|
/// Enter a node child list, only useful when stopping on nodes.
|
||||||
int
|
int
|
||||||
play_tree_iter_down_step(play_tree_iter_t* iter, int d,int with_nodes);
|
play_tree_iter_down_step(play_tree_iter_t* iter, int d,int with_nodes);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user