[FFmpeg-devel] [PATCH 29/29] all: remove rest of YUVJ pixel formats usage

Paul B Mahol onemda at gmail.com
Sun Dec 10 21:22:17 EET 2017


On 12/10/17, Michael Niedermayer <michael at niedermayer.cc> wrote:
> On Sun, Dec 10, 2017 at 02:14:36PM +0100, Paul B Mahol wrote:
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>> ---
>>  fftools/ffmpeg_filter.c                  |  4 +--
>>  libavcodec/raw.c                         | 18 +++-------
>>  libavcodec/utils.c                       | 11 ------
>>  libavutil/pixdesc.c                      | 60
>> --------------------------------
>>  libavutil/pixfmt.h                       |  5 ---
>>  libswscale/utils.c                       | 20 -----------
>>  tests/fate/vcodec.mak                    | 12 +++----
>>  tests/lavf-regression.sh                 |  8 ++---
>>  tests/ref/fate/filter-pixdesc-yuvj411p   |  1 -
>>  tests/ref/fate/filter-pixdesc-yuvj420p   |  1 -
>>  tests/ref/fate/filter-pixdesc-yuvj422p   |  1 -
>>  tests/ref/fate/filter-pixdesc-yuvj440p   |  1 -
>>  tests/ref/fate/filter-pixdesc-yuvj444p   |  1 -
>>  tests/ref/fate/filter-pixfmts-copy       |  5 ---
>>  tests/ref/fate/filter-pixfmts-crop       |  5 ---
>>  tests/ref/fate/filter-pixfmts-field      |  5 ---
>>  tests/ref/fate/filter-pixfmts-fieldorder |  3 --
>>  tests/ref/fate/filter-pixfmts-hflip      |  5 ---
>>  tests/ref/fate/filter-pixfmts-il         |  5 ---
>>  tests/ref/fate/filter-pixfmts-null       |  5 ---
>>  tests/ref/fate/filter-pixfmts-pad        |  5 ---
>>  tests/ref/fate/filter-pixfmts-scale      |  5 ---
>>  tests/ref/fate/filter-pixfmts-swapuv     |  5 ---
>>  tests/ref/fate/filter-pixfmts-vflip      |  5 ---
>>  tests/ref/fate/sws-pixdesc-query         | 15 --------
>>  tests/ref/lavf/pixfmt                    |  8 -----
>>  26 files changed, 15 insertions(+), 204 deletions(-)
>>  delete mode 100644 tests/ref/fate/filter-pixdesc-yuvj411p
>>  delete mode 100644 tests/ref/fate/filter-pixdesc-yuvj420p
>>  delete mode 100644 tests/ref/fate/filter-pixdesc-yuvj422p
>>  delete mode 100644 tests/ref/fate/filter-pixdesc-yuvj440p
>>  delete mode 100644 tests/ref/fate/filter-pixdesc-yuvj444p
>
> The documentation should explain how a user should replace
> -pix_fmt yuvj*
> vf format=yuvj*
> (and any similar cases)
>
> when these are removed and no longer work

Where in documentation?
FFmpeg cli already warns that one should use non j format
and set color range via color_range option.


More information about the ffmpeg-devel mailing list