Re: [FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info for monochrome

2018-08-22 Thread James Almer
On 8/22/2018 6:40 AM, Zhao Zhili wrote: > > > On 2018年08月22日 08:26, Michael Niedermayer wrote: >> On Mon, Aug 20, 2018 at 10:19:04AM +0800, Zhao Zhili wrote: >>> >>> On 2018年08月18日 05:33, Michael Niedermayer wrote: On Fri, Aug 17, 2018 at 09:52:57AM +0800, Zhao Zhili wrote: > The values

Re: [FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info for monochrome

2018-08-22 Thread Zhao Zhili
On 2018年08月22日 08:26, Michael Niedermayer wrote: On Mon, Aug 20, 2018 at 10:19:04AM +0800, Zhao Zhili wrote: On 2018年08月18日 05:33, Michael Niedermayer wrote: On Fri, Aug 17, 2018 at 09:52:57AM +0800, Zhao Zhili wrote: The values of SubWidthC and SubHeightC are 1 in the ITU-T H.265. The curr

Re: [FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info for monochrome

2018-08-21 Thread Michael Niedermayer
On Mon, Aug 20, 2018 at 10:19:04AM +0800, Zhao Zhili wrote: > > > On 2018年08月18日 05:33, Michael Niedermayer wrote: > >On Fri, Aug 17, 2018 at 09:52:57AM +0800, Zhao Zhili wrote: > >>The values of SubWidthC and SubHeightC are 1 in the ITU-T H.265. The > >>current code use the value of 2. > >>--- >

[FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info for monochrome

2018-08-19 Thread Zhao Zhili
The values of SubWidthC and SubHeightC are 1 in the ITU-T H.265. The current code use the value of 2. --- libavcodec/hevc_ps.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index fbd9fbf..ea984af 100644 --- a/libav

Re: [FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info for monochrome

2018-08-19 Thread Ronald S. Bultje
Hi, On Sun, Aug 19, 2018 at 10:01 PM, Zhao Zhili wrote: > @@ -628,8 +636,8 @@ static void decode_vui(GetBitContext *gb, > AVCodecContext *avctx, > vui->default_display_window_flag = get_bits1(gb); > > if (vui->default_display_window_flag) { > -int vert_mult = 1 + (sps->chr

Re: [FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info for monochrome

2018-08-19 Thread Zhao Zhili
On 2018年08月18日 05:33, Michael Niedermayer wrote: On Fri, Aug 17, 2018 at 09:52:57AM +0800, Zhao Zhili wrote: The values of SubWidthC and SubHeightC are 1 in the ITU-T H.265. The current code use the value of 2. --- libavcodec/hevc_ps.c | 16 1 file changed, 12 insertions(+)

[FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info for monochrome

2018-08-19 Thread Zhao Zhili
The values of SubWidthC and SubHeightC are 1 in the ITU-T H.265. The current code use the value of 2. --- libavcodec/hevc_ps.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index fbd9fbf..ae1d4ad 100644 --- a/libav

Re: [FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info for monochrome

2018-08-17 Thread Michael Niedermayer
On Fri, Aug 17, 2018 at 09:52:57AM +0800, Zhao Zhili wrote: > The values of SubWidthC and SubHeightC are 1 in the ITU-T H.265. The > current code use the value of 2. > --- > libavcodec/hevc_ps.c | 16 > 1 file changed, 12 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/

[FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info for monochrome

2018-08-16 Thread Zhao Zhili
The values of SubWidthC and SubHeightC are 1 in the ITU-T H.265. The current code use the value of 2. --- libavcodec/hevc_ps.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index fbd9fbf..b56b078 100644 --- a/libav

Re: [FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info

2018-08-16 Thread Michael Niedermayer
On Thu, Aug 16, 2018 at 11:29:09AM +0800, Zhao Zhili wrote: > --- > libavcodec/hevc_ps.c | 26 ++ > 1 file changed, 22 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c > index fbd9fbf..4161ab6 100644 > --- a/libavcodec/hevc_ps.c >

Re: [FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info

2018-08-16 Thread James Almer
On 8/16/2018 2:00 AM, Zhao Zhili wrote: > > > On 2018年08月16日 11:46, James Almer wrote: >> On 8/16/2018 12:29 AM, Zhao Zhili wrote: >>> --- >>>   libavcodec/hevc_ps.c | 26 ++ >>>   1 file changed, 22 insertions(+), 4 deletions(-) >>> >>> diff --git a/libavcodec/hevc_ps.c b/

Re: [FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info

2018-08-15 Thread Zhao Zhili
On 2018年08月16日 11:46, James Almer wrote: On 8/16/2018 12:29 AM, Zhao Zhili wrote: --- libavcodec/hevc_ps.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index fbd9fbf..4161ab6 100644 --- a/libavcod

Re: [FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info

2018-08-15 Thread James Almer
On 8/16/2018 12:29 AM, Zhao Zhili wrote: > --- > libavcodec/hevc_ps.c | 26 ++ > 1 file changed, 22 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c > index fbd9fbf..4161ab6 100644 > --- a/libavcodec/hevc_ps.c > +++ b/libavcodec/he

[FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info

2018-08-15 Thread Zhao Zhili
--- libavcodec/hevc_ps.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index fbd9fbf..4161ab6 100644 --- a/libavcodec/hevc_ps.c +++ b/libavcodec/hevc_ps.c @@ -628,8 +628,17 @@ static void decode_vui(GetBi