1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avcodec/roqvideo: use JPEG color range

Signed-off-by: ejlasota <ejlasota@gmail.com>

Also update fate test checksums
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Eric Lasota 2014-07-06 15:42:43 -04:00 committed by Michael Niedermayer
parent 064945b3aa
commit 8be23d424f
6 changed files with 12 additions and 12 deletions

View File

@ -189,7 +189,7 @@ static av_cold int roq_decode_init(AVCodecContext *avctx)
return AVERROR(ENOMEM);
}
avctx->pix_fmt = AV_PIX_FMT_YUV444P;
avctx->pix_fmt = AV_PIX_FMT_YUVJ444P;
return 0;
}

View File

@ -1097,7 +1097,7 @@ AVCodec ff_roq_encoder = {
.init = roq_encode_init,
.encode2 = roq_encode_frame,
.close = roq_encode_end,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV444P,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUVJ444P,
AV_PIX_FMT_NONE },
.priv_class = &roq_class,
};

View File

@ -1 +1 @@
50fa863f7820bb22ddeb74d5adf5f0bc
e9ff61023826fce304350ff6e7c63b2f

View File

@ -1,4 +1,4 @@
ret: 0 st: 0 flags:0 dts: 0.000000 pts: 0.000000 pos: 24 size: 26082
ret: 0 st: 0 flags:0 dts: 0.000000 pts: 0.000000 pos: 24 size: 26814
ret:-1 st:-1 flags:0 ts:-1.000000
ret:-1 st:-1 flags:1 ts: 1.894167
ret:-1 st: 0 flags:0 ts: 0.800000

View File

@ -1,4 +1,4 @@
cf8b7b0e539bab3169c234ca63d71dd8 *tests/data/fate/vsynth1-roqvideo.roq
101671 tests/data/fate/vsynth1-roqvideo.roq
0ad983c291b1ed373645c5b12a108c61 *tests/data/fate/vsynth1-roqvideo.out.rawvideo
stddev: 7.74 PSNR: 30.35 MAXDIFF: 89 bytes: 7603200/ 760320
8037e62b2707a246e787bb1723b752b9 *tests/data/fate/vsynth1-roqvideo.roq
102571 tests/data/fate/vsynth1-roqvideo.roq
9e3bb47e5e9708392d7eba8f944b6920 *tests/data/fate/vsynth1-roqvideo.out.rawvideo
stddev: 7.75 PSNR: 30.34 MAXDIFF: 88 bytes: 7603200/ 760320

View File

@ -1,4 +1,4 @@
b46f899b2363065c60f3782ba1f8b7bd *tests/data/fate/vsynth2-roqvideo.roq
92786 tests/data/fate/vsynth2-roqvideo.roq
e69fca960dd0911e9b8d589c13e11dc1 *tests/data/fate/vsynth2-roqvideo.out.rawvideo
stddev: 3.81 PSNR: 36.49 MAXDIFF: 54 bytes: 7603200/ 760320
1a43cd71c91f2ef42d11a81419bff3bd *tests/data/fate/vsynth2-roqvideo.roq
94810 tests/data/fate/vsynth2-roqvideo.roq
97cda6096430c0ab7a43a0e120cd3e91 *tests/data/fate/vsynth2-roqvideo.out.rawvideo
stddev: 3.81 PSNR: 36.50 MAXDIFF: 49 bytes: 7603200/ 760320