- 28 Jun, 2016 10 commits
-
-
Martin Storsjö authored
While it is less featureful (and slower) than the built-in H264 decoder, one could potentially want to use it to take advantage of the cisco patent license offer. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Anton Khirnov authored
-
Anton Khirnov authored
hevcenc -> hevcdec, this is a _decoder_ plugin.
-
Mark Thompson authored
The hw frame used as reference has an attached size but it need not match the actual size of the surface, so enforcing that the sw frame used in copying matches its size exactly is not useful. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
The reasoning is the same as for the previous commit.
-
Anton Khirnov authored
The source frame may be cropped, so that its dimensions are smaller than the pool dimensions. The transfer_data API requires the allocated size of the destination frame to be the same as the pool size.
-
Anton Khirnov authored
-
Anton Khirnov authored
Be more careful when an input stream encounters EOF when its filtergraph has not been configured yet. The current code would immediately mark the corresponding output streams as finished, while there may still be buffered frames waiting for frames to appear on other filtergraph inputs. This should fix the random FATE failures for complex filtergraph tests after a3a0230a
-
Anton Khirnov authored
This is a more appropriate place for it, and will also be useful in the following commit.
-
- 27 Jun, 2016 3 commits
-
-
Vittorio Giovara authored
All option names now match the ones provided by the av_color_*_name().
-
Vittorio Giovara authored
-
Vittorio Giovara authored
Drop ST from names and symbols, it does not add anything distinctive or descriptive.
-
- 26 Jun, 2016 3 commits
-
-
Mark Thompson authored
Previously we would allocate a new one for every frame. This instead maintains an AVBufferPool of them to use as-needed. Also makes the maximum size of an output buffer adapt to the frame size - the fixed upper bound was a bit too easy to hit when encoding large pictures at high quality.
-
Mark Thompson authored
Not needed any more because we no longer have any useful case which will reinitialise with hardware frames here.
-
Clément Bœsch authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 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 8 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
-