Commit Graph

50 Commits

Author SHA1 Message Date
Uoti Urpala 8df340271e Merge svn changes up to r31040 2010-04-26 18:38:11 +03:00
reimar c0aa5c32b2 Move functions that really do not need to be inlined from the header
to the .c file.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31038 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-15 05:39:36 +00:00
Uoti Urpala e74708f619 Merge svn changes up to r30748 2010-03-10 01:50:55 +02:00
Uoti Urpala b0986b3760 Merge svn changes up to r30463
Note that r30455 is wrong, that commit does not in fact change the
default behavior as claimed in the commit message. It only breaks
"-af-adv force=0", which was already pretty much useless though.
2010-03-09 18:59:15 +02:00
diego b63759b175 Do not cast the results of malloc/calloc/realloc.
These functions return void*, which is compatible with any pointer,
so there is no need for casts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30744 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-26 15:01:37 +00:00
diego 23db422c3d Add missing license headers to all files in the libmpcodecs directory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30463 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 16:57:40 +00:00
Uoti Urpala 231b33a02f Merge svn changes up to r30165 2010-01-08 01:05:30 +02:00
reimar 8afc25d710 Add support for YUV format with alpha and fix the codecs.conf entry for vp6a
to use it.
Fixes playback of samples in http://samples.mplayerhq.hu/FLV/flash_with_alpha/


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30157 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 23:45:07 +00:00
reimar a326622304 Add support for 16-bit per component YUV formats.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30152 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 22:53:25 +00:00
reimar cc46a64a26 Add support for 440p colorspace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30140 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-30 12:03:17 +00:00
reimar 92f20f876f Add a helper function to get the chroma scale shift and use to simplify mpi setup.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30138 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-30 11:08:44 +00:00
Uoti Urpala d46b86bc7c Merge svn changes up to r30136
Ignore another broken correct-pts change in 30134.
2009-12-30 00:56:10 +02:00
reimar afc5a627d8 Support mp_image with allocated palette.
Fixes playback and a memory leak for FFmpeg codecs which use reget_buffer
with paletted data, e.g. cdgraphics.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30116 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-26 11:51:19 +00:00
Uoti Urpala cf9edda1d3 Merge svn changes up to r29117 2009-04-01 02:43:47 +03:00
cehoyos 115bfb9762 Allow to use vdpau temporal deinterlacers with hardware accelerated decoding.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28991 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 17:02:29 +00:00
Uoti Urpala 0bf2bd91ec Merge svn changes up to r28610 2009-02-16 02:39:58 +02:00
diego 1147a78695 Replace fprintf call by mp_msg, fixes the warning:
In file included from libmpcodecs/vf_fspp.c:58:
libmpcodecs/mp_image.h: In function 'mp_image_setfmt':
libmpcodecs/mp_image.h:207: warning: implicit declaration of function 'please_use_av_log_instead_of_fprintf'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28553 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 11:43:14 +00:00
reimar 5da2252a2c Cosmetics: handle all special/compressed formats in a single if in mp_image_setfmt
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28552 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 08:37:29 +00:00
reimar 8c1978cc26 Add support for image formats and codecs used by VDPAU
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28551 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 08:29:45 +00:00
reimar f78c49e030 Add MP_IMGTYPE_NUMBERED which gives access to the kind of mp_image_t that
are numbered and have a "in use" flag which is necessary for proper
buffer management as e.g. H.264 direct-rendering needs and is already used
successfully for the -vo vdpau work-in-progress.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28550 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 08:22:49 +00:00
Uoti Urpala 0e757bf9da Remove _s/_st suffix from some struct names
Since the names are always used after the keyword "struct" having a
suffix as in "struct demuxer_st" is almost completely pointless.
2008-04-25 03:34:22 +03:00
diego db85806a9c Add necessary header #includes to fix 'make checkheaders'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26179 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-06 08:34:50 +00:00
diego 8efb2fa21c Add MPLAYER_ prefix to multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-22 09:09:46 +00:00
diego fba0b66ff9 Add explanatory comments to the #endif part of multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-31 16:15:50 +00:00
cehoyos f2dee327b2 Move alloc_mpi and copy_mpi from libmenu/vf_menu.c to libmpcodecs/mp_image.c.
Patch by Attila Ötvös.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24014 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-04 22:12:49 +00:00
diego 3e9e4acd8d Do not use leading underscores in multiple inclusion guards, they are reserved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 22:34:45 +00:00
diego 41bfa3e8e0 Change some printf calls to fprintf.
based on a patch by Attila Ötvös, oattila,,@,,chello,,.,,hu


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17972 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 07:49:14 +00:00
rfelker 1361d53817 stride must be signed! otherwise negative stride is broken on 64bit systems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14793 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-24 16:52:18 +00:00
michael 2e1298c035 set top_field first for lavc decoding and add MP_IMGFIELD_INTERLACED
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11670 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-22 17:26:19 +00:00
rik e963c4c874 addition of special image formats for Zoran MJPEG, and vd_zrmjpeg.c
the zoran passthrough filter for the new vo_zr2.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11387 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-04 19:58:37 +00:00
alex d169756b83 basic nv12 and nv21 support by Angelo Cano <angelo_cano@fastmail.fm>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10743 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 20:45:06 +00:00
rfelker 48ecb3e717 clean up field flags:
1) cosmetic change, no reason these need to be mpeg2-specific
2) add a flag to tell when fields are ordered, so we don't have to
assume bff (which would usually be wrong) when field flags are not
available.
3) add other flags for future use :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10664 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-18 14:49:06 +00:00
ranma 9f62dfb2c8 Add mpeg2_flags to mp_image_t, copy flags in vd_libmpeg2.c,
and add vf_softpulldown.c.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10511 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-03 12:09:58 +00:00
iive fd55a47f01 basic xvmc image support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10317 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-21 01:47:26 +00:00
michael 40a073bea4 passing qscale_type around so the pp code can fix the mpeg2 <<1 thing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9926 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-18 13:18:59 +00:00
michael 49a3af8585 fixing rgb4 & bgr4 (2 pixels per byte)
adding bg4b & rg4b (1 pixel per byte)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9172 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-30 09:15:09 +00:00
michael 31642e2744 change qscale type to int8 and fix qscale ordering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7985 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-30 20:50:33 +00:00
michael ba80103442 passing picture_type (might be usefull for postprocessing)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7958 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 11:26:26 +00:00
arpi 8d45b64a65 warning fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6912 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 01:06:25 +00:00
arpi d010698e43 - some reorder/cleanup of mp_image flags
- support for _ACCEPT_ALIGNED_STRIDE && _PREFER_ALIGNED_STRIDE


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6876 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-02 22:55:54 +00:00
michael bfe5d4d4b4 planar yuv 444 422 411 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6864 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-01 12:39:08 +00:00
arpi fe7749b521 added 'priv' field to mpi - requires for tracking frames with different
decoding-displaying order (IPB)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6760 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-20 16:26:49 +00:00
alex 2813811852 better support for rgb/bgr formats
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6708 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-11 19:08:23 +00:00
michael 05a053093a {RGB,BGR}{1,4}
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6577 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-27 17:35:37 +00:00
alex c20f4d0b42 better planar support, chroma subsampling support and Y8/Y800 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6540 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 21:08:31 +00:00
alex 846f4abc18 better planar support, chroma subsampling support and Y8/Y800 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6539 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 20:42:19 +00:00
alex 78191f35e9 yvu9 and if09 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6526 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 15:15:31 +00:00
alex 3028536080 added yvu9
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6479 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-21 16:01:18 +00:00
arpi a06d814fb9 filters uninit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5738 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-20 22:24:19 +00:00
arpi d3c88e5e51 mp_image moved to libmpcodecs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5610 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-13 19:17:34 +00:00