Encoder output test : added stream with non-multiple of 16 width/height
Also added decoder output test for the same.
This commit is contained in:
parent
6082566f4c
commit
1f598b892b
BIN
res/Static.264
Normal file
BIN
res/Static.264
Normal file
Binary file not shown.
@ -187,7 +187,8 @@ TEST_P(DecoderOutputTest, CompareOutput) {
|
||||
|
||||
static const FileParam kFileParamArray[] = {
|
||||
{"res/test_vd_1d.264", "5827d2338b79ff82cd091c707823e466197281d3"},
|
||||
{"res/test_vd_rc.264", "eea02e97bfec89d0418593a8abaaf55d02eaa1ca"}
|
||||
{"res/test_vd_rc.264", "eea02e97bfec89d0418593a8abaaf55d02eaa1ca"},
|
||||
{"res/Static.264", "91dd4a7a796805b2cd015cae8fd630d96c663f42"}
|
||||
};
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(DecodeFile, DecoderOutputTest,
|
||||
|
@ -144,6 +144,10 @@ static const EncodeFileParam kFileParamArray[] = {
|
||||
"res/CiscoVT2people_160x96_6fps.yuv",
|
||||
"6eb53b6bfdb95dfca0575bd3efe81aa58163951c", 160, 96, 6.0f
|
||||
},
|
||||
{
|
||||
"res/Static_152_100.yuv",
|
||||
"c5af55647a5ead570bd5d96651e05ea699762b8e", 152, 100, 6.0f
|
||||
},
|
||||
};
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(EncodeFile, EncoderOutputTest,
|
||||
|
@ -4,4 +4,4 @@
|
||||
|
||||
../h264dec ../res/test_vd_1d.264 test_vd_1d.yuv
|
||||
../h264dec ../res/test_vd_rc.264 test_vd_rc.yuv
|
||||
../h264dec test.264 test.yuv
|
||||
../h264dec ../res/Static.264 Static.yuv
|
||||
|
@ -16,7 +16,7 @@ Example Command Line for encoding in Windows:
|
||||
Example Command Line for decoding in Windows
|
||||
../bin/decConsole.exe ../res/test_vd_1d.264 test_vd_1d.yuv
|
||||
../bin/decConsole.exe ../res/test_vd_rc.264 test_vd_rc.yuv
|
||||
../bin/decConsole.exe test.264 test.yuv
|
||||
../bin/decConsole.exe ../res/Static.264 Static.yuv
|
||||
|
||||
Example shell script for Linux for encoder & decoder:
|
||||
CmdLineExample.sh
|
||||
|
@ -6,7 +6,7 @@ SourceWidth 152 # Input frame width
|
||||
SourceHeight 100 # Input frame height
|
||||
FrameRateIn 12 # Input frame rate [Hz]
|
||||
FrameRateOut 12 # Output frame rate [Hz]
|
||||
InputFile Static_152_100.yuv # Input file
|
||||
InputFile ../res/Static_152_100.yuv # Input file
|
||||
ReconFile rec_layer2.yuv # Reconstructed file
|
||||
|
||||
#============================== CODING ==============================
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Cisco Scalable H.264/AVC Extension Encoder Configuration File
|
||||
|
||||
#============================== GENERAL ==============================
|
||||
OutputFile test.264 # Bitstream file
|
||||
OutputFile Static.264 # Bitstream file
|
||||
MaxFrameRate 30 # Maximum frame rate [Hz]
|
||||
FramesToBeEncoded -1 # Number of frames (at input frame rate)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user