summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avpicture: Deprecate the single fieldsLuca Barbato2015-10-27
| | | | Silence pointless warnings from gcc.
* avconv: support infinite loop for the loop optionAlexandra Hájková2015-10-26
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avpacket: Provide an alloc and a free function for the structLuca Barbato2015-10-26
| | | | | Pave the way for having the size of the AVPacket struct not part of the ABI.
* avpacket: Deprecate av_dup_packetLuca Barbato2015-10-26
| | | | | As documented, `av_dup_packet` is broken by design, `av_packet_ref` matches the AVFrame ref-counted API and can be safely used instead.
* avformat: Rework add_to_pktbufLuca Barbato2015-10-26
| | | | | Make it return an error and check its return value when it is used. Simplify the usage by calling `av_packet_ref` internally when needed.
* avpacket: Replace av_free_packet with av_packet_unrefLuca Barbato2015-10-26
| | | | | | | `av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
* avformat: Always return ref-counted AVPacketLuca Barbato2015-10-26
| | | | And drop the av_dup_packet from the input_thread.
* avprobe: Unref the packet once it is usedLuca Barbato2015-10-26
| | | | | | Make sure it does not leak packets. CC: libav-stable@libav.org
* roqvideodec: use av_frame_copyHendrik Leppkes2015-10-26
| | | | | CC: libav-stable@libav.org Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* hap: Set avctx.bits_per_coded_sampleTom Butterworth2015-10-25
| | | | | | Fixes an issue where alpha is ignored in some players. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* cmdutils: Check for and report the correct codec capabilityVittorio Giovara2015-10-25
|
* screenpresso: Drop parameter change checkVittorio Giovara2015-10-25
| | | | | Size can never change, allowing us to use ff_reget_buffer, and to simplify the code a little.
* mpegvideo_enc: Fix encoding videos with less frames than the delay of the ↵Alexis Ballier2015-10-25
| | | | | | | | | | | | encoder When the encoder is fed with less frames than its delay, the picture list looks like { NULL, NULL, ..., frame, frame, frame }. When flushing the encoder (input frame == NULL), we need to ensure the picture list is shifted enough so that we do not return an empty packet, which would mean the encoder has finished, while it has not encoded any frame. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpegvideo_enc: Merge ifs with identical conditionsMichael Niedermayer2015-10-25
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* mpegvideo_enc: Factor new_picture unref outMichael Niedermayer2015-10-25
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* innoHeim/Rsupport Screen Capture Codec decoderVittorio Giovara2015-10-23
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* kvazaar: Add libkvazaar HEVC encoderArttu Ylä-Outinen2015-10-23
| | | | | Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpjpeg: Cope with multipart lacking the initial CRLFLuca Barbato2015-10-23
| | | | | | | | | Some server in the wild do not put the boundary at a newline as rfc1347 7.2.1 states. Cope with that by reading a line and if it is not empty reading a second one. Reported-By: bitingsock
* img2enc: Make sure the images are atomically writtenLuca Barbato2015-10-23
| | | | | Users that want to generate a live-preview and serve it would otherwise get partial images.
* libx264: Make sure the extradata are paddedLuca Barbato2015-10-23
|
* movenc: Honor flush requests with delay_moov, when some tracks lack samplesMartin Storsjö2015-10-23
| | | | | | | | This also makes sure that a fragmented file without the empty_moov flag (i.e. with a non-empty initial moov fragment) actually gets written, if some of the tracks turn out to not have any samples. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Allow $ as interleaved packet indicator before a complete response headerMartin Storsjö2015-10-23
| | | | | | | | | | | | | | | Some RTSP servers ("HiIpcam/V100R003 VodServer/1.0.0") respond to our keepalive GET_PARAMETER request by a truncated RTSP header (lacking the final empty line to indicate a complete response header). Prior to 764ec70149, this worked just fine since we reacted to the $ as interleaved packet indicator anywhere. Since $ is a valid character within the response header lines, 764ec70149 changed it to be ignored there. But to keep compatibility with such broken servers, we need to at least allow reacting to it at the start of lines. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Deprecate AVPicture structure and related functionsVittorio Giovara2015-10-22
| | | | | | | | | | | | | | | | | This structure served as a bridge between data pointers and frames, but it suffers from several limitations: - it is not refcounted and data must be copied to every time - it cannot be expanded without ABI break due to being used on the stack - its functions are just wrappers to imgutils which add a layer of unneeded indirection, and maintenance burden - it allows hacks like embedding uncompressed data in packets - its use is often confusing to our users AVFrame provides a much better API, and, if a full blown frame is not needed, it is just as simple and more straightfoward to use data and linesize arrays directly. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* utils: Use data buffers directly instead of an AVPictureVittorio Giovara2015-10-22
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avplay: Replace avpicture functions with imgutilsVittorio Giovara2015-10-21
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Add data and linesize to AVSubtitleRectVittorio Giovara2015-10-21
| | | | | | | | | | | | Use the new fields directly instead of the ones from AVPicture. This removes a layer of indirection which serves no pratical purpose whatsoever, and will help in removing AVPicture structure completely later. Every subtitle encoder/decoder seamlessly points to the new arrays, so it is possible to deprecate AVSubtitleRect.pict. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Replace any remaining avpicture function with imgutilsVittorio Giovara2015-10-21
| | | | | | avpicture_get_size() -> av_image_get_buffer_size() Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* nuv: Replace avpicture functions with imgutilsVittorio Giovara2015-10-21
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dpx: Replace avpicture functions with imgutilsVittorio Giovara2015-10-21
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* roqvideodec: Replace avpicture functions with imgutilsVittorio Giovara2015-10-21
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* rawdec: Replace avpicture functions with imgutilsLuca Barbato2015-10-21
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* rawenc: Replace avpicture functions with imgutilsLuca Barbato2015-10-21
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* msrle: Use AVFrame instead of AVPictureVittorio Giovara2015-10-21
| | | | | | | Callers always use a frame and cast it to AVPicture, change ff_msrle_decode() to accept an AVFrame directly instead. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* APIchanges: Fill in missing dates and hashesVittorio Giovara2015-10-19
|
* avconv: add support for Intel QSV-accelerated transcodingAnton Khirnov2015-10-16
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* qsvenc: add an API for allocating opaque surfacesAnton Khirnov2015-10-16
|
* qsvenc: cosmetics, reindentAnton Khirnov2015-10-16
|
* qsvenc: set the timestamp for PIX_FMT_QSV frames as wellAnton Khirnov2015-10-16
|
* qsvenc: support passing arbitrary external buffers to the encoderAnton Khirnov2015-10-16
|
* w32pthreads: fix mingw build on x86 with -msse2 or higherHendrik Leppkes2015-10-16
| | | | | | | | When SSE2 or higher compiler optimizations are used, mingw uses the _mm_mfence intrinsic for MemoryBarrier, however it doesn't include the appropriate headers automatically. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* wrapped_avframe: Drop a now-unused variableLuca Barbato2015-10-16
|
* mpeg12: Unbreak building stale codeLuca Barbato2015-10-16
| | | | Broken in 2d59159508c5c1830cc5da907a9454e229077320
* aac: Make codec init run under ff_thread_onceDerek Buitenhuis2015-10-15
| | | | | | This makes AAC init threadsafe. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* fate: Move screenpresso to the appropriate screen capture fileVittorio Giovara2015-10-15
|
* lavc: AV-prefix a few left out capabilitiesVittorio Giovara2015-10-15
|
* cmdutils: Print general codec capabilitiesVittorio Giovara2015-10-15
|
* cmdutils: Add auto to threading capabilities reportVittorio Giovara2015-10-15
| | | | | | And use 'none' when such capabilities are not set. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* h264: Run VLC init under pthread_onceDerek Buitenhuis2015-10-14
| | | | | | | This makes the h.264 decoder threadsafe to initialize. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* thread: Provide no-op variants for pthread_onceLuca Barbato2015-10-14
|
* dxva: Include last the internal headerLuca Barbato2015-10-14
| | | | | It redefines _WIN32_WINNT, possibly causing problems with the w32pthreads.h header.