Luca Barbato
d162994a81
doc: explain __STDC_CONSTANT_MACROS in C++
...
In order to build C++ programs using libav you need
-D__STDC_CONSTANT_MACROS appened to the CXXFLAGS.
2011-09-10 15:21:22 -04:00
Luca Barbato
5ee5dc4e9a
nutenc: add namespace to the api facing functions
...
Rename write_{header,packet,trailer} to nut_write_{header,packet,trailer}
in order to make easier debugging them.
2011-09-04 11:09:06 +02:00
Luca Barbato
dde372934a
avcodec: remove misleading comment
...
coded_width is the width before lowres scaling,
coded_height is the height before lowres scaling.
2011-08-31 09:57:46 +02:00
Luca Barbato
22141917a9
Revert "h264: Properly set coded_{width, height} when parsing H.264."
...
This reverts commit b47904d158 .
coded_{width, height} overwrites width and height in avcodec_open and
it currently just report the non-lowres size.
2011-08-29 18:32:31 +02:00
Luca Barbato and Anton Khirnov
7f5bf4fbaf
flvenc: use int64_t to store offsets
...
Metadata currently is written only at the start of the file in normal
cases, when transcoding from a rtmp source metadata could be
written later and the offset recorded can exceed 32bit.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-08-16 20:24:20 +02:00
Luca Barbato
3304a1e69a
swscale: add dithering to yuv2yuvX_altivec_real
...
It just does that part in scalar form, I doubt using a vector store
over 2 array would speed it up particularly.
The function should be written to not use a scratch buffer.
2011-08-13 00:06:04 +02:00
Luca Barbato
1bf6cb85be
applehttp: fix variant discard logic
...
The v->ctx is always not NULL now, check for streams presence to
mark the read_header state.
Fixes bug #25 , possibly introduced by 603b8bc
2011-08-04 11:21:33 +02:00
Luca Barbato
5038f9b268
apichange: add an entry for AV_PKT_FLAG_CORRUPT
2011-08-02 02:43:10 +02:00
Luca Barbato
9d39cbf6cf
avpacket: signal possibly corrupted packets
...
Use AV_PKT_FLAG_CORRUPT flag to mark packets that might be incomplete
or have errors. Formats that have a mean to validate their packets
should use this flag to deliver such information instead of silently
dropping the packets.
2011-08-02 02:19:31 +02:00
Luca Barbato
8a54bfe83f
build: make examples build normally
...
The link target was missing $(EXAMPLES)
2011-07-30 13:42:44 +02:00
Luca Barbato
0e28e9ca8f
flvenc: propagate error properly
...
avio_flush can fail, in particular when used with the rtmp/librtmp
protocol.
2011-06-06 10:53:19 -05:00
Luca Barbato
2c6fb9f032
v4l2: do not force NTSC as standard
...
Setting a standard is meaningful only for analog capture devices.
2011-06-05 14:20:56 -05:00
Luca Barbato
6348a96c06
configure: report yasm/nasm presence properly
...
If the secondary assembler is in use report the proper name
2011-05-27 09:42:14 +02:00
Luca Barbato
ebb6b27ad9
tcp: make connect() timeout properly
...
The connect() timeout can take minutes, gets misreported as EIO and
isn't interruptible.
2011-05-27 09:42:14 +02:00
Luca Barbato
e3b540b424
Make ffmpeg support generic data stream
...
The patch is the first step to support -dcodec copy
2011-05-03 11:51:55 +02:00
Luca Barbato
ba9327ea65
win32: include the correct header in cmdutils.c
...
CommandLineToArgvW requires windows.h, include it directly
2011-04-25 21:57:30 +02:00
Luca Barbato
facc48f157
libvo-aacenc,libvo-amrwbenc}: fix api usage
...
Use the correct error codes and format identifier.
2011-04-18 22:21:13 +02:00
Luca Barbato
6216fc70b7
swscale: simplify rgb2rgb templating
...
MMX is always built. Drop the ifdefs
2011-04-14 22:16:47 +02:00
Luca Barbato
86330b4c92
swscale: partially move the arch specific code left
...
PPC and x86 code is split off from swscale_template.c. Lots of code is
still duplicated and should be removed later.
Again uniformize the init system to be more similar to the dsputil one.
Unset h*scale_fast in the x86 init in order to make the output
consistent with the previous status. Thanks to Josh for spotting it.
2011-04-14 22:16:47 +02:00
Luca Barbato
c003832883
swscale: move away x86 specific code from rgb2rgb
...
Keep only the plain C code in the main rgb2rgb.c and move the x86
specific optimizations to x86/rgb2rgb.c
Change the initialization pattern a little so some of it can be
factorized to behave more like dsputils.
2011-04-14 22:16:47 +02:00
Luca Barbato and Diego Biurrun
0e1a5434e2
swscale: Factorize FAST_BGR2YV12 definition.
...
It is used only for x86 so it will eventually be moved with that code
into the x86 arch subdirectory.
2011-04-13 17:24:53 +02:00
Luca Barbato
4c362a5212
doc: update developer guide
...
Refer to the current submission policy and refer to FATE in the
Regression Test section.
2011-04-13 10:01:14 +02:00
Luca Barbato and Anton Khirnov
f3e3f28e80
Error out if vaapi is not found
...
Make the behaviour consistent with the other external deps.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-04-12 19:17:06 +02:00
Luca Barbato
a2031251c7
proto: include os_support.h in network.h
...
Fix compilation on systems without poll()
2011-04-07 21:03:12 +02:00
Luca Barbato
3d42d4937b
proto: introduce listen option in tcp
...
This way is possible to have simple micro-server act like
ffmpeg -i file.nut -vcodec copy -acodec copy -f nut tcp://foo:1234?listen
2011-04-07 02:54:30 +02:00
Luca Barbato
a013291d26
doc: clarify configure features
...
This way people will not get surprises regarding the current configure
behaviour and contributors will have a guideline on what is expected.
2011-04-07 02:54:12 +02:00
Luca Barbato
ebba2b3e2a
proto: factor ff_network_wait_fd and use it on udp
...
Support the URL_FLAG_NONBLOCK semantic and uniform the protocol.
The quick retry loop is already part of retry_transfer_wrapper.
The polling routine is common to the network protocols:
udp, tcp and, once merged, sctp.
2011-04-07 02:53:55 +02:00
Luca Barbato
c535d0896e
doc: update build system documentation
...
Split normal build system documentation and the fate one.
Document THREADS make variable and provide an introduction to fate.
Document DESTDIR make variable and add some generic targets.
2011-03-25 09:48:25 +01:00
Luca Barbato
a96c176aed
fate: simplify regression-funcs.sh
...
Factor ffmpeg calls using run_ffmpeg()
2011-03-23 01:17:20 +01:00
Luca Barbato
7851eb68c6
fate: add support for multithread testing
...
Add a THREADS variable to fate calls.
2011-03-23 01:17:20 +01:00
Luca Barbato
417516f63f
Set the correct target for mingw64 dlltool
...
That fixes .lib creation for the win64 target.
2011-03-21 20:22:51 +01:00
Luca Barbato
ec10a9ab46
configure: use dlltools instead of lib.exe
...
This way building ffmpeg on mingw won't require windows specific tools
2011-03-19 16:39:54 +01:00
Luca Barbato
8f1b06c81c
configure: check for SDL_Linked_Version instead of SDL_Init
...
This avoids the main/SDL_main declaration clash caused by SDL on
Windows and other platforms.
2011-03-19 16:39:54 +01:00
Luca Barbato
4af9c1a56f
doc: update applehttp documentation
...
Integrate more comments from Stefano.
2011-03-17 03:34:16 +01:00
Luca Barbato
0e6a3ee4fa
doc: document applehttp protocol
...
The documentation might be extended once/if a live/store override option
will have to be provided for non-compliant segmenter.
2011-03-13 16:34:58 +01:00
Luca Barbato and Janne Grunau
ea7f080749
Free the RTSPStreams in ff_rtsp_close_streams
...
This plugs a small memory leak
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net >
2011-02-01 20:40:16 +01:00
Luca Barbato
dfd2a005eb
Replace dprintf with av_dlog
...
dprintf clashes with POSIX.1-2008
2011-01-29 23:55:37 +01:00
Luca Barbato
f81c7ac70a
rtsp: make ff_sdp_parse return value forwarded
...
the sdp demuxer did not forward it at all while the rtsp demuxer assumed
a single kind of error
2011-01-28 15:45:19 +01:00
Luca Barbato
a8475bbdb6
os: replace select with poll
...
Select has limitations on the fd values it could accept and silently
breaks when it is reached.
2011-01-28 15:45:19 +01:00
Luca Barbato and Janne Grunau
d1b6f33bf2
Add ff_ to AVHWAccel decoders
...
That unbreaks compilation of vaapi and dxva2
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net >
2011-01-27 10:03:14 +01:00
Luca Barbato
183cdf7163
Update asm offsets for arm
...
This unbreak ffmpeg build on arm/elf, arm/mach-o still need an update
Originally committed as revision 26286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-09 14:21:35 +00:00
Luca Barbato
2a12706710
Unbreak ffserver
...
Make sure the sample_aspect_ratio is 0 and not 0/0.
Originally committed as revision 26254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-07 18:48:45 +00:00
Luca Barbato
8d660f7527
Make fate vp8 test cover emu_edge cases
...
Originally committed as revision 26134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 17:48:57 +00:00
Luca Barbato
a4a3bade0a
Reinstate default time_base for rtp streams
...
The generic default is 0/0 and that obviously triggers once the value is used.
Originally committed as revision 26016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-15 17:16:37 +00:00
Luca Barbato
6f9932476d
Update H263_AIC asm offset for the apple variant
...
Originally committed as revision 25099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-10 19:25:42 +00:00
Luca Barbato
d93fdcbf5c
Preserve status reason
...
It is used to provide meaningful error messages.
Originally committed as revision 24714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-06 10:26:30 +00:00
Luca Barbato
46bbf39576
Add my gpg fingerprint
...
Originally committed as revision 24556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 22:00:47 +00:00
Luca Barbato
bf55cf19ca
Report when a method gets an error status code
...
That makes easier understand what went wrong.
In debug mode the whole reply gets printed.
Originally committed as revision 24212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 10:17:20 +00:00
Luca Barbato
dc6cf61e33
Handle av_base64_decode return value
...
garbled sdp would cause crash otherwise.
Originally committed as revision 24191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 11:54:48 +00:00
Luca Barbato
1f563bfa15
Remove typo: s/ingore/ignore/
...
Originally committed as revision 23758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-24 17:59:49 +00:00
Luca Barbato
3a9bc39eaf
librtmp may link to different ssl implementations
...
Make sure we link using the right libs by using pkg-config
Originally committed as revision 23511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-06 19:35:10 +00:00
Luca Barbato
48790d8ba8
Remove stray and possibly wrong line, rtpdec.c sets that already
...
Originally committed as revision 23440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 16:51:29 +00:00
Luca Barbato
bacde6466c
Make ffserver support rfc3550
...
Originally committed as revision 22907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-19 11:42:02 +00:00
Luca Barbato
9094d867aa
Make rtp protocol obey rfc3550
...
Originally committed as revision 22906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-19 11:40:45 +00:00
Luca Barbato
7ed8211b3e
Issue a warning if the received CSeq isn't the expected one
...
Originally committed as revision 22661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-24 22:38:48 +00:00
Luca Barbato
d7250724ef
Rename internal function
...
sdp_read_packet -> rtsp_fetch_packet
This way describes slightly better what it does.
Originally committed as revision 20982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-30 16:19:28 +00:00
Luca Barbato
7549632bda
rtsp_close_streams frees the auth_b64 line already
...
Originally committed as revision 20370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-25 00:41:10 +00:00
Luca Barbato
d243ba30b8
Support 3xx redirection in rtsp
...
All the error codes 3xx got managed the same way.
After setup/early play redirection will not be managed
REDIRECT method is yet to be supported (if somebody knows a server implementing
it please contact me)
Originally committed as revision 20369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-25 00:06:31 +00:00
Luca Barbato
921da21745
Just remove params understood by the demuxer
...
This should unbreak certain urls.
Originally committed as revision 20364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-24 16:53:06 +00:00
Luca Barbato
7541f32edd
Suppress ?params in the rtsp uri
...
Right now rtsp demuxer receives it's ffmpeg specific params encoded in the url
That made the server receiving requests with the url ending with "?udp",
"?multicast" and "?tcp". That may or may not cause problems to servers with
overly strict or overly simple uri parsers
Patch from Armand Bendanan (name.surnameATfreeDOTfr)
Originally committed as revision 20363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-24 15:18:21 +00:00
Luca Barbato
224b44957b
Use sdp c= line if the rtsp Transport line doesn't have a destination
...
Transport:destination in rtsp is optional, c= line in sdp is compulsory
Patch from Armand Bendanan (name.surnameATfreeDOTfr)
Originally committed as revision 20362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-24 15:10:58 +00:00
Luca Barbato
ec606b36b4
Support seeking as defined by the rfc
...
a PLAY with Range alone while in PLAY status should be interpreted
as an enqueue
a PAUSE followed by a PLAY with Range is the proper way to ask to
seek to a point.
See rfc2326
Originally committed as revision 19143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-10 15:08:02 +00:00
Luca Barbato
4db819bc7f
Make sure buffer end remains constant within the loop
...
otherwise ff_find_start_code could read over the buffer size
Originally committed as revision 19142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-10 14:56:50 +00:00
Luca Barbato
d89eae6f1a
Remove stray code
...
Originally committed as revision 16358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 11:30:30 +00:00
Luca Barbato
a6b4448cdf
Cleanup _t types in libavcodec/ppc
...
Originally committed as revision 16357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 11:21:28 +00:00
Luca Barbato
537db58b6c
Let imgresample altivec code build
...
Originally committed as revision 16093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 10:53:30 +00:00
Luca Barbato
7a8f36cccc
Cleanup types
...
Originally committed as revision 16092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 10:52:34 +00:00
Luca Barbato
006c8e9e9c
Unbreak imgresample altivec
...
Originally committed as revision 16091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 10:49:38 +00:00
Luca Barbato
644e7acba4
Rename type to be consistent
...
Originally committed as revision 16090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 10:45:44 +00:00
Luca Barbato
536cd1db71
Flush SDP description
...
Originally committed as revision 15826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-15 12:32:38 +00:00
Luca Barbato
7cff2c7f44
gcc-apple specific fallback not necessary anymore (btw no apple hardware is less than a Intel core, thus it won't come there w/out disabling all the optimizations)
...
Originally committed as revision 27722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-05 21:00:16 +00:00
Luca Barbato
896a22b851
Uniform *ToY and *ToUV function signatures
...
Originally committed as revision 27636 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-18 00:26:37 +00:00
Luca Barbato
3a5ba0c33f
Split mono2Y in monowhite and monoblack
...
Originally committed as revision 27635 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-18 00:24:32 +00:00
Luca Barbato
e48a79c91a
Factorize unit32_t* casts for palette pointer
...
Originally committed as revision 27634 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-18 00:22:53 +00:00
Luca Barbato
97b93389af
Make ToY and ToUV family of function consistent part I
...
Convert width argument from int to long (note: srcW is still an int).
Originally committed as revision 27544 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-07 18:22:29 +00:00
Luca Barbato
9ac78726b8
Missing static in float_to_int16_altivec declaration
...
Originally committed as revision 14967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 16:32:03 +00:00
Luca Barbato
0a3650c9f0
Remove unused variables
...
Originally committed as revision 14929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 21:10:38 +00:00
Luca Barbato
e1f27dc22b
Introduce float_to_int16_interleave_altivec, tested with vorbis
...
Originally committed as revision 14928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 21:09:46 +00:00
Luca Barbato
8d3d51005a
Introduce float_to_int16_one_altivec
...
Originally committed as revision 14927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 21:02:30 +00:00
Luca Barbato
1619f426b9
100L, avoption splited code added, I should double check with svn status...
...
Originally committed as revision 27245 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-10 15:37:06 +00:00
Luca Barbato
e40b183d3a
Split AVOption/AVClass in a separate file. SoC Patch from Keiji Costantini
...
Originally committed as revision 27244 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-09 22:43:08 +00:00
Luca Barbato
fcc402b1c9
Remove ASSERT() macro. SoC Patch from Keiji Costantini
...
Originally committed as revision 27214 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-06 03:32:47 +00:00
Luca Barbato
bc5a04440b
Reindent. SoC Patch from Keiji Costantini
...
Originally committed as revision 27213 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-06 03:27:31 +00:00
Luca Barbato
2d35ae567f
Split simpleCopy into packedCopy and planarCopy. SoC Patch from Keiji Costantini
...
Originally committed as revision 27212 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-06 03:26:32 +00:00
Luca Barbato
e3e0d99332
Cosmetics: reorder and align targets
...
Originally committed as revision 26671 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-05-04 20:22:03 +00:00
Luca Barbato
5478959b8f
Build sparc arch specific code using the Makefile
...
Originally committed as revision 26670 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-05-04 20:19:33 +00:00
Luca Barbato
17ac9f1c38
Import Dirac demuxer/muxer from SoC branch; written by Marco Gerards,
...
patch extracted by Anuradha Suraparaju anuradhaAtrdDoTbbcDoTcoDoTuk.
Originally committed as revision 13031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 14:52:39 +00:00
Luca Barbato
6ef4ba3fb3
libdirac and libschro common code, patch from Anuradha Suraparaju anuradhaAtrdDoTbbcDoTcoDotuk
...
Originally committed as revision 12923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 13:22:21 +00:00
Luca Barbato
3adfb3772c
doxy header for udp protocol
...
Originally committed as revision 12861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 16:52:35 +00:00
Luca Barbato
b4999290fd
Cleanup comments and make them doxygen parsable.
...
Originally committed as revision 12841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-15 22:22:49 +00:00
Luca Barbato
fc9b22dd2e
Expose max_packet_size from the rtp protocol
...
Originally committed as revision 12839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-15 19:27:39 +00:00
Luca Barbato
3fbe711832
Eliminate movdqu in vp3dsp_sse2, patch from Alexander Strange astrangeAtithinkswDoTcom
...
Originally committed as revision 12824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 20:54:23 +00:00
Luca Barbato
18ec046026
Error message for EPROTONOSUPPORT, patch from prossATxvidDoTorg
...
Originally committed as revision 12679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 22:16:34 +00:00
Luca Barbato
5ee0e1395d
use FF_NETERROR to make winsock happy, patch from prossATxvidDoTorg
...
Originally committed as revision 12678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 22:15:16 +00:00
Luca Barbato
838cc9c80a
Cosmetics: reindent and whitespaces
...
Originally committed as revision 12565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-23 15:51:02 +00:00
Luca Barbato
721392606b
Remove declarations after statements from doVertDefFilter_altivec
...
Originally committed as revision 12563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-23 15:39:39 +00:00
Luca Barbato
e9ddf49639
Remove declarations after statements from doVertLowPass_altivec
...
Originally committed as revision 12562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-23 15:35:19 +00:00
Luca Barbato
2e55c25f88
Remove declarations after statements from vertClassify_altivec
...
Originally committed as revision 12561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-23 15:33:24 +00:00
Luca Barbato
5369d74c30
Reorder declarations in vertClassify_altivec
...
Originally committed as revision 12560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-23 15:29:22 +00:00
Luca Barbato
3174c77a3e
gcc2 doesn't have bogus mergel, patch from Sigbjørn Skjæret cisc...broadpark___no
...
Originally committed as revision 11523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-13 23:58:12 +00:00