Re: [libav-devel] [RFC] [PATCH] pixdesc: Change color property name APIs return type

2017-04-20 Thread wm4
On Thu, 20 Apr 2017 11:26:10 -0400 Vittorio Giovara wrote: > This should make these APIs simpler to use, and less error prone > in case the caller does not check they are valid, and makes them > more similar to other naming APIs. > --- > This should help in the bug in

[libav-devel] [RFC] H.264 raw bitstream editing

2017-04-20 Thread Mark Thompson
There have been vague thoughts on doing this for a while, here is an initial working implementation. The idea here is to have internal API which decomposes an H.264 packet / access unit into structures containing every syntax element, and then corresponding API to recreate the packets on the

[libav-devel] [PATCH 4/6] lavc: Add h264_metadata bitstream filter

2017-04-20 Thread Mark Thompson
This is able to modify some header metadata found in the SPS/VUI, and can also add/remove AUDs and insert user data in SEI NAL units. --- doc/bitstream_filters.texi | 47 + libavcodec/Makefile| 2 + libavcodec/bitstream_filters.c | 1 + libavcodec/h264_metadata_bsf.c |

[libav-devel] [PATCH 2/6] lavc: Add H.264 raw bitstream manipulation functions

2017-04-20 Thread Mark Thompson
Reads packets (access units) by breaking constituent NAL units into structures containing all syntax elements. Writes packets by reconstructing the stream from the syntax element structures. --- libavcodec/h264_raw.c| 777 ++ libavcodec/h264_raw.h| 439

[libav-devel] [PATCH 6/6] lavc: Add h264_closegop bitstream filter

2017-04-20 Thread Mark Thompson
Takes a broadcast-format stream containing no IDR frames and using open-GOP throughout and transforms it into a stored stream with IDR frames and closed-GOP. --- doc/bitstream_filters.texi | 16 ++ libavcodec/Makefile| 2 + libavcodec/bitstream_filters.c | 1 +

[libav-devel] [PATCH 3/6] lavc: Add h264_trace bitstream filter

2017-04-20 Thread Mark Thompson
--- doc/bitstream_filters.texi | 13 libavcodec/Makefile| 2 + libavcodec/bitstream_filters.c | 1 + libavcodec/h264_trace_bsf.c| 161 + 4 files changed, 177 insertions(+) create mode 100644 libavcodec/h264_trace_bsf.c diff

[libav-devel] [PATCH 1/6] avconv: Flush output BSFs when stream copy reaches EOF

2017-04-20 Thread Mark Thompson
Same as f64d1100a54d12c78ce436181bb64229c56da6b3, for stream copy rather than encode. --- avtools/avconv.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/avtools/avconv.c b/avtools/avconv.c index 2e218e96c..719d289ff 100644 --- a/avtools/avconv.c +++

[libav-devel] [PATCH 5/6] lavc: Add h264_redundant_pps bitstream filter

2017-04-20 Thread Mark Thompson
This applies a specific fixup to some Bluray streams which contain redundant PPSs modifying irrelevant parameters of the stream which confuse other transformations which require correct extradata. A new single global PPS is created, and all of the redundant PPSs within the stream are removed. ---

Re: [libav-devel] [PATCH 1/2] hevc: Add NEON IDCT DC functions for bitdepth 8

2017-04-20 Thread Diego Biurrun
On Thu, Apr 20, 2017 at 11:04:26PM +0300, Martin Storsjö wrote: > On Thu, 20 Apr 2017, Alexandra Hájková wrote: > >From: Seppo Tomperi > >--- a/libavcodec/arm/hevcdsp_init_arm.c > >+++ b/libavcodec/arm/hevcdsp_init_arm.c > >@@ -26,8 +26,12 @@ > >#include

Re: [libav-devel] [PATCH 1/2] hevc: Add NEON IDCT DC functions for bitdepth 8

2017-04-20 Thread Martin Storsjö
On Thu, 20 Apr 2017, Alexandra Hájková wrote: From: Seppo Tomperi Signed-off-by: Alexandra Hájková --- libavcodec/arm/hevc_idct.S| 78 +++ libavcodec/arm/hevcdsp_init_arm.c | 15 ++-- 2 files changed,

[libav-devel] [PATCH 2/2] hevc: Add support for bitdepth 10 for IDCT DC

2017-04-20 Thread Alexandra Hájková
--- libavcodec/arm/hevc_idct.S| 42 +++ libavcodec/arm/hevcdsp_init_arm.c | 22 ++-- 2 files changed, 45 insertions(+), 19 deletions(-) diff --git a/libavcodec/arm/hevc_idct.S b/libavcodec/arm/hevc_idct.S index f0008aa..41b1b29 100644

