[libav-commits] avconv: only retry decoding on actual decoding errors

2018-01-20 Thread Anton Khirnov
Module: libav Branch: release/12 Commit: 4276b68651c3cec0c4786e6fb50dceed16593c71 Author:Anton Khirnov Committer: Luca Barbato Date: Sat Oct 1 21:07:42 2016 +0200 avconv: only retry decoding on actual decoding errors Errors during decoding are currently considered non-fatal and do

[libav-commits] FATE: add a test for the H.264 sample fixed by 7c4f6f6

2017-10-19 Thread Anton Khirnov
Module: libav Branch: master Commit: ec0f4fa17ce29cf01d4def21041b0b87f7e3105d Author:Anton Khirnov Committer: Anton Khirnov Date: Thu Aug 17 12:25:56 2017 +0200 FATE: add a test for the H.264 sample fixed by 7c4f6f6 --- tests/fate/h264.mak | 2 ++ tests/ref

[libav-commits] caf: add an Opus tag

2017-10-14 Thread Anton Khirnov
Module: libav Branch: release/11 Commit: d723322b85dcf0ac98d17716cbd983a4413a4012 Author:Anton Khirnov Committer: Sean McGovern Date: Sat Jul 1 10:49:58 2017 +0200 caf: add an Opus tag CC: libav-sta...@libav.org (cherry picked from commit 48a5c35346aeded1c65b8709bbb085fa4e705c91

[libav-commits] h264_cavlc: check the value of run_before

2017-10-13 Thread Anton Khirnov
Module: libav Branch: release/0.8 Commit: e972f6851487699f7a7d895f15b99269fa7bd633 Author:Anton Khirnov Committer: Diego Biurrun Date: Wed Dec 28 13:02:02 2016 +0100 h264_cavlc: check the value of run_before Section 9.2.3.2 of the spec implies that run_before must not be larger than

[libav-commits] h264_cavlc: check the value of run_before

2017-10-13 Thread Anton Khirnov
Module: libav Branch: release/11 Commit: f2c087a6a9e8fec44e2810cd3922a67a7d65ed03 Author:Anton Khirnov Committer: Diego Biurrun Date: Wed Dec 28 13:02:02 2016 +0100 h264_cavlc: check the value of run_before Section 9.2.3.2 of the spec implies that run_before must not be larger than

[libav-commits] h264dec: use a large enough field for reference list modification values

2017-08-18 Thread Anton Khirnov
Module: libav Branch: release/12 Commit: 67d5f1023e4299a5f2741e2523e559d892f1bb56 Author:Anton Khirnov Committer: Anton Khirnov Date: Thu Aug 17 12:15:58 2017 +0200 h264dec: use a large enough field for reference list modification values pic_num can be at most 17-bit, so uint8_t is

[libav-commits] h264dec: use a large enough field for reference list modification values

2017-08-18 Thread Anton Khirnov
Module: libav Branch: master Commit: f70f71d60c7ae88c19078a48dc6e0789b78c7300 Author:Anton Khirnov Committer: Anton Khirnov Date: Thu Aug 17 12:15:58 2017 +0200 h264dec: use a large enough field for reference list modification values pic_num can be at most 17-bit, so uint8_t is not

[libav-commits] caf: add an Opus tag

2017-08-14 Thread Anton Khirnov
Module: libav Branch: release/12 Commit: c432da860979840f70c00b88b6a65988fceaaf7e Author:Anton Khirnov Committer: Sean McGovern Date: Sat Jul 1 10:49:58 2017 +0200 caf: add an Opus tag CC: libav-sta...@libav.org (cherry picked from commit 48a5c35346aeded1c65b8709bbb085fa4e705c91

[libav-commits] h264dec: track the last seen value of x264_build

2017-08-14 Thread Anton Khirnov
Module: libav Branch: release/12 Commit: c3757cda2f9a9b2c2b642108fd4af0faabe80817 Author:Anton Khirnov Committer: Sean McGovern Date: Sat Jul 22 14:52:27 2017 +0200 h264dec: track the last seen value of x264_build Do not use the one in the SEI directly as that is reset at certain

[libav-commits] hevcdec: add a CUVID hwaccel

2017-07-28 Thread Anton Khirnov
Module: libav Branch: master Commit: b90fdb2c7199cc8b0e8d994fafba1fb4dc181d88 Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Feb 11 16:49:34 2017 +0100 hevcdec: add a CUVID hwaccel --- Changelog | 2 +- configure | 3 + libavcodec/Makefile

[libav-commits] fate/hevc: specify output pixel format explicitly

2017-07-28 Thread Anton Khirnov
Module: libav Branch: master Commit: 770cf1dbc2c8fe9b84300439ad0cd85036480388 Author:Anton Khirnov Committer: Anton Khirnov Date: Mon Jul 24 11:42:09 2017 +0200 fate/hevc: specify output pixel format explicitly This allows running those tests with hwaccel. --- tests/fate/hevc.mak

[libav-commits] cuvid: add cuvid.h to SKIPHEADERS

2017-07-28 Thread Anton Khirnov
Module: libav Branch: master Commit: 004ea63714e31ed43326ad00d7420d104f0dab38 Author:Anton Khirnov Committer: Anton Khirnov Date: Thu Jul 27 12:42:03 2017 +0200 cuvid: add cuvid.h to SKIPHEADERS --- libavcodec/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec

[libav-commits] hevcdec: set the active SPS before calling get_format()

2017-07-28 Thread Anton Khirnov
Module: libav Branch: master Commit: 00fd914d4912322212e924c15f325cebf2fde8d3 Author:Anton Khirnov Committer: Anton Khirnov Date: Mon Jul 24 11:41:31 2017 +0200 hevcdec: set the active SPS before calling get_format() This way the SPS is available to the hwaccel init code

[libav-commits] decode: add a per-frame private data for hwaccel use

2017-07-26 Thread Anton Khirnov
Module: libav Branch: master Commit: 704311b2946d74a80f65906961cd9baaa18683a3 Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Jul 1 12:09:58 2017 +0200 decode: add a per-frame private data for hwaccel use This will be useful in the CUVID hwaccel. It should also eventually

[libav-commits] decode: add a mechanism for performing delayed processing on the decoded frames

2017-07-26 Thread Anton Khirnov
Module: libav Branch: master Commit: badf0951f54c1332e77455dc40398f3512540c1b Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Jul 1 12:09:58 2017 +0200 decode: add a mechanism for performing delayed processing on the decoded frames This will be useful in the CUVID hwaccel

[libav-commits] h264dec: track the last seen value of x264_build

2017-07-26 Thread Anton Khirnov
Module: libav Branch: master Commit: 45c4bf3df03ef53ae61fa1473424d4ae024f22e4 Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Jul 22 14:52:27 2017 +0200 h264dec: track the last seen value of x264_build Do not use the one in the SEI directly as that is reset at certain points

[libav-commits] h264dec: add a CUVID hwaccel

2017-07-26 Thread Anton Khirnov
Module: libav Branch: master Commit: b9129ec4668c511e0a79e25c6f25d748cee172c9 Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Feb 11 16:49:34 2017 +0100 h264dec: add a CUVID hwaccel Some parts of the code are based on a patch by Timo Rothenpieler --- Changelog

[libav-commits] decode: avoid leaks on failure in ff_get_buffer()

2017-07-26 Thread Anton Khirnov
Module: libav Branch: master Commit: de77671438c24ffea93398c8dc885d4dd04477de Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Jul 1 11:32:56 2017 +0200 decode: avoid leaks on failure in ff_get_buffer() If the get_buffer() call fails, the frame might have some side data

[libav-commits] decode: add a method for attaching lavc-internal data to frames

2017-07-26 Thread Anton Khirnov
Module: libav Branch: master Commit: 359a8a3e2d1194b52b6c386f94fd0929567dfb67 Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Jul 1 11:12:44 2017 +0200 decode: add a method for attaching lavc-internal data to frames Use the AVFrame.opaque_ref field. The original user&#

[libav-commits] caf: add an Opus tag

2017-07-22 Thread Anton Khirnov
Module: libav Branch: master Commit: 48a5c35346aeded1c65b8709bbb085fa4e705c91 Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Jul 1 10:49:58 2017 +0200 caf: add an Opus tag CC: libav-sta...@libav.org --- libavformat/caf.c| 1 + libavformat/cafdec.c | 8 2

[libav-commits] hwframe: Allow hwaccel frame allocators to align surface sizes

2017-06-26 Thread Anton Khirnov
Module: libav Branch: master Commit: 3fdf50f9e864c88da2139cf066832944de81acaa Author:Anton Khirnov Committer: Luca Barbato Date: Thu Jun 22 20:05:12 2017 +0200 hwframe: Allow hwaccel frame allocators to align surface sizes Hardware accelerated decoding generally uses

[libav-commits] hevcdec: move the MD5 context out of HEVCSEIPictureHash back into HEVCContext

2017-05-20 Thread Anton Khirnov
Module: libav Branch: master Commit: c3f0357bdf7d3c542aad2c58b94184b9f56edc41 Author:Anton Khirnov Committer: Anton Khirnov Date: Fri May 12 16:36:41 2017 +0200 hevcdec: move the MD5 context out of HEVCSEIPictureHash back into HEVCContext HEVCSEIPictureHash should store only the

[libav-commits] vp9_superframe_bsf: convert to the new bitstream reader

2017-05-20 Thread Anton Khirnov
Module: libav Branch: master Commit: 126bc2c33b79c36bc23f43719d20f55b9b6771e9 Author:Anton Khirnov Committer: Anton Khirnov Date: Wed Apr 26 09:25:05 2017 +0200 vp9_superframe_bsf: convert to the new bitstream reader --- libavcodec/vp9_superframe_bsf.c | 22

[libav-commits] decode: fix the code reducing cropping to preserve alignment

2017-05-20 Thread Anton Khirnov
Module: libav Branch: master Commit: 8652a2c24836ce5546b398f12b7fed4550e1 Author:Anton Khirnov Committer: Anton Khirnov Date: Fri May 19 11:47:21 2017 +0200 decode: fix the code reducing cropping to preserve alignment Currently it does not work at all. Bug-Id: 1058

[libav-commits] vp9_superframe_bsf: cache input packets directly

2017-05-20 Thread Anton Khirnov
Module: libav Branch: master Commit: 3fb6b98b5e247434456916c35ba7e08efa03e85d Author:Anton Khirnov Committer: Anton Khirnov Date: Wed Apr 26 09:42:32 2017 +0200 vp9_superframe_bsf: cache input packets directly Avoids unnecessary allocs+copies and makes the code slightly simpler

[libav-commits] mpeg4audio: Make avpriv_copy_pce_data() inline

2017-04-28 Thread Anton Khirnov
Module: libav Branch: master Commit: 831018b0bbe26a603802a9022472f714a59293be Author:Anton Khirnov Committer: Diego Biurrun Date: Thu Mar 16 17:34:12 2017 +0100 mpeg4audio: Make avpriv_copy_pce_data() inline The function currently accepts a PutBitContext and a GetBitContext, which

[libav-commits] mem: uninline av_malloc(z)_array()

2017-04-26 Thread Anton Khirnov
Module: libav Branch: master Commit: 04b0f0e371ff81b682274b574fb465ba4395c09f Author:Anton Khirnov Committer: Anton Khirnov Date: Thu Mar 30 17:02:39 2017 +0200 mem: uninline av_malloc(z)_array() Inlining public functions hardcodes their implementation into the ABI, so it should be

[libav-commits] dca: Move the downmix request check outside the loop

2017-04-25 Thread Anton Khirnov
Module: libav Branch: master Commit: 3889dfde9c0284b008c5cfcbc921c1d137fb81e2 Author:Anton Khirnov Committer: Luca Barbato Date: Mon Apr 24 22:39:32 2017 +0200 dca: Move the downmix request check outside the loop --- libavcodec/dcadec.c | 11 +++ 1 file changed, 7

[libav-commits] ac3_parser: add a public function for parsing the data required by the demuxer

2017-04-12 Thread Anton Khirnov
Module: libav Branch: master Commit: 50a1c66cf6ab7eb683daaa9e2da3869fa3a54609 Author:Anton Khirnov Committer: Diego Biurrun Date: Thu Mar 30 16:56:28 2017 +0200 ac3_parser: add a public function for parsing the data required by the demuxer Make the current semi-public

[libav-commits] dcadec: remove extra indirection

2017-03-30 Thread Anton Khirnov
Module: libav Branch: master Commit: 6a9e331d79f8f78ba7642004ac13d744d033b98e Author:Anton Khirnov Committer: Luca Barbato Date: Wed Mar 29 12:04:46 2017 +0200 dcadec: remove extra indirection num_core_channels is always equal to s->audio_header.prim_channels, neither one of th

[libav-commits] configure: make jack depend on pthreads

2017-03-25 Thread Anton Khirnov
Module: libav Branch: release/9 Commit: 4f68b0affd0e96c476ce9658078666ca938f7fca Author:Anton Khirnov Committer: Diego Biurrun Date: Fri May 17 08:13:58 2013 +0200 configure: make jack depend on pthreads (cherry picked from commit a3fc62e89e1aa09c44e918726ec556210471d56e) Signed-off

[libav-commits] configure: make jack depend on pthreads

2017-03-25 Thread Anton Khirnov
Module: libav Branch: release/0.8 Commit: d788a97c7dd7101cbc167566c29c6bb6e15435b4 Author:Anton Khirnov Committer: Diego Biurrun Date: Fri May 17 08:13:58 2013 +0200 configure: make jack depend on pthreads (cherry picked from commit a3fc62e89e1aa09c44e918726ec556210471d56e) Signed

[libav-commits] h264_cavlc: check the value of run_before

2017-03-19 Thread Anton Khirnov
Module: libav Branch: release/12 Commit: 739f08aee653a745d704d153bd818b7bf33b0274 Author:Anton Khirnov Committer: Sean McGovern Date: Wed Dec 28 13:02:02 2016 +0100 h264_cavlc: check the value of run_before Section 9.2.3.2 of the spec implies that run_before must not be larger than

[libav-commits] h2645_parse: use the bytestream2 API for packet splitting

2017-03-19 Thread Anton Khirnov
Module: libav Branch: release/12 Commit: 25b7f98bd058034733e35bb6318db7a4611e1431 Author:Anton Khirnov Committer: Sean McGovern Date: Wed Dec 28 11:27:56 2016 +0100 h2645_parse: use the bytestream2 API for packet splitting The code does some nontrivial jumping around in the buffer

[libav-commits] h264dec: initialize field_started to 0 on each decode call

2017-03-19 Thread Anton Khirnov
Module: libav Branch: release/12 Commit: ddfec6f07431d1f354726a6069f4fa24162ac250 Author:Anton Khirnov Committer: Sean McGovern Date: Wed Dec 28 11:05:25 2016 +0100 h264dec: initialize field_started to 0 on each decode call It might be incorrectly set to 1 if the previous call exited

[libav-commits] h2645_parse: use the bytestream2 API for packet splitting

2017-03-14 Thread Anton Khirnov
Module: libav Branch: master Commit: 83b2b34d06e74cc8775ba3d833f9782505e17539 Author:Anton Khirnov Committer: Anton Khirnov Date: Wed Dec 28 11:27:56 2016 +0100 h2645_parse: use the bytestream2 API for packet splitting The code does some nontrivial jumping around in the buffer, so it

[libav-commits] h264_cavlc: check the value of run_before

2017-03-14 Thread Anton Khirnov
Module: libav Branch: master Commit: 522d850e68ec4b77d3477b3c8f55b1ba00a9d69a Author:Anton Khirnov Committer: Anton Khirnov Date: Wed Dec 28 13:02:02 2016 +0100 h264_cavlc: check the value of run_before Section 9.2.3.2 of the spec implies that run_before must not be larger than

[libav-commits] h264dec: initialize field_started to 0 on each decode call

2017-03-14 Thread Anton Khirnov
Module: libav Branch: master Commit: b76f6a76c6312dc551d7c37c6ded36bea7973c74 Author:Anton Khirnov Committer: Anton Khirnov Date: Wed Dec 28 11:05:25 2016 +0100 h264dec: initialize field_started to 0 on each decode call It might be incorrectly set to 1 if the previous call exited

[libav-commits] lavc: make sure not to return EAGAIN from codecs

2017-02-25 Thread Anton Khirnov
Module: libav Branch: release/12 Commit: 92e0ead60cc920493a04dcf466f0e94f777f05ed Author:Anton Khirnov Committer: Anton Khirnov Date: Tue Feb 14 20:51:06 2017 +0100 lavc: make sure not to return EAGAIN from codecs This error is treated specially by the API. CC: libav-sta

[libav-commits] lavc: make sure not to return EAGAIN from codecs

2017-02-25 Thread Anton Khirnov
Module: libav Branch: master Commit: 984736dd9e5b50987a5910e22495304e4a6d975c Author:Anton Khirnov Committer: Anton Khirnov Date: Tue Feb 14 20:51:06 2017 +0100 lavc: make sure not to return EAGAIN from codecs This error is treated specially by the API. CC: libav-sta...@libav.org

[libav-commits] svq3: fix the slice size check

2017-02-25 Thread Anton Khirnov
Module: libav Branch: master Commit: b2788fe9347c02b1355574f3d28d60bfe1250ea7 Author:Anton Khirnov Committer: Anton Khirnov Date: Wed Feb 1 11:50:38 2017 +0100 svq3: fix the slice size check Currently it incorrectly compares bits with bytes. Also, move the check right before where

[libav-commits] cpu: add a function for querying maximum required data alignment

2017-02-11 Thread Anton Khirnov
Module: libav Branch: master Commit: e6bff23f1e11aefb16a2b5d6ee72bf7469c5a66e Author:Anton Khirnov Committer: Anton Khirnov Date: Wed Feb 8 09:32:17 2017 +0100 cpu: add a function for querying maximum required data alignment --- doc/APIchanges | 3 +++ libavutil/cpu.c

[libav-commits] lavc: use av_cpu_max_align() instead of hardcoding alignment requirements

2017-02-11 Thread Anton Khirnov
Module: libav Branch: master Commit: f44ec22e095c5ba00ffeadd891655c456e3dd014 Author:Anton Khirnov Committer: Anton Khirnov Date: Wed Feb 8 09:34:58 2017 +0100 lavc: use av_cpu_max_align() instead of hardcoding alignment requirements --- libavcodec/utils.c | 11 ++- 1 file

[libav-commits] frame: allow align=0 (meaning automatic) for av_frame_get_buffer()

2017-02-11 Thread Anton Khirnov
Module: libav Branch: master Commit: 4de220d2e3751c459f8739a08ac6ca52e63eba30 Author:Anton Khirnov Committer: Anton Khirnov Date: Wed Feb 8 09:46:04 2017 +0100 frame: allow align=0 (meaning automatic) for av_frame_get_buffer() This will avoid every caller from hardcoding some

[libav-commits] Use the new AVIOContext destructor.

2017-02-11 Thread Anton Khirnov
Module: libav Branch: master Commit: 6f554521afdf7ab4edbfaa9536660a1dca946b19 Author:Anton Khirnov Committer: Anton Khirnov Date: Fri Jan 13 12:04:16 2017 +0100 Use the new AVIOContext destructor. --- avprobe.c| 2 +- libavformat/avidec.c | 4

[libav-commits] scale_npp: explicitly set the output frames context for passthrough mode

2017-02-11 Thread Anton Khirnov
Module: libav Branch: master Commit: 5c8a5765dc5f4e29afb85b95be393c30f45412a8 Author:Anton Khirnov Committer: Anton Khirnov Date: Wed Feb 1 10:38:42 2017 +0100 scale_npp: explicitly set the output frames context for passthrough mode This is no longer done automatically for filters

[libav-commits] avio: add a destructor for AVIOContext

2017-02-11 Thread Anton Khirnov
Module: libav Branch: master Commit: 99684f3ae752fc8bfb44a2dd1482f8d7a3d8536d Author:Anton Khirnov Committer: Anton Khirnov Date: Fri Jan 13 11:53:51 2017 +0100 avio: add a destructor for AVIOContext Before this commit, AVIOContext is to be freed with a plain av_free(), which

[libav-commits] Mark some arrays that never change as const.

2017-02-01 Thread Anton Khirnov
Module: libav Branch: master Commit: fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3 Author:Anton Khirnov Committer: Anton Khirnov Date: Sun Jul 3 10:09:36 2016 +0200 Mark some arrays that never change as const. --- configure | 2 +- libavcodec/aaccoder.c

[libav-commits] avconv: allow -b to be used with streamcopy

2017-02-01 Thread Anton Khirnov
Module: libav Branch: master Commit: b420a27e74750b60d2e064236afb10be06a38ace Author:Anton Khirnov Committer: Anton Khirnov Date: Mon Jan 30 21:35:42 2017 +0100 avconv: allow -b to be used with streamcopy In this mode it tells the muxer about the bitrate of the input stream

[libav-commits] zmbvenc: get rid of a global table

2017-01-19 Thread Anton Khirnov
Module: libav Branch: master Commit: 296eff4d9dc53d441b672319524a051d04f4a8cf Author:Anton Khirnov Committer: Anton Khirnov Date: Sun May 22 21:09:58 2016 +0200 zmbvenc: get rid of a global table --- libavcodec/zmbvenc.c | 16 +--- 1 file changed, 9 insertions(+), 7

[libav-commits] mpegvideoenc: make a table const

2017-01-19 Thread Anton Khirnov
Module: libav Branch: master Commit: b4a911c189962e563a09fb0efaf6fa9ab56263a4 Author:Anton Khirnov Committer: Anton Khirnov Date: Sun May 22 21:20:31 2016 +0200 mpegvideoenc: make a table const --- libavcodec/x86/mpegvideoenc.c | 11 ++- 1 file changed, 6 insertions(+), 5

[libav-commits] mpeg12: avoid signed overflow in bitrate calculation

2017-01-14 Thread Anton Khirnov
Module: libav Branch: release/9 Commit: 5046b4810cfec963153f69f535168eac27a13590 Author:Anton Khirnov Committer: Sean McGovern Date: Sat Dec 17 15:07:51 2016 +0100 mpeg12: avoid signed overflow in bitrate calculation CC: libav-sta...@libav.org Bug-Id: 981 Found-By: Agostino Sarubbo

[libav-commits] mpeg12: move setting first_field to mpeg_field_start()

2017-01-14 Thread Anton Khirnov
Module: libav Branch: release/9 Commit: f4773e5b37875e3c261540857bf2fb90327fc6aa Author:Anton Khirnov Committer: Sean McGovern Date: Sat Dec 17 17:04:55 2016 +0100 mpeg12: move setting first_field to mpeg_field_start() For field picture, the first_field is set based on its previous

[libav-commits] mpegvideo_parser: avoid signed overflow in bitrate calculation

2017-01-14 Thread Anton Khirnov
Module: libav Branch: release/9 Commit: 854e4cc4105f5463e4882492fea340b1871d9ec4 Author:Anton Khirnov Committer: Sean McGovern Date: Sat Dec 17 15:07:51 2016 +0100 mpegvideo_parser: avoid signed overflow in bitrate calculation CC: libav-sta...@libav.org Bug-Id: 981 Found-By: Agostino

[libav-commits] hevcdec: export cropping information instead of handling it internally

2017-01-12 Thread Anton Khirnov
Module: libav Branch: master Commit: a02ae1c6837a54ed9e7735da2b1f789b2f4b6e13 Author:Anton Khirnov Committer: Anton Khirnov Date: Sun Dec 18 21:11:47 2016 +0100 hevcdec: export cropping information instead of handling it internally --- libavcodec/hevc_parser.c | 6

[libav-commits] lavc: add an option for exporting cropping information to the caller

2017-01-12 Thread Anton Khirnov
Module: libav Branch: master Commit: 019ab88a95cb31b698506d90e8ce56695a7f1cc5 Author:Anton Khirnov Committer: Anton Khirnov Date: Sun Dec 18 16:42:24 2016 +0100 lavc: add an option for exporting cropping information to the caller Also, add generic code for handling cropping, so the

[libav-commits] theora: export cropping information instead of handling it internally

2017-01-12 Thread Anton Khirnov
Module: libav Branch: master Commit: 1202b712690c14f0efb06e4ad8b06c5b3df6822a Author:Anton Khirnov Committer: Anton Khirnov Date: Sun Dec 18 21:11:47 2016 +0100 theora: export cropping information instead of handling it internally --- libavcodec/vp3.c | 23

[libav-commits] h264dec: be more explicit in handling container cropping

2017-01-12 Thread Anton Khirnov
Module: libav Branch: master Commit: 4fded0480f20f4d7ca5e776a85574de34dfead14 Author:Anton Khirnov Committer: Anton Khirnov Date: Tue Dec 27 19:07:18 2016 +0100 h264dec: be more explicit in handling container cropping The current condition can trigger in cases where it shouldn&#

[libav-commits] h264dec: export cropping information instead of handling it internally

2017-01-12 Thread Anton Khirnov
Module: libav Branch: master Commit: c3e84820d67cb1d8cfb4196f9b43971308a81571 Author:Anton Khirnov Committer: Anton Khirnov Date: Sun Dec 18 21:11:47 2016 +0100 h264dec: export cropping information instead of handling it internally --- libavcodec/h264_ps.c| 9

[libav-commits] frame: add a cropping rectangle to AVFrame

2017-01-12 Thread Anton Khirnov
Module: libav Branch: master Commit: 52627248e49e58eb4b78e4fcda90a64f4c476ea3 Author:Anton Khirnov Committer: Anton Khirnov Date: Sun Dec 18 12:30:27 2016 +0100 frame: add a cropping rectangle to AVFrame Extend the width/height doxy to clarify that it should store coded values

[libav-commits] qsvdec: do not sync PIX_FMT_QSV surfaces

2017-01-12 Thread Anton Khirnov
Module: libav Branch: master Commit: b68e353136db6f963212c457281d9716516cdc59 Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Jan 7 21:06:16 2017 +0100 qsvdec: do not sync PIX_FMT_QSV surfaces Introducing enforced sync points in arbitrary places is bad for performance. Since

[libav-commits] mpeg12dec: avoid signed overflow in bitrate calculation

2017-01-12 Thread Anton Khirnov
Module: libav Branch: release/0.8 Commit: 94e2850644379cd1dad0829ac991ceedbe50b9ea Author:Anton Khirnov Committer: Diego Biurrun Date: Sat Dec 17 15:07:51 2016 +0100 mpeg12dec: avoid signed overflow in bitrate calculation CC: libav-sta...@libav.org Bug-Id: 981 Bug-Id: CVE-2016-9822

[libav-commits] mpegvideo_parser: avoid signed overflow in bitrate calculation

2017-01-12 Thread Anton Khirnov
Module: libav Branch: release/0.8 Commit: 97b94eb77d16cb25a2a601ea9b59fc2ef94c3e05 Author:Anton Khirnov Committer: Diego Biurrun Date: Sat Dec 17 15:07:51 2016 +0100 mpegvideo_parser: avoid signed overflow in bitrate calculation Bug-Id: 981 Bug-Id: CVE-2016-9821 Found-By: Agostino

[libav-commits] mpeg12dec: move setting first_field to mpeg_field_start()

2017-01-12 Thread Anton Khirnov
Module: libav Branch: release/0.8 Commit: 82f1564d5d2749f077ea47719fd335b76f62bc6e Author:Anton Khirnov Committer: Diego Biurrun Date: Sat Dec 17 17:04:55 2016 +0100 mpeg12dec: move setting first_field to mpeg_field_start() For field picture, the first_field is set based on its

[libav-commits] h264dec: make ff_h264_decode_init() static

2017-01-09 Thread Anton Khirnov
Module: libav Branch: master Commit: f1af37b51033ad90e56a8d7dfcc366f2bd9d2fed Author:Anton Khirnov Committer: Anton Khirnov Date: Tue Dec 27 18:54:47 2016 +0100 h264dec: make ff_h264_decode_init() static It is not called from outside h264dec.c anymore. --- libavcodec/h264dec.c | 4

[libav-commits] Changelog: mention the new avbuild/ directory

2017-01-09 Thread Anton Khirnov
Module: libav Branch: master Commit: e199a8099411d0992c3ed278287a81f1d791199c Author:Anton Khirnov Committer: Anton Khirnov Date: Mon Jan 9 11:09:16 2017 +0100 Changelog: mention the new avbuild/ directory Especially config.log is often read by users trying to compile Libav, so its

[libav-commits] h264dec: drop a redundant check

2017-01-09 Thread Anton Khirnov
Module: libav Branch: master Commit: e7de05f98f630b5b3a5e441c8fa763e6d89b8851 Author:Anton Khirnov Committer: Anton Khirnov Date: Tue Dec 27 18:16:36 2016 +0100 h264dec: drop a redundant check Cropping parameters are already checked for validity during SPS parsing, no need to check

[libav-commits] matroskadec: make sure not to leave EbmlBin in an inconsistent state

2017-01-04 Thread Anton Khirnov
Module: libav Branch: release/11 Commit: 80bd3e5cde1f31cd0e1c2ed702a67b0661b2ae21 Author:Anton Khirnov Committer: Sean McGovern Date: Wed Dec 28 13:15:14 2016 +0100 matroskadec: make sure not to leave EbmlBin in an inconsistent state If a read fails, the current code will free the

[libav-commits] matroskadec: make sure not to leave EbmlBin in an inconsistent state

2017-01-04 Thread Anton Khirnov
Module: libav Branch: release/12 Commit: dcf984bf52ab329fcaec62595ea26764b18443fa Author:Anton Khirnov Committer: Sean McGovern Date: Wed Dec 28 13:15:14 2016 +0100 matroskadec: make sure not to leave EbmlBin in an inconsistent state If a read fails, the current code will free the

[libav-commits] matroskadec: make sure not to leave EbmlBin in an inconsistent state

2017-01-04 Thread Anton Khirnov
Module: libav Branch: master Commit: 9026ec8aaf5fa19cb4fb266c16f608af0d863b2b Author:Anton Khirnov Committer: Sean McGovern Date: Wed Dec 28 13:15:14 2016 +0100 matroskadec: make sure not to leave EbmlBin in an inconsistent state If a read fails, the current code will free the data

[libav-commits] mpeg12dec: move setting first_field to mpeg_field_start()

2016-12-22 Thread Anton Khirnov
Module: libav Branch: release/11 Commit: 0f64a5c11465f7b7044ba28fa764ce86513d46ed Author:Anton Khirnov Committer: Sean McGovern Date: Sat Dec 17 17:04:55 2016 +0100 mpeg12dec: move setting first_field to mpeg_field_start() For field picture, the first_field is set based on its

[libav-commits] mpegvideo_parser: avoid signed overflow in bitrate calculation

2016-12-22 Thread Anton Khirnov
Module: libav Branch: release/11 Commit: 9f0193c778175cea3fb43f17acf9b90b4d862d33 Author:Anton Khirnov Committer: Sean McGovern Date: Sat Dec 17 15:07:51 2016 +0100 mpegvideo_parser: avoid signed overflow in bitrate calculation CC: libav-sta...@libav.org Bug-Id: 981 Found-By

[libav-commits] mpeg12dec: avoid signed overflow in bitrate calculation

2016-12-22 Thread Anton Khirnov
Module: libav Branch: release/11 Commit: 15e1af0006354d6bbf0e433c5d1e8ef13c93d6d0 Author:Anton Khirnov Committer: Sean McGovern Date: Sat Dec 17 15:07:51 2016 +0100 mpeg12dec: avoid signed overflow in bitrate calculation CC: libav-sta...@libav.org Bug-Id: 981 Found-By: Agostino

[libav-commits] hevc: decouple calling get_format() from exporting the SPS parameters

2016-12-18 Thread Anton Khirnov
Module: libav Branch: release/12 Commit: 76a3e72f8837359929e36cc271c62b0976dfbf65 Author:Anton Khirnov Committer: Anton Khirnov Date: Sun Oct 2 15:39:10 2016 +0200 hevc: decouple calling get_format() from exporting the SPS parameters This makes sure ff_get_format() does not get

[libav-commits] mpegvideo_parser: avoid signed overflow in bitrate calculation

2016-12-18 Thread Anton Khirnov
Module: libav Branch: release/12 Commit: b800fd381f817bb28953ab72c14dfa47772963f0 Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Dec 17 15:07:51 2016 +0100 mpegvideo_parser: avoid signed overflow in bitrate calculation CC: libav-sta...@libav.org Bug-Id: 981 Found-By

[libav-commits] hevcdec: do not set decoder-global SPS prematurely

2016-12-18 Thread Anton Khirnov
Module: libav Branch: release/12 Commit: 3293b49db210b13d09adcacd898334d5e4cb3aac Author:Anton Khirnov Committer: Anton Khirnov Date: Sun Dec 18 22:06:32 2016 +0100 hevcdec: do not set decoder-global SPS prematurely It should only be set after the decoder state has been fully

[libav-commits] mov: fix a possible invalid read in mov_read_mac_string()

2016-12-18 Thread Anton Khirnov
Module: libav Branch: release/12 Commit: fcf061fa096b8661668a332d4a1c73a9abd14b8f Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Dec 17 14:17:20 2016 +0100 mov: fix a possible invalid read in mov_read_mac_string() When the input string is too large, so the second condition

[libav-commits] mpeg12dec: move setting first_field to mpeg_field_start()

2016-12-18 Thread Anton Khirnov
Module: libav Branch: release/12 Commit: 586aa2c61e2611bf0469cc24fbd14a53353bd888 Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Dec 17 17:04:55 2016 +0100 mpeg12dec: move setting first_field to mpeg_field_start() For field picture, the first_field is set based on its

[libav-commits] mpeg12dec: avoid signed overflow in bitrate calculation

2016-12-18 Thread Anton Khirnov
Module: libav Branch: release/12 Commit: f3d5a317e92fb7c494eddafecce56c60ea8b5aca Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Dec 17 15:07:51 2016 +0100 mpeg12dec: avoid signed overflow in bitrate calculation CC: libav-sta...@libav.org Bug-Id: 981 Found-By: Agostino

[libav-commits] h264dec: make sure to only end a field if it has been started

2016-12-18 Thread Anton Khirnov
Module: libav Branch: release/12 Commit: bff776d5ac608330c9566e588ce6b9289a38dae6 Author:Anton Khirnov Committer: Anton Khirnov Date: Sun Dec 18 11:29:25 2016 +0100 h264dec: make sure to only end a field if it has been started Calling ff_h264_field_end() when the per-field state is

[libav-commits] mpeg12dec: move setting first_field to mpeg_field_start()

2016-12-18 Thread Anton Khirnov
Module: libav Branch: master Commit: c2fa6bb0e8703a7a6aa10e11f9ab36094416d83f Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Dec 17 17:04:55 2016 +0100 mpeg12dec: move setting first_field to mpeg_field_start() For field picture, the first_field is set based on its previous

[libav-commits] h264dec: make sure to only end a field if it has been started

2016-12-18 Thread Anton Khirnov
Module: libav Branch: master Commit: 45286a625c6ced1f5c4c842244cbb4509429abba Author:Anton Khirnov Committer: Anton Khirnov Date: Sun Dec 18 11:29:25 2016 +0100 h264dec: make sure to only end a field if it has been started Calling ff_h264_field_end() when the per-field state is not

[libav-commits] mpeg12dec: avoid signed overflow in bitrate calculation

2016-12-18 Thread Anton Khirnov
Module: libav Branch: master Commit: e807491fc6a336e4becc0cbc981274a8fde18aba Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Dec 17 15:07:51 2016 +0100 mpeg12dec: avoid signed overflow in bitrate calculation CC: libav-sta...@libav.org Bug-Id: 981 Found-By: Agostino Sarubbo

[libav-commits] mpegvideo_parser: avoid signed overflow in bitrate calculation

2016-12-18 Thread Anton Khirnov
Module: libav Branch: master Commit: 58405de0951a843765625159402870c1eea3c3b1 Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Dec 17 15:07:51 2016 +0100 mpegvideo_parser: avoid signed overflow in bitrate calculation CC: libav-sta...@libav.org Bug-Id: 981 Found-By: Agostino

[libav-commits] hevcdec: do not set decoder-global SPS prematurely

2016-12-18 Thread Anton Khirnov
Module: libav Branch: master Commit: 373fd76b4dbd9aa03ed28e502f33f2ca8c1ce19a Author:Anton Khirnov Committer: Anton Khirnov Date: Sun Dec 18 22:06:32 2016 +0100 hevcdec: do not set decoder-global SPS prematurely It should only be set after the decoder state has been fully initialized

[libav-commits] Changelog: add some missing entries

2016-12-18 Thread Anton Khirnov
Module: libav Branch: master Commit: 1783d7ec03d730c5bd96c07bc5fa7aa566f85c66 Author:Anton Khirnov Committer: Anton Khirnov Date: Thu Dec 15 10:23:26 2016 +0100 Changelog: add some missing entries --- Changelog |3 +++ 1 file changed, 3 insertions(+) diff --git a/Changelog b

[libav-commits] hevcdec: add a VAAPI hwaccel

2016-12-18 Thread Anton Khirnov
Module: libav Branch: master Commit: ea8b730d8e67152107d7fcdd5590bbb51ec236b1 Author:Anton Khirnov Committer: Anton Khirnov Date: Sun Oct 2 08:51:32 2016 +0200 hevcdec: add a VAAPI hwaccel Partially based on a patch by Timo Rothenpieler . Additional scaling list handling fix by Jun

[libav-commits] pthread_frame: ensure the threads don't run simultaneously with hwaccel

2016-12-18 Thread Anton Khirnov
Module: libav Branch: master Commit: 8dfba25ce89b62c80ba83e2116d549176c376144 Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Dec 3 15:21:40 2016 +0100 pthread_frame: ensure the threads don't run simultaneously with hwaccel --- libavcodec/h263dec.c |

[libav-commits] mov: fix a possible invalid read in mov_read_mac_string()

2016-12-18 Thread Anton Khirnov
Module: libav Branch: master Commit: 46191a2da16f751e53d93646ae1388d421d12bee Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Dec 17 14:17:20 2016 +0100 mov: fix a possible invalid read in mov_read_mac_string() When the input string is too large, so the second condition in if

[libav-commits] v4l2: use codec descriptors for mapping a codec name to id

2016-12-18 Thread Anton Khirnov
Module: libav Branch: master Commit: 0fea8555ae25124c21f4c4f55a5fa76e9169aa03 Author:Anton Khirnov Committer: Anton Khirnov Date: Wed Dec 14 13:22:19 2016 +0100 v4l2: use codec descriptors for mapping a codec name to id This mapping has nothing to do with decoder implementations, so

[libav-commits] vaapi_decode: use the correct logging context

2016-12-18 Thread Anton Khirnov
Module: libav Branch: master Commit: cfa4eb4fba782f3f37a33be997b27a91a07053c9 Author:Anton Khirnov Committer: Anton Khirnov Date: Mon Dec 19 08:13:28 2016 +0100 vaapi_decode: use the correct logging context --- libavcodec/vaapi_decode.c |6 +++--- 1 file changed, 3 insertions

[libav-commits] pthread_frame: do not run hwaccel decoding asynchronously unless it's safe

2016-12-18 Thread Anton Khirnov
Module: libav Branch: master Commit: d4a91e65343be5d79a4afa61c791191e1b57499a Author:Anton Khirnov Committer: Anton Khirnov Date: Thu Nov 24 15:14:22 2016 +0100 pthread_frame: do not run hwaccel decoding asynchronously unless it's safe Certain hardware decoding APIs ar

[libav-commits] lavc: add a bitstream filter for splitting VP9 superframes

2016-12-14 Thread Anton Khirnov
Module: libav Branch: master Commit: 03a80925effc2698d21dc0b00290eecf42dd9e68 Author:Anton Khirnov Committer: Anton Khirnov Date: Sun Nov 13 11:00:02 2016 +0100 lavc: add a bitstream filter for splitting VP9 superframes Partially based on code by Ronald S. Bultje . --- doc

[libav-commits] binkaudio: switch to the new send/receive API

2016-12-14 Thread Anton Khirnov
Module: libav Branch: master Commit: 730c02326094bcfb1fa67f10a7e7b22f03f5a88f Author:Anton Khirnov Committer: Anton Khirnov Date: Thu Nov 24 23:05:20 2016 +0100 binkaudio: switch to the new send/receive API It is more natural for this codec and allows to avoid awkward constructs like

[libav-commits] decode: restructure the core decoding code

2016-12-14 Thread Anton Khirnov
Module: libav Branch: master Commit: 061a0c14bb5767bca72e3a7227ca400de439ba09 Author:Anton Khirnov Committer: Anton Khirnov Date: Wed Oct 26 13:59:15 2016 +0200 decode: restructure the core decoding code Currently, the new decoding API is pretty much just a wrapper around the old

[libav-commits] hevc: decouple calling get_format() from exporting the SPS parameters

2016-12-14 Thread Anton Khirnov
Module: libav Branch: master Commit: 86157e6db2c7a9222f77fa7e7f50fb9aebc3aa81 Author:Anton Khirnov Committer: Anton Khirnov Date: Sun Oct 2 15:39:10 2016 +0200 hevc: decouple calling get_format() from exporting the SPS parameters This makes sure ff_get_format() does not get called

[libav-commits] vp9: split superframes in the filtering stage before actual decoding

2016-12-14 Thread Anton Khirnov
Module: libav Branch: master Commit: fa1749dd34c55fb997c97dfc4da9383c9976ab91 Author:Anton Khirnov Committer: Anton Khirnov Date: Sun Nov 13 11:24:16 2016 +0100 vp9: split superframes in the filtering stage before actual decoding Significantly increases the efficiency of frame

[libav-commits] qsvdec_h2645: switch to the new generic filtering mechanism

2016-12-14 Thread Anton Khirnov
Module: libav Branch: master Commit: 8fb4210ad8785c01fccf2fc59af6a6fa2892b6b2 Author:Anton Khirnov Committer: Anton Khirnov Date: Sun Nov 13 09:09:06 2016 +0100 qsvdec_h2645: switch to the new generic filtering mechanism Drop the internal manual conversion from the MP4 format to

[libav-commits] lavc: add support for filtering packets before decoding

2016-12-14 Thread Anton Khirnov
Module: libav Branch: master Commit: 972c71e9cb63e24f57ee481e413199c7d88a8813 Author:Anton Khirnov Committer: Anton Khirnov Date: Sat Nov 12 17:43:55 2016 +0100 lavc: add support for filtering packets before decoding --- configure |1 + libavcodec/avcodec.h |6

[libav-commits] lavc: handle MP3 in get_audio_frame_duration()

2016-12-14 Thread Anton Khirnov
Module: libav Branch: master Commit: 0309ddcfb25fd44883bfcdb07509eb4907576b97 Author:Anton Khirnov Committer: Anton Khirnov Date: Fri Dec 2 13:21:02 2016 +0100 lavc: handle MP3 in get_audio_frame_duration() --- libavcodec/utils.c |3 +++ 1 file changed, 3 insertions(+) diff

  1   2   3   4   5   6   7   8   9   10   >