Baptiste Coudurier
1be97a218e
memcpy considering output width, not src linesize, fix segv with av_picture_pad
...
Originally committed as revision 13594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 02:28:33 +00:00
Michael Niedermayer
8e6f8869ab
Do not read from prior the array, fix CID 127.
...
Originally committed as revision 13471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 19:44:56 +00:00
Diego Biurrun
ccd425e799
Remove unnecessary parentheses from return calls.
...
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 09:16:36 +00:00
Diego Biurrun
b0605329c9
Move functions that are only used when libswscale is not compiled in below
...
the appropriate #ifdef. This avoids a bunch of "defined but not used" warnings
when compiling with libswscale enabled.
Originally committed as revision 12463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-16 17:34:31 +00:00
Diego Biurrun
13ca50f367
Rename --enable-swscaler --> enable-swscale to be consistent with the
...
directory name and other option names. Also rename variables accordingly.
Originally committed as revision 12408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 17:54:24 +00:00
Vitor Sessak
6dd36490c7
This should not be part of the public API
...
Originally committed as revision 11960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 20:19:46 +00:00
Vitor Sessak
fba95d3c23
My commit in r11942 broke compilation.
...
This fixes it.
Originally committed as revision 11959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:47:14 +00:00
Vitor Sessak
cc9853d38f
Split avpicture_fill() in two functions. This will be
...
useful for libavfilter and to simplify
avcodec_default_get_buffer().
Originally committed as revision 11942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 18:01:07 +00:00
Diego Biurrun
5e53486545
typo fix: inited --> initialized
...
Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 09:26:10 +00:00
Vitor Sessak
22ed53e5f4
Factor bytewidth determination in its own function
...
Originally committed as revision 11907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 21:49:24 +00:00
Baptiste Coudurier
e151e272a0
cast to dest type, fix warning imgconvert.c:1958: warning: assignment from incompatible pointer type
...
Originally committed as revision 11675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:00:08 +00:00
Baptiste Coudurier
86404ffba2
avoid infinite loop if pixel format conversion does not exist
...
Originally committed as revision 11259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-18 13:49:58 +00:00
Vitor Sessak
52b541ad79
spelling
...
Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 22:21:04 +00:00
Andrea Gualano
2a7feb18c4
Enable avpicture_deinterlace() for PIX_FMT_GRAY8.
...
Patch by Andrea Gualano, gualano T imavis O com
Originally committed as revision 10712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-11 22:31:08 +00:00
Ronald S. Bultje
55ffe9df2a
Use emms_c() instead of ifdef
...
patch by: Ronald S. Bultje rsbultje a gmail d com
Originally committed as revision 10616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 15:09:34 +00:00
Aurelien Jacobs
b70335a28d
add support for yuva420p colorspace (yuv420p + alpha)
...
Originally committed as revision 10565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 13:21:41 +00:00
Andreas Öman
4196cfb75b
add YUV440P and YUVJ440P support
...
patch by Andreas Öman: \andreas olebyn nu/
original thread: [FFmpeg-devel] half vertical chroma resolution from JPEGs..
date: 07/03/2007 01:29 PM
Originally committed as revision 9732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 08:11:16 +00:00
Diego Biurrun
f1ea5c2a96
typo fixes
...
Originally committed as revision 9719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 12:57:50 +00:00
Ian Caulfield
04d2e45f3f
create colorspace.h and use it where appropriate
...
patch by Ian Caulfield: /ian caulfield gmail com/
Originally committed as revision 9716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 12:33:14 +00:00
Stefano Sabatini
c3b95b1d3d
Add support for listing the supported pixel formats using the option
...
-pix_fmt list
patch by Stefano Sabatini stefano sabatini minus lala chez poste it
original thread: [FFmpeg-devel] [PATCH] List supported pixel formats
date: 05/25/2007 05:46 PM
Originally committed as revision 9162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 14:20:55 +00:00
Diego Biurrun
42610c4983
Remove redundant fastmemcpy.h #include, it is indirectly #included by avutil.h.
...
Originally committed as revision 9145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-28 09:30:41 +00:00
Ivo van Poorten
e5b5149603
Fix segmentation fault for gray16le to gray conversion.
...
Originally committed as revision 8648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 19:24:27 +00:00
Panagiotis Issaris
636d6a4a47
Add the prefix "av_" to img_crop(), img_copy() and img_pad(), and rename "img"
...
to "picture" as suggested by Baptiste Coudurier.
Originally committed as revision 8220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 11:53:11 +00:00
Panagiotis Issaris
392cf77a4b
Move the unaltered documentation of the functions which are part of the public
...
API out of imgconvert.c into avcodec.h.
Originally committed as revision 8121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 07:53:44 +00:00
Guillaume Poirier
bb0f999bbb
add doxygen docs for avpicture_fill()
...
Patch by Panagiotis Issaris % takis P issaris A uhasselt P be %
Originally committed as revision 8034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 08:35:25 +00:00
Diego Biurrun
dc02fc6a68
consistency renaming: yuv422 --> yuyv422
...
Originally committed as revision 7959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 23:23:05 +00:00
Diego Biurrun
9ac529a5ba
consistency renaming: uyvy411 --> uyyvyy411
...
Originally committed as revision 7958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 23:15:38 +00:00
Diego Biurrun
3cf5b6bed7
consistency renaming: rgba32 --> rgb32
...
Originally committed as revision 7957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 23:07:17 +00:00
Diego Biurrun
71e445fca3
Replace deprecated PIX_FMT names by the newer variants.
...
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 01:48:09 +00:00
Luca Barbato
79acfb0e13
Avoid branches in the loop and solve a gcc warning
...
Originally committed as revision 7566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 11:02:07 +00:00
Luca Barbato
6845801f82
Cosmetics
...
Originally committed as revision 7564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:47:58 +00:00
Alex Beregszaszi
20d46c038a
Remove alpha channel from RGB555
...
Originally committed as revision 7106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 20:46:36 +00:00
Alex Beregszaszi
08d23410ea
BGR555 has never been working as alpha supporting format. Remove the false setting.
...
Originally committed as revision 7105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 20:43:29 +00:00
Alex Beregszaszi
b362567605
changed rgba32_to routines to support both alpha and non-alpha formats (see r7066 too)
...
Originally committed as revision 7067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 19:53:22 +00:00
Måns Rullgård
55fde95e3b
rename cropTbl -> ff_cropTbl
...
Originally committed as revision 6992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 20:08:09 +00:00
Reynaldo H. Verdejo Pinochet
418f17e006
Fix obvious typo, BGR555 was missing
...
Originally committed as revision 6812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 22:08:02 +00:00
Kostya Shishkov
34380af0e1
16-bit grayscale support
...
Originally committed as revision 6778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 04:57:43 +00:00
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Luca Abeni
00b2fa864e
Minimal support for the new pixel formats in libavcodec
...
Originally committed as revision 6115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 14:56:47 +00:00
Diego Biurrun
f4bd289a04
Explicitly include fastmemcpy.h from libvo/.
...
Originally committed as revision 6021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-18 13:38:24 +00:00
Luca Abeni
790c9ca72a
Enable swscale usage in ffmpeg
...
Originally committed as revision 5959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 18:51:38 +00:00
Stefan Huehner
62a05b5b00
Mark some read-only datastructures as const.
...
patch by Stefan Huehner, stefan & at & huehner & dot & org
Originally committed as revision 5639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 13:53:07 +00:00
Reimar Döffinger
2d5545c302
make "size" variable in avpicture_alloc signed, since avpicture_get_size
...
returns -1 on error which was not detected with previous code.
Originally committed as revision 5304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 19:51:56 +00:00
Luca Abeni
5341c20954
Baptiste COUDURIER's padding patch (reworked by me a little bit).
...
Moves padding code to imgconvert.c, and enables padding colorspaces != YUV420P.
Originally committed as revision 5278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-10 07:45:29 +00:00
Michael Niedermayer
54009d4295
remove mpegvideo.c img resample dependancy
...
Originally committed as revision 5258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 20:43:37 +00:00
Baptiste Coudurier
f2651e7a6c
Fix cropping, depending on enc pix fmt
...
Originally committed as revision 5134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 13:55:48 +00:00
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Michael Niedermayer
5b2ad9f520
segfault fix
...
Originally committed as revision 4430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 00:43:21 +00:00