- 20 Dec, 2018 2 commits
-
-
Jun Zhao authored
indent the code to follow FFmpeg's coding style Signed-off-by: Jun Zhao <mypopydev@gmail.com>
-
Jun Zhao authored
perfer avctx->frame_rate first than use avctx->time_base when setting the frame rate to encoder. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
-
- 02 Dec, 2018 1 commit
-
-
Jun Zhao authored
Now the kvazaar warpper didn't setting the threads for kvazaar API, and kavzaar will auto selecte the thread number. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
-
- 22 Aug, 2018 1 commit
-
-
Jun Zhao authored
fix the waring: libavcodec/libkvazaar.c:210:27: warning: passing argument 3 of ‘av_image_copy’ from incompatible pointer type [-Wincompatible-pointer-types] frame->data, frame->linesize, ^~~~~ In file included from libavcodec/libkvazaar.c:31:0: ./libavutil/imgutils.h:119:6: note: expected ‘const uint8_t ** {aka const unsigned char **}’ but argument is of type ‘uint8_t * const* {aka unsigned char * const*}’ void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4], Signed-off-by: Jun Zhao <mypopydev@gmail.com>
-
- 14 Dec, 2017 2 commits
-
-
wm4 authored
Explicitly identify decoder/encoder wrappers with a common name. This saves API users from guessing by the name suffix. For example, they don't have to guess that "h264_qsv" is the h264 QSV implementation, and instead they can just check the AVCodec .codec and .wrapper_name fields. Explicitly mark AVCodec entries that are hardware decoders or most likely hardware decoders with new AV_CODEC_CAPs. The purpose is allowing API users listing hardware decoders in a more generic way. The proposed AVCodecHWConfig does not provide this information fully, because it's concerned with decoder configuration, not information about the fact whether the hardware is used or not. AV_CODEC_CAP_HYBRID exists specifically for QSV, which can have software implementations in case the hardware is not capable. Based on a patch by Philip Langdale <philipl@overt.org>. Merges Libav commit 47687a2f.
-
wm4 authored
Explicitly identify decoder/encoder wrappers with a common name. This saves API users from guessing by the name suffix. For example, they don't have to guess that "h264_qsv" is the h264 QSV implementation, and instead they can just check the AVCodec .codec and .wrapper_name fields. Explicitly mark AVCodec entries that are hardware decoders or most likely hardware decoders with new AV_CODEC_CAPs. The purpose is allowing API users listing hardware decoders in a more generic way. The proposed AVCodecHWConfig does not provide this information fully, because it's concerned with decoder configuration, not information about the fact whether the hardware is used or not. AV_CODEC_CAP_HYBRID exists specifically for QSV, which can have software implementations in case the hardware is not capable. Based on a patch by Philip Langdale <philipl@overt.org>. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 09 Nov, 2017 1 commit
-
-
Jun Zhao authored
ff_alloc_packet have been deprecated, switch to use the ff_alloc_packet2. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Reviewed-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 08 Dec, 2016 1 commit
-
-
Diego Biurrun authored
This fixes compilation after the next version bump.
-
- 20 Jan, 2016 1 commit
-
-
Arttu Ylä-Outinen authored
Updates libkvazaar to pass the exact frame rate to Kvazaar by setting the numerator and denominator separately instead of a single floating point number. The exact frame rate is needed for writing timing info to the bitstream. Requires Kvazaar version 0.8.1. Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi>
-
- 19 Jan, 2016 1 commit
-
-
Arttu Ylä-Outinen authored
Updates libkvazaar to pass the exact frame rate to Kvazaar by setting the numerator and denominator separately instead of a single floating point number. The exact frame rate is needed for writing timing info to the bitstream. Requires Kvazaar version 0.8.1. Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 23 Oct, 2015 1 commit
-
-
Arttu Ylä-Outinen authored
Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 07 Oct, 2015 7 commits
-
-
Arttu Ylä-Outinen authored
The -threads option is ignored with libkvazaar since it does not have any of the AV_CODEC_CAP_{FRAME,SLICE,AUTO}_THREADS capabilities. This commit removes the incorrect documentation as well as the no-op of setting the number of threads in libkvazaar encoder. Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi>
-
Arttu Ylä-Outinen authored
The divisor and dividend in the equation had been swapped, making the result the inverse of the actual framerate. Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi>
-
Arttu Ylä-Outinen authored
Replaces a for loop for copying pixels by a call to av_image_copy. Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi>
-
Arttu Ylä-Outinen authored
Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi>
-
Arttu Ylä-Outinen authored
Changes function libkvazaar_encode to return proper error codes instead of crashing when the video dimensions or pixel format change in the middle of encoding. Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi>
-
Arttu Ylä-Outinen authored
Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi>
-
Arttu Ylä-Outinen authored
Function encoder_encode in Kvazaar API was changed to have new output parameters: source picture and frame info. Frame info is used to set the keyframe flag and source picture is ignored. Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi>
-
- 14 Jul, 2015 1 commit
-
-
Arttu Ylä-Outinen authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-