- 14 Sep, 2015 2 commits
-
-
Luca Barbato authored
-
Luca Barbato authored
That loop is completely stand-alone.
-
- 13 Sep, 2015 12 commits
-
-
Luca Barbato authored
Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
Vittorio Giovara authored
Add necessary headers in .c files.
-
Vittorio Giovara authored
-
Vittorio Giovara authored
MAX_MB_BYTES -> mpegutils.h FRAME_SKIPPED -> mpegutils.h INPLACE_OFFSET -> mpegutils.h ME_MAP_SIZE -> motion_est.h
-
Luca Barbato authored
-
Vittorio Giovara authored
Bug-Id: CID 1323180
-
Vittorio Giovara authored
Add timebase and aspect ratio information.
-
Vittorio Giovara authored
-
Vittorio Giovara authored
-
Vittorio Giovara authored
"int" is useful in testing because provides accurate results across different plaftforms, so remove it from the scheduled FF_API_UNUSED_MEMBERS deprecation.
-
Vittorio Giovara authored
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.
-
Vittorio Giovara authored
-
- 12 Sep, 2015 10 commits
-
-
Alexandra Hájková authored
Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
Hendrik Schreiber authored
-
Vittorio Giovara authored
Fix typos, add missing comments, and remove stray lines. Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
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>
-
James Almer authored
bc hasn't been needed since a982c5d7Signed-off-by:
James Almer <jamrial@gmail.com> Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
wm4 authored
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>
-
wm4 authored
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>
-
wm4 authored
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>
-
wm4 authored
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>
-
wm4 authored
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>
-
- 11 Sep, 2015 3 commits
-
-
Luca Barbato authored
That loop is completely stand-alone.
-
Luca Barbato authored
Matches the openjpeg behaviour.
-
Luca Barbato authored
Bug-Id: 887 CC: libav-stable@libav.org
-
- 10 Sep, 2015 4 commits
-
-
Luca Barbato authored
Bug-Id: 886 CC: libav-stable@libav.org
-
Luca Barbato authored
-
Hendrik Leppkes authored
Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
Hendrik Leppkes authored
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>
-
- 09 Sep, 2015 1 commit
-
-
Vittorio Giovara authored
-
- 07 Sep, 2015 3 commits
-
-
Vittorio Giovara authored
The new fields can be accessed directly and are more intelligible. Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
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>
-
wm4 authored
Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 06 Sep, 2015 4 commits
-
-
Alexandra Hájková authored
Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
Martin Storsjö authored
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>
-
Luca Barbato authored
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.
-
Henrik Gramner authored
Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 04 Sep, 2015 1 commit
-
-
Vittorio Giovara authored
-