[FFmpeg-devel] [PATCH 4/6] tools/python: add help script to get sess_config

lance.lmwang at gmail.com lance.lmwang at gmail.com
Tue Apr 27 09:29:15 EEST 2021


On Tue, Apr 27, 2021 at 04:25:55AM +0000, Guo, Yejun wrote:
> 
> 
> > -----Original Message-----
> > From: Guo, Yejun
> > Sent: 2021年4月27日 12:11
> > To: FFmpeg development discussions and patches
> > <ffmpeg-devel at ffmpeg.org>
> > Subject: RE: [FFmpeg-devel] [PATCH 4/6] tools/python: add help script to
> > get sess_config
> > 
> > 
> > 
> > > -----Original Message-----
> > > From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> > > lance.lmwang at gmail.com
> > > Sent: 2021年4月26日 18:49
> > > To: ffmpeg-devel at ffmpeg.org
> > > Cc: Limin Wang <lance.lmwang at gmail.com>
> > > Subject: [FFmpeg-devel] [PATCH 4/6] tools/python: add help script to get
> > > sess_config
> > >
> > > From: Limin Wang <lance.lmwang at gmail.com>
> > >
> > > Please note the byte order of the hex data is in normal order.
> > >
> > > Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> > > ---
> > >  tools/python/tf_sess_config.py | 44
> > > ++++++++++++++++++++++++++++++++++++++++++
> > >  1 file changed, 44 insertions(+)
> > >  create mode 100644 tools/python/tf_sess_config.py
> > >
> > > diff --git a/tools/python/tf_sess_config.py
> > b/tools/python/tf_sess_config.py
> > > new file mode 100644
> > > index 0000000..e4e38bd
> > > --- /dev/null
> > > +++ b/tools/python/tf_sess_config.py
> > > @@ -0,0 +1,44 @@
> > 
> > this patch changes the order in current implementation, we'd better
> > merge patch 4 and patch 5 in a single patch, to adjust the order in one
> > patch.

I'm OK with that. I think few people have used the option yet.

> 
> and, we may remove '0x' at the beginning of value, since it is no longer
> a hex value in math. It is the byte order.

For hex string, it's preferable to prefix with '0x'.

> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".

-- 
Thanks,
Limin Wang


More information about the ffmpeg-devel mailing list