- 25 Jun, 2016 10 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
This makes sure the actual stream parameters are used, which is important mainly for hardware decoding+filtering cases, which would previously require various weird workarounds to handle the fact that a fake software graph has to be constructed, but never used. This should also improve behaviour in rare cases where avformat_find_stream_info() does not provide accurate information.
-
Anton Khirnov authored
This will be useful in the following commit, after which the muxer timebase is not always available when encoding.
-
Anton Khirnov authored
Currently, a filtergraph will pull in the output constraints from its corresponding decoder context, which breaks proper layering. Instead, explicitly send the constaints on the output parameters to the filtergraph. This is similar to what is done for filtergraph inputs in 30ab4c51a180610d9f1720c75518d763515c0d9f
-
Anton Khirnov authored
Setting the filter input parameters is moved to init_input_stream(), so that it is done before the decoder is opened, potentially overwriting the information from avformat_find_stream_info() with less accurate data. This commit temporarily disables QSV transcoding with hw frames. The functionality will be re-added in the following commits.
-
Anton Khirnov authored
Currently, calling configure_filtergraph() will pull in the input parameters from the corresponding decoder context. This has the following disadvantages: - the decoded frame is a more proper source for this information - a filter accessing decoder data breaks proper layering Add functions for explicitly sending the input stream parameters to a filtergraph input - currently from a frame and a decoder. The decoder one will be dropped in future commits after some more restructuring.
-
Anton Khirnov authored
-
Anton Khirnov authored
This should have no practical effect for now, but will make a difference in the following commits.
-
Anton Khirnov authored
The destination filter might expect the hw frames context to be already set (this is the case e.g. for hwdownload).
-
- 24 Jun, 2016 4 commits
-
-
Martin Storsjö authored
The encode function is supposed to just return 0 on success. This stems from a mixup with the return value of decode functions. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Diego Biurrun authored
-
Diego Biurrun authored
-
- 23 Jun, 2016 1 commit
-
-
Diego Biurrun authored
libavcodec/h264_slice.c:1384:9: warning: variable 'droppable' set but not used
-
- 22 Jun, 2016 1 commit
-
-
Luca Barbato authored
The exit condition was missing. CC: libav-stable@libav.org
-
- 21 Jun, 2016 24 commits
-
-
Mark Thompson authored
No longer make a dummy device configuration to query. Instead, just return everything we recognise from the whole format list. Also change the device setup code to query that list only, rather than intersecting it with the constraint output. This makes hwupload more usable on mesa/gallium where the video processor only declares support for RGB formats, making it unable to deal with YUV formats before this patch. It might introduce some different trickier failures in the internal upload/download code because the set of allowed formats there has changed, though I didn't find any obvious regressions with i965.
-
Mark Thompson authored
Just a typo. Add a comment to make it clearer what it's doing.
-
Martin Storsjö authored
This was introduced by mistake in 39cdbb12 (only one of the added variables were really needed). Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
The functions may not clean up properly after using MMX registers. For the normal testing calls, the checkasm_checked_call functions will do the cleanup (and check that functions that should clean up do it as well), but when benchmarking functions that don't clean up, we don't currently properly clean up at all. This causes issues if a benchmarked function is followed by testing of a function that is supposed to not clobber the MMX/FPU state but doesn't touch it at all. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Anton Khirnov authored
-
Anton Khirnov authored
Currently it's exported as AVFrame.pkt_pts, which is also the only use for that field. The reason it is done like this is that lavc used to export various codec-specific "timing" information in AVFrame.pts, which is not done anymore. Since it is confusing to the callers to have a separate field which is used only for decoder timestamps and nothing else, deprecate pkt_pts and use just AVFrame.pts everywhere.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
This is a more appropriate place for it.
-
Anton Khirnov authored
For now it will only be used by the default get_buffer2 callback for allocating hw frames.
-
Vittorio Giovara authored
-
Vittorio Giovara authored
Appeared in H.264 2016/02. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Neil Birkbeck authored
Adding hybrid log-gamma (https://en.wikipedia.org/wiki/Hybrid_Log-Gamma) based on the standardization in ARIB STD-B67: http://www.arib.or.jp/english/html/overview/doc/2-STD-B67v1_0.pdf The choice of enum value of 18 is consistent with HEVC: http://phenix.it-sudparis.eu/jct/doc_end_user/current_document.php?id=10481 And also with latest proposal for color format in mkv: https://mailarchive.ietf.org/arch/search/?email_list=cellar&gbt=1&q=Colour+Format+proposalSigned-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Anton Khirnov authored
-
Anton Khirnov authored
This will be needed in the following commits.
-
Anton Khirnov authored
-
Anton Khirnov authored
Fail immediately if automatic encoder selection failed. Always set the stream_copy/encoding_needed flags in one place.
-
Anton Khirnov authored
The current code assumes that encoding_needed is simply an inverse of stream_copy, which is not true for manually attached files (for which neither of those is true).
-
Anton Khirnov authored
We already have all the necessary information in open_output_file(). This makes the information about the stream/filtergraph mappings available earlier.
-
Anton Khirnov authored
This makes the code easier to read.
-
Anton Khirnov authored
This is a more appropriate place for this. H264Context.recovery_frame is shared between frame threads, so modifying it where it is right now is invalid.
-
Anton Khirnov authored
Going through the whole decoder initialization process for a slice we are not going to decode is unnecessary and potentially dangerous.
-