Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* Re: [FFmpeg-devel] [PATCH v1] lavc/av1dec: use frame split bsf
       [not found] <20211215080637.3097627-1-fei.w.wang@intel.com>
@ 2021-12-28  6:00 ` Xiang, Haihao
  2022-01-04  8:29   ` Xiang, Haihao
  0 siblings, 1 reply; 3+ messages in thread
From: Xiang, Haihao @ 2021-12-28  6:00 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Wang, Fei W

On Wed, 2021-12-15 at 16:06 +0800, Fei Wang wrote:
> Split packed data in case of its contains multiple show frame in some
> non-standard bitstream. This can benefit decoder which can decode
> continuously instead of interrupt with unexpected error.
> 
> Signed-off-by: Fei Wang <fei.w.wang@intel.com>
> ---
> This is an improvement fix for my previous patch:
> 
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20211203080920.1948453-1-fei.w.wang@intel.com/
> 
>  libavcodec/av1dec.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c
> index db110c50c7..09df2bf421 100644
> --- a/libavcodec/av1dec.c
> +++ b/libavcodec/av1dec.c
> @@ -1240,6 +1240,7 @@ const AVCodec ff_av1_decoder = {
>      .flush                 = av1_decode_flush,
>      .profiles              = NULL_IF_CONFIG_SMALL(ff_av1_profiles),
>      .priv_class            = &av1_class,
> +    .bsfs                  = "av1_frame_split",
>      .hw_configs            = (const AVCodecHWConfigInternal *const []) {
>  #if CONFIG_AV1_DXVA2_HWACCEL
>          HWACCEL_DXVA2(av1),

LGTM

-Haihao

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [FFmpeg-devel] [PATCH v1] lavc/av1dec: use frame split bsf
  2021-12-28  6:00 ` [FFmpeg-devel] [PATCH v1] lavc/av1dec: use frame split bsf Xiang, Haihao
@ 2022-01-04  8:29   ` Xiang, Haihao
  2022-01-07  7:04     ` Xiang, Haihao
  0 siblings, 1 reply; 3+ messages in thread
From: Xiang, Haihao @ 2022-01-04  8:29 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Wang, Fei W

On Tue, 2021-12-28 at 06:00 +0000, Xiang, Haihao wrote:
> On Wed, 2021-12-15 at 16:06 +0800, Fei Wang wrote:
> > Split packed data in case of its contains multiple show frame in some
> > non-standard bitstream. This can benefit decoder which can decode
> > continuously instead of interrupt with unexpected error.
> > 
> > Signed-off-by: Fei Wang <fei.w.wang@intel.com>
> > ---
> > This is an improvement fix for my previous patch:
> > 
> 
> 
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20211203080920.1948453-1-fei.w.wang@intel.com/
> > 
> >  libavcodec/av1dec.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c
> > index db110c50c7..09df2bf421 100644
> > --- a/libavcodec/av1dec.c
> > +++ b/libavcodec/av1dec.c
> > @@ -1240,6 +1240,7 @@ const AVCodec ff_av1_decoder = {
> >      .flush                 = av1_decode_flush,
> >      .profiles              = NULL_IF_CONFIG_SMALL(ff_av1_profiles),
> >      .priv_class            = &av1_class,
> > +    .bsfs                  = "av1_frame_split",
> >      .hw_configs            = (const AVCodecHWConfigInternal *const []) {
> >  #if CONFIG_AV1_DXVA2_HWACCEL
> >          HWACCEL_DXVA2(av1),
> 
> LGTM

This patch works well for me when using vaapi av1 decoding. I'll apply it if no
objection. 

Thanks
Haihao

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [FFmpeg-devel] [PATCH v1] lavc/av1dec: use frame split bsf
  2022-01-04  8:29   ` Xiang, Haihao
@ 2022-01-07  7:04     ` Xiang, Haihao
  0 siblings, 0 replies; 3+ messages in thread
From: Xiang, Haihao @ 2022-01-07  7:04 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Wang, Fei W

On Tue, 2022-01-04 at 08:29 +0000, Xiang, Haihao wrote:
> On Tue, 2021-12-28 at 06:00 +0000, Xiang, Haihao wrote:
> > On Wed, 2021-12-15 at 16:06 +0800, Fei Wang wrote:
> > > Split packed data in case of its contains multiple show frame in some
> > > non-standard bitstream. This can benefit decoder which can decode
> > > continuously instead of interrupt with unexpected error.
> > > 
> > > Signed-off-by: Fei Wang <fei.w.wang@intel.com>
> > > ---
> > > This is an improvement fix for my previous patch:
> > > 
> > 
> > 
> 
> 
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20211203080920.1948453-1-fei.w.wang@intel.com/
> > > 
> > >  libavcodec/av1dec.c | 1 +
> > >  1 file changed, 1 insertion(+)
> > > 
> > > diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c
> > > index db110c50c7..09df2bf421 100644
> > > --- a/libavcodec/av1dec.c
> > > +++ b/libavcodec/av1dec.c
> > > @@ -1240,6 +1240,7 @@ const AVCodec ff_av1_decoder = {
> > >      .flush                 = av1_decode_flush,
> > >      .profiles              = NULL_IF_CONFIG_SMALL(ff_av1_profiles),
> > >      .priv_class            = &av1_class,
> > > +    .bsfs                  = "av1_frame_split",
> > >      .hw_configs            = (const AVCodecHWConfigInternal *const []) {
> > >  #if CONFIG_AV1_DXVA2_HWACCEL
> > >          HWACCEL_DXVA2(av1),
> > 
> > LGTM
> 
> This patch works well for me when using vaapi av1 decoding. I'll apply it if
> no
> objection. 

Applied, thx!


_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-07  7:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20211215080637.3097627-1-fei.w.wang@intel.com>
2021-12-28  6:00 ` [FFmpeg-devel] [PATCH v1] lavc/av1dec: use frame split bsf Xiang, Haihao
2022-01-04  8:29   ` Xiang, Haihao
2022-01-07  7:04     ` Xiang, Haihao

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git