[FFmpeg-devel] [PATCH 1/2] avfilter: steps to ditch YUVJ formats

Michael Niedermayer michael at niedermayer.cc
Fri Dec 8 22:48:08 EET 2017


On Fri, Dec 08, 2017 at 12:12:57PM +0100, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  fftools/ffmpeg.c         |  1 +
>  fftools/ffmpeg.h         |  2 ++
>  fftools/ffmpeg_filter.c  | 18 +++++++++++++++---
>  libavcodec/avcodec.h     |  1 +
>  libavcodec/utils.c       |  2 ++
>  libavfilter/avfilter.c   |  2 ++
>  libavfilter/avfilter.h   |  2 ++
>  libavfilter/buffersink.c |  1 +
>  libavfilter/buffersink.h |  1 +
>  libavfilter/buffersrc.c  | 13 +++++++++++++
>  libavfilter/buffersrc.h  |  5 +++++
>  libavfilter/vf_scale.c   |  9 +++++++++
>  libavfilter/video.c      |  8 +++++++-
>  13 files changed, 61 insertions(+), 4 deletions(-)

as a more general comment,
If doing all this across all libs is too hard, doing one lib at a
time could be easier.

That is fully support color_range without yuvj in a lib while
providing support for deprecated yuvj formats.

that lib could be tested by some hack that intercepts yuvj and translates
it to color_range, such hack would of course not be commited

then do the next lib

just a random idea, if it simplifies something that would be great,
if not just ignore this mail

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Does the universe only have a finite lifespan? No, its going to go on
forever, its just that you wont like living in it. -- Hiranya Peiri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171208/edb008dd/attachment.sig>


More information about the ffmpeg-devel mailing list