summaryrefslogtreecommitdiff
path: root/tests/ref/vsynth/vsynth2-mpeg2-422
Commit message (Collapse)AuthorAge
* avcodec/mpegvideo_enc: Fix a chroma mb size error in sse_mb()Wenbin Chen2022-07-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | For 422 frames we should not use hard coded 8 to calculate mb size for uv plane. Chroma shift should be taken into consideration to be compatiple with different sampling format. The error is reported by fate test when av_cpu_max_align() return 64 on the platform supporting AVX512. This is a hidden error and it is exposed after commit 17a59a634c39b00a680c6ebbaea58db95594d13d. mpeg2enc has a mechanism to reuse frames. When it computes SSE (sum of squared error) on current mb, reconstructed mb will be wrote to the previous mb space, so that the memory can be saved. However if the align is 64, the frame is shared in somewhere else, so the frame cannot be reused and a new frame to store reconstrued data is created. Because the height of mb is wrong when compute sse on 422 frame, starting from the second line of macro block, changed data is read when frame is reused (we need to read row 16 rather than row 8 if frame is 422), and unchanged data is read when frame is not reused (a new frame is created so the original frame will not be changed). That is why commit 17a59a634c39b00a680c6ebbaea58db95594d13d exposes this issue, because it add av_cpu_max_align() and this function return 64 on platform supporting AVX512 which lead to creating a frame in mpeg2enc, and this lead to the different outputs. Signed-off-by: Wenbin Chen <wenbin.chen@intel.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* tests: Add vsynth2 which uses the new reference.pnmMichael Niedermayer2014-12-02
| | | | | | | The file is already present in git and by using it we can perform more tests without the need of fate samples Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tests: Rename vsynth2 to vsynth_lenaMichael Niedermayer2014-12-02
| | | | | | This avoids confusion with a growing number of vsynth tests Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mpeg12enc: store sequence display extension only if we have ↵Michael Niedermayer2014-06-06
| | | | | | something to store in it Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '8a06794112d02a5707f766b8b38a5d50dfd03898'Michael Niedermayer2014-06-06
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '8a06794112d02a5707f766b8b38a5d50dfd03898': mpeg2: add sequence display extension information Conflicts: libavcodec/mpeg12enc.c tests/ref/lavf/gxf tests/ref/lavf/mxf tests/ref/lavf/mxf_d10 tests/ref/lavf/ts tests/ref/seek/lavf-gxf tests/ref/seek/lavf-mxf tests/ref/seek/lavf-ts tests/ref/seek/vsynth2-mpeg2-422 tests/ref/seek/vsynth2-mpeg2-idct-int tests/ref/seek/vsynth2-mpeg2-ilace tests/ref/seek/vsynth2-mpeg2-ivlc-qprd tests/ref/seek/vsynth2-mpeg2-thread tests/ref/seek/vsynth2-mpeg2-thread-ivlc tests/ref/vsynth/vsynth1-mpeg2 tests/ref/vsynth/vsynth1-mpeg2-422 tests/ref/vsynth/vsynth1-mpeg2-idct-int tests/ref/vsynth/vsynth1-mpeg2-ilace tests/ref/vsynth/vsynth1-mpeg2-ivlc-qprd tests/ref/vsynth/vsynth1-mpeg2-thread tests/ref/vsynth/vsynth1-mpeg2-thread-ivlc tests/ref/vsynth/vsynth2-mpeg2 tests/ref/vsynth/vsynth2-mpeg2-422 tests/ref/vsynth/vsynth2-mpeg2-idct-int tests/ref/vsynth/vsynth2-mpeg2-ilace tests/ref/vsynth/vsynth2-mpeg2-ivlc-qprd tests/ref/vsynth/vsynth2-mpeg2-thread tests/ref/vsynth/vsynth2-mpeg2-thread-ivlc Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpeg2: add sequence display extension informationMarc-Antoine Arnaud2014-06-06
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | mpeg12enc: always set closed gop flag on the first gopMarton Balint2014-04-01
| | | | | | | | | | | | | | | | Improves compatibility with XDCAM HD formats. It has been set for a long time in ffmbc. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
* | Merge commit 'e816034a5fa131b13c4ad87bb0b5065b4f5697c6'Michael Niedermayer2012-12-03
|/ | | | | | | | | | | | | | | * commit 'e816034a5fa131b13c4ad87bb0b5065b4f5697c6': fate-seek: remove use of gnu make 3.82 only private modifier fate: move vsynth reference files to their own directory fate: move fate-acodec reference files to their own dir configure: avplay now depends on avresample fate: split dependencies for fate-seek tests Conflicts: configure tests/fate/seek.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
* fate: move vsynth reference files to their own directoryJanne Grunau2012-12-03