[libav-devel] [PATCH 1/2] hevc: Add NEON IDCT DC functions for bitdepth 8

2017-04-20 Thread Alexandra Hájková
From: Seppo Tomperi Signed-off-by: Alexandra Hájková --- libavcodec/arm/hevc_idct.S| 78 +++ libavcodec/arm/hevcdsp_init_arm.c | 15 ++-- 2 files changed, 90 insertions(+), 3 deletions(-) diff --git

Re: [libav-devel] [RFC] [PATCH] stereo3d: Update the naming API to be more consistent

2017-04-20 Thread Luca Barbato
On 4/20/17 5:34 PM, Vittorio Giovara wrote: > Change input type of the type->str function and return a proper > error code for the str->type function. > --- > Similar reasoning to the previous patch. > Vittorio > Fine for me. lu ___ libav-devel

Re: [libav-devel] [RFC] [PATCH] pixdesc: Change color property name APIs return type

2017-04-20 Thread Luca Barbato
On 4/20/17 5:45 PM, Hendrik Leppkes wrote: > On Thu, Apr 20, 2017 at 5:26 PM, Vittorio Giovara > wrote: >> This should make these APIs simpler to use, and less error prone >> in case the caller does not check they are valid, and makes them >> more similar to other

Re: [libav-devel] [PATCH 2/8] libavutil: add mastering display metadata sidedata

2017-04-20 Thread Vittorio Giovara
On Tue, Apr 11, 2017 at 9:35 AM, Anton Khirnov wrote: > Quoting Vittorio Giovara (2017-04-10 14:44:38) >> On Fri, Apr 7, 2017 at 3:13 PM, James Almer wrote: >> > On 4/7/2017 3:20 PM, Vittorio Giovara wrote: >> >> On Fri, Apr 7, 2017 at 8:13 PM, James Almer

Re: [libav-devel] [RFC] [PATCH] pixdesc: Change color property name APIs return type

2017-04-20 Thread Hendrik Leppkes
On Thu, Apr 20, 2017 at 5:26 PM, Vittorio Giovara wrote: > This should make these APIs simpler to use, and less error prone > in case the caller does not check they are valid, and makes them > more similar to other naming APIs. > --- > This should help in the bug in

[libav-devel] [PATCH] spherical: add functions to retrieve and request projection names

2017-04-20 Thread Vittorio Giovara
From: James Almer Signed-off-by: James Almer Signed-off-by: Vittorio Giovara --- Hopefully this is the version everyone can compromise on. Vittorio doc/APIchanges| 4 libavutil/spherical.c | 28

[libav-devel] [RFC] [PATCH] stereo3d: Update the naming API to be more consistent

2017-04-20 Thread Vittorio Giovara
Change input type of the type->str function and return a proper error code for the str->type function. --- Similar reasoning to the previous patch. Vittorio libavutil/stereo3d.c | 6 +++--- libavutil/stereo3d.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [libav-devel] [RFC] [PATCH] pixdesc: Change color property name APIs return type

2017-04-20 Thread Luca Barbato
On 4/20/17 5:26 PM, Vittorio Giovara wrote: > This should make these APIs simpler to use, and less error prone > in case the caller does not check they are valid, and makes them > more similar to other naming APIs. > --- > This should help in the bug in avprobe found by Luca. > Sending as RFC

[libav-devel] [RFC] [PATCH] pixdesc: Change color property name APIs return type

2017-04-20 Thread Vittorio Giovara
This should make these APIs simpler to use, and less error prone in case the caller does not check they are valid, and makes them more similar to other naming APIs. --- This should help in the bug in avprobe found by Luca. Sending as RFC since I believe we are allowed to break this API as we did

Re: [libav-devel] [PATCH] avplay: Do not try to allocate new frames when the player is closing

2017-04-20 Thread Luca Barbato
On 4/18/17 12:24 AM, Luca Barbato wrote: > The allocation event can trigger while the decoding thread is already > closing. > > Bug-Id: 1052 > CC: libav-sta...@libav.org > --- > avtools/avplay.c | 15 +-- > 1 file changed, 13 insertions(+), 2 deletions(-) > Ping.

Re: [libav-devel] [PATCH] swscale-test: const correctness

2017-04-20 Thread Luca Barbato
On 19/04/2017 11:11, Diego Biurrun wrote: > --- > > The casts are somewhat ugly, but probably unavoidable... > Ugly but correct. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel