summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* ARM: generate position independent code to access data symbolsMans Rullgard2012-07-01
| | | | | | | | | | | This creates proper position independent code when accessing data symbols if CONFIG_PIC is set. References to external symbols should now use the movrelx macro. Some additional code changes are required since this macro may need a register to hold the GOT pointer. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputilenc_mmx: split assignment of ff_sse16_sse2 to SSE2 section.Ronald S. Bultje2012-06-30
|
* dnxhdenc: add space between function argument type and comment.Ronald S. Bultje2012-06-30
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: fmtconvert: add special asm for float_to_int16_interleave_misc_*Ronald S. Bultje2012-06-30
| | | | | | This gets rid of a variable-length array and a for loop in C code. Signed-off-by: Martin Storsjö <martin@martin.st>
* attributes: Add a definition of av_always_inline for MSVCRonald S. Bultje2012-06-30
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cmdutils: Pass the actual chosen encoder to filter_codec_optsMartin Storsjö2012-06-30
| | | | | | | This allows passing the right options to encoders when there's more than one encoder for a certain codec id. Signed-off-by: Martin Storsjö <martin@martin.st>
* os_support: Add fallback definitions for stat flagsRonald S. Bultje2012-06-30
| | | | | | | | Mingw headers provide similar defines already (unconditional #defines, without any #undef or #ifdef around it), while MSVC doesn't have them. Signed-off-by: Martin Storsjö <martin@martin.st>
* os_support: Rename the poll fallback function to ff_pollMartin Storsjö2012-06-30
| | | | | | | | | | | | The fallback function is a non-static function, we shouldn't be defining non-static functions outside of the proper ff/av prefix namespaces. This is especially important for a function like poll, which other parties (other libraries, or executables linking these libraries) also might provide similar but incompatible fallbacks for. Signed-off-by: Martin Storsjö <martin@martin.st>
* network: Check for struct pollfdMartin Storsjö2012-06-30
| | | | | | | | We need to include winsock2.h here, to make sure we have the real pollfd struct definition, if one exists, before defining the fallback poll function. Signed-off-by: Martin Storsjö <martin@martin.st>
* os_support: Don't compare a negative number against socket descriptorsMartin Storsjö2012-06-30
| | | | | | | | The fds are unsigned integers in the windows definition of struct sockfds. Due to this, the comparison if (fds[i].fd > n) was always false. Signed-off-by: Martin Storsjö <martin@martin.st>
* os_support: Include all the necessary headers for the win32 open functionRonald S. Bultje2012-06-30
| | | | | | | | | | | | | io.h is required for open and _wopen, and fcntl.h is required for the O_CREAT flag. On mingw, fcntl.h is included by os_support.h (and the mingw fcntl.h includes io.h), but include it explicitly here since this implementation requires it. Also move the #undef open up. open must not be defined to ff_win32_open while including the headers that declare the open function. On mingw, this happened in os_support.h before open was redirected. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: vc1: fix and enable optimised loop filterMans Rullgard2012-06-30
| | | | | | | | | | | | | | | | | | | | | | The problem is that the ssse3 psign instruction does the wrong thing here. Commit ea60dfe incorrectly removed a macro emulating this instruction for pre-ssse3 code. However, the emulation is incorrect, and the code relies on the behaviour of the macro. Specifically, the psign sets destination elements to zero where the corresponding source element is zero, whereas the emulation only negates destination elements where the source is negative. Furthermore, the PSIGNW_MMX macro in x86util.asm is totally bogus, which is why the original VC-1 code had an additional right shift when using it. Since the psign instruction cannot be used here, skip all the macro hell and use the working instruction sequence directly. None of this was noticed due a stray return statement in ff_vc1dsp_init_mmx() which meant that only the mmx version of the loop filter was ever used (before being removed in ea60dfe). Signed-off-by: Mans Rullgard <mans@mansr.com>
* file: Only include unistd.h if it existsRonald S. Bultje2012-06-29
| | | | | | | | | | | | It is included for the open/read/write/close functions. On MSVC, where this header does not exist, the same functions are provided by io.h, which is already included. On windows, these functions are provided by io.h. Make sure io.h is included if it exists, regardless of the setmode function. Signed-off-by: Martin Storsjö <martin@martin.st>
* random_seed: Only read /dev/*random if we have unistd.hRonald S. Bultje2012-06-29
| | | | | | | | unistd.h is used for open/read/close, but if this header does not exist, there's probably no use in trying to open /dev/*random at all. Signed-off-by: Martin Storsjö <martin@martin.st>
* doc: Indicate that RTMPT is natively implemented in libavformatSamuel Pitoiset2012-06-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: Don't explicitly include unistd.h any longerRonald S. Bultje2012-06-29
| | | | | | | | unistd.h used to be required for gethostname. On windows, gethostname is provided by winsock2.h. Now network.h includes both unistd.h and winsock2.h if they exist. Signed-off-by: Martin Storsjö <martin@martin.st>
* flv: add support for G.711Damien Fetis2012-06-28
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* doc: git: Add checklist with test steps to perform before pushingDiego Biurrun2012-06-28
|
* flvenc: K&R formatting cosmeticsLuca Barbato2012-06-28
|
* movenc: Add channel layouts for PCM.Alex Converse2012-06-27
|
* mss1: validate number of changeable palette entriesKostya Shishkov2012-06-27
|
* mss1: report palette changed when some additional colours were decodedKostya Shishkov2012-06-27
|
* x86: fft: replace call to memcpy by a loopChristophe Gisquet2012-06-27
| | | | | | | | | The function call was a mess to handle, and memcpy cannot make the assumptions we do in the new code. Tested on an IMC sample: 430c -> 370c. Signed-off-by: Mans Rullgard <mans@mansr.com>
* udp: Support IGMPv3 source specific multicast and source blockingMartin Storsjö2012-06-27
| | | | | | Based on an original patch by Stephen D'Angelo <SDAngelo@evertz.com>. Signed-off-by: Martin Storsjö <martin@martin.st>
* dxva2: include dxva.h if foundRonald S. Bultje2012-06-27
| | | | | | | | Apparently, some build environments require dxva.h even for dxva2, while others lack this header entirely. Including it conditionally allows building in both cases. Signed-off-by: Martin Storsjö <martin@martin.st>
* libm: Provide fallback definitions for isnan() and isinf()Martin Storsjö2012-06-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* tcp: Pass NULL as hostname to getaddrinfo if the string is emptyJordi Ortiz2012-06-27
| | | | | | | This gives you the proper v4 or v6 version of the "any address", allowing receiving connections on any address on the machine. Signed-off-by: Martin Storsjö <martin@martin.st>
* tcp: Set AI_PASSIVE when the socket will be used for listeningJordi Ortiz2012-06-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: add an assert to silence an uninitialized variable warning.Anton Khirnov2012-06-26
| | | | | | | The warning silenced was: avconv.c: In function ‘opt_output_file’: avconv.c:3380:21: warning: ‘meta_out’ may be used uninitialized in this function [-Wuninitialized] avconv.c:3315:20: note: ‘meta_out’ was declared here
* avconv: shut up an uninitialized variable warning.Anton Khirnov2012-06-26
| | | | | | | The warning silenced was: avconv.c: In function ‘configure_filtergraph’: avconv.c:603:8: warning: ‘ist’ may be used uninitialized in this function [-Wuninitialized] avconv.c:549:18: note: ‘ist’ was declared here
* avfiltergraph: shut up uninitialized variable warning.Anton Khirnov2012-06-26
| | | | | | The warning silenced was: libavfilter/avfiltergraph.c: In function ‘avfilter_graph_config’: libavfilter/avfiltergraph.c:500:13: warning: ‘best_idx’ may be used uninitialized in this function [-Wuninitialized]
* af_join: initialize a variable to shut up gcc warning.Anton Khirnov2012-06-26
| | | | | | The warning silenced was: libavfilter/af_join.c: In function ‘join_request_frame’: libavfilter/af_join.c:451:9: warning: ‘nb_samples’ may be used uninitialized in this function [-Wuninitialized]
* amix: fix format specifier for AVFilterLink.sample_rate.Anton Khirnov2012-06-26
| | | | It is a plain int now.
* lavfi: make filters less verbose.Anton Khirnov2012-06-26
|
* mpc8: read APE tags.Anton Khirnov2012-06-26
|
* lavr: x86: fix ff_conv_fltp_to_flt_6ch function prototypesJustin Ruggles2012-06-26
| | | | | | Changed to match the number of parameters in conv_func_interleave(), which is how they are called. The change isn't strictly necessary because the 4th parameter is not used, but the code is clearer if they match.
* libm: provide fallback definition for cbrtf() using powf()Mans Rullgard2012-06-26
| | | | | | | | This adds a fallback for cbrtf() using powf(x, 1/3). Since powf() with a non-integer exponent requires a non-negative base, special handling of negative inputs is needed. Signed-off-by: Mans Rullgard <mans@mansr.com>
* network: Don't redefine error codes if they already exist in errno.hRonald S. Bultje2012-06-26
| | | | | | | | Since the errno.h values don't match the error codes that winsock returns, map the winsock error codes to the errno ones, to make sure explicit checks against AVERROR(x) match. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Check for sys/time.hRonald S. Bultje2012-06-26
| | | | | | | | Apparently this include is needed on some systems for building the poll fallback (for the timeval struct for select?), but it isn't available on all systems. Thus only include it if it exists. Signed-off-by: Martin Storsjö <martin@martin.st>
* network: Include unistd.h from network.hMartin Storsjö2012-06-26
| | | | | | | | | | | This heaader is required for close() for sockets in network code. For winsock, the equivalent function is defined in the winsock2.h header. This avoids having the HAVE_UNISTD_H in all files dealing with raw sockets. Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: don't include vsrc_buffer.h, which doesn't exist anymoreAnton Khirnov2012-06-26
|
* lavfi: reorder AVFilterLink fields.Anton Khirnov2012-06-26
| | | | Move private fields to the private section, remove holes.
* lavfi: reorder AVFilterContext fields.Anton Khirnov2012-06-26
| | | | Place related fields together, remove holes.
* lavfi: reorder AVFilter fields.Anton Khirnov2012-06-26
| | | | | Place related fields together, remove holes, move private fields to the end and mark them as private.
* lavfi: reorder AVFilterBufferRef fields.Anton Khirnov2012-06-26
| | | | Place related fields together, remove holes.
* lavfi: reorder AVFilterBuffer fields.Anton Khirnov2012-06-26
| | | | Place related fields together, remove holes.
* lavfi: remove disabled FF_API_FILTERS_PUBLIC cruftAnton Khirnov2012-06-26
|
* lavfi: remove disabled FF_API_DEFAULT_CONFIG_OUTPUT_LINK cruftAnton Khirnov2012-06-26
|
* lavfi: use proper FF_API guards for different deprecated functionsAnton Khirnov2012-06-26
|
* lavfi: remove disabled FF_API_VSRC_BUFFER_ADD_FRAME cruftAnton Khirnov2012-06-26
|