summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* mpegvideo: Make sure mpegutils.h is included where neededVittorio Giovara2015-09-13
|
* mpegvideo: Move macros to more appropriate headersVittorio Giovara2015-09-13
| | | | | | | MAX_MB_BYTES -> mpegutils.h FRAME_SKIPPED -> mpegutils.h INPLACE_OFFSET -> mpegutils.h ME_MAP_SIZE -> motion_est.h
* avfilter: Support both syntaxes for the scale filterLuca Barbato2015-09-13
|
* lavr: Remove unreachable codeVittorio Giovara2015-09-13
| | | | Bug-Id: CID 1323180
* buffersrc: Improve initialization log messageVittorio Giovara2015-09-13
| | | | Add timebase and aspect ratio information.
* fate: Change global error option to private error_rate optionVittorio Giovara2015-09-13
|
* fate: Move mv0 option from global to mpv privateVittorio Giovara2015-09-13
|
* lavc: Keep idct integer optionVittorio Giovara2015-09-13
| | | | | | "int" is useful in testing because provides accurate results across different plaftforms, so remove it from the scheduled FF_API_UNUSED_MEMBERS deprecation.
* avconv_filter: Use full named optionsVittorio Giovara2015-09-13
| | | | | | | This introduces a slight timebase computation difference in zmbv-8bit fate test. This is expected since the new options are double instead of ints, and the additional precision skews the results in a non meaningful way.
* lavf: Update to the new crypto APIVittorio Giovara2015-09-13
|
* asfdec: add more checks for size left in asf packet bufferAlexandra Hájková2015-09-12
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavc: Fix compilation with --disable-everything --enable-parser=mpeg4videoHendrik Schreiber2015-09-12
|
* lavc: Sanitize header inclusion guardsVittorio Giovara2015-09-12
| | | | | | Fix typos, add missing comments, and remove stray lines. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Enable side data only packets by defaultVittorio Giovara2015-09-12
| | | | | | | | | Deprecate the now unused option, but temporarily retain the capability to disable the now default behaviour. Mention this change in the AVPacket documentation. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* travis: fix dependenciesJames Almer2015-09-12
| | | | | | | bc hasn't been needed since a982c5d74fbc7ff5bd2f2f73af61ae48e9b1bcc6 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mmaldec: fix pkt_dts determinationwm42015-09-12
| | | | | | | | | | | | This also drops setting the frame->pts field. This is usually not set by decoders, so this would be an inconsistency that's at worst a danger to the API user. It appears the buffer->dts field is normally not set by the MMAL decoder, so don't use it. If it's ever going to be set by MMAL, we don't know whether the value will be what we want. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavc: allow asynchronous decoders to return correct pkt_dts valueswm42015-09-12
| | | | | | | | | | | | | | | The generic code in utils.c sets the AVFrame.pkt_dts field from the packet it was supposedly decoded. This does not have to be true for a fully asynchronous decoder like mmaldec. It could be overwritten with an incorrect value. Even if the decoder doesn't determine the DTS (but sets it to AV_NOPTS_VALUE), it's impossible to determine a correct value in utils.c. Decoders can now be marked with FF_CODEC_CAP_SETS_PKT_DTS, in which case utils.c won't overwrite the field. The decoders are expected to set this field (even if they only set it to AV_NOPTS_VALUE). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mmaldec: disable timestamp interpolationwm42015-09-12
| | | | | | | | | This MMAL feature fills in missing timestamps from the framerate set on the input port. This is generally unwanted, since libavcodec decoders merely pass through timestamps without ever "fixing" them. The framerate is also unknown, and even the timebase doesn't have to be set. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mmaldec: fix problems with flush logicwm42015-09-12
| | | | | | | | | | | | | | Don't try to do a blocking wait for MMAL output if we haven't even sent a single real packet, but only flush packets. Obviously we can't expect to get anything back. Additionally, don't send a flush packet to MMAL in the same case. It appears the MMAL decoder will sometimes hang in mmal_vc_port_disable() (called from ffmmal_close_decoder()), waiting for a reply from the GPU which never arrives. Either MMAL disallows sending flush packets without preceding real data, or it's a MMAL bug. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mmaldec: hack against buffering problems on broken inputwm42015-09-12
| | | | | | | | | | | | | | | | | | I can't come up with a nice way to handle this. It's hard to keep the lock-stepped input/output in this case. You can't predict whether the MMAL decoder will output a picture (because it's asynchronous), so you have to assume in general that any packet could produce 0 or 1 frames. You can't continue to write input packets to the decoder, because then you might get too many output frames, which you can't get rid of because the lavc decoding API does not allow the decoder to return an output frame without consuming an input frame (except when flushing). The ideal fix is a M:N decoding API (preferably asynchronous), which would make this code potentially much cleaner. For now, this hack will do. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Split codeblock decoding from the main tile decodingLuca Barbato2015-09-11
| | | | That loop is completely stand-alone.
* jpeg2000: Do not warn about known and skippable markersLuca Barbato2015-09-11
| | | | Matches the openjpeg behaviour.
* mmvideo: Make sure the rle does not write over the frame boundariesLuca Barbato2015-09-11
| | | | | Bug-Id: 887 CC: libav-stable@libav.org
* ogg: Do not try to use the parser if it is not presentLuca Barbato2015-09-10
| | | | | Bug-Id: 886 CC: libav-stable@libav.org
* pixdesc: Document the component orderLuca Barbato2015-09-10
|
* pixdesc: Add missing alpha flag for yuva420p9beHendrik Leppkes2015-09-10
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* pixdesc: Consistently order componentsHendrik Leppkes2015-09-10
| | | | | | | | Ensure that the components are ordered consistently, ie. always RGB(A) and YUV(A). This allows to identify a specific plane on a given pixel format without hard-coding knowledge of the plane order. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* codec_desc: Add missing DXV entryVittorio Giovara2015-09-09
|
* lavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fieldsVittorio Giovara2015-09-07
| | | | | | The new fields can be accessed directly and are more intelligible. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavu: Remove bit packing from AVComponentDescriptorVittorio Giovara2015-09-07
| | | | | | | | | There is no practical benefit in having this structure elements bit packed given the size of the structure and its usage. Change types from uint16_t (packed) to plain int in order to simplify modifying the structure and accessing its fields. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavu: extend size of the AVPixFmtDescriptor.flags fieldwm42015-09-07
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* asfdec: alloc enough space for storing name in asf_read_metadata_objAlexandra Hájková2015-09-06
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mov: Allow more than one keyframe per trunMartin Storsjö2015-09-06
| | | | | | | | | | | | | | | | | The previous restriction was partially designed to fix certain (broken) samples from bug 215. There should be no restriction on the number of keyframes per fragment or trun. The spec suggests that all frames lacking MOV_FRAG_SAMPLE_FLAG_IS_NON_SYNC are key frames, but we require the flag MOV_FRAG_SAMPLE_FLAG_DEPENDS_YES to be unset as well. This works for (possibly broken) media that never sets the NON_SYNC flag and should also be correct for any spec-compliant file. For files that never set either of the flags, all samples are marked as keyframes. Signed-off-by: Martin Storsjö <martin@martin.st>
* dxtory: Unify and rework the decoding routinesLuca Barbato2015-09-06
| | | | | | | Do not make many assumption on the dimension of the slices and just try to decode additional lines if there is enough data left. Decodes all the samples kindly provided by ultramage.
* checkasm: add unit tests for v210encHenrik Gramner2015-09-06
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* riff: Add AVj2 fourcc for Avid jpeg2000Vittorio Giovara2015-09-04
|
* dxtory: Factorize the buffer loadingLuca Barbato2015-09-04
| | | | And the checks nearby it.
* dxtory: Factorize slice size checksLuca Barbato2015-09-04
| | | | They are always the same.
* fraps: increase vlc nb_bitsMichael Niedermayer2015-09-03
| | | | | Sample-Id: fraps_bug_huff.avi Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* huffman: allow specifying nb_bits to ff_huff_build_tree()Michael Niedermayer2015-09-03
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* huffman: increase bits constantMichael Niedermayer2015-09-03
| | | | | | Bug-ID: ffmpeg ticket 2593 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* huffman: use a named identifer for the bits constantMichael Niedermayer2015-09-03
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mux: Make sure that the data is actually writtenSean McGovern2015-09-03
| | | | | | | | | | And forward the error if it is not. Bug-Id: 881 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* file: properly forward errors from file_read() and file_write()Sean McGovern2015-09-03
| | | | | | | | Bug-Id: 881 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegvideo: Drop a stray error messageLuca Barbato2015-09-03
| | | | The condition is not a failure.
* DXV decoderVittorio Giovara2015-09-02
| | | | Support all DXDI and DXD3 normal quality videos.
* lavc: Add a lzf decompressorLuca Barbato2015-09-02
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* build: Skip libvpx.h if libvpx is not enabledLuca Barbato2015-08-31
|
* tools: Drop a stale headerLuca Barbato2015-08-31
|
* dnxhddata: Double frame_size for cid 1260Michael Niedermayer2015-08-31
| | | | | | | | Despite '417792' being reported in the binary decoder, the buffer at encoding time needs to be bigger to avoid running out of space due to interlace handling. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>