Commit dbbf1dd2 authored by Henrik Gramner's avatar Henrik Gramner
Browse files

checkasm: Fix idct_dequant_2x4_(dc|dconly) tests

They used the wrong qp values and the dconly test had the wrong name. This
was undetected before because there wasn't any assembly implementations.
parent 0db0ac3a
......@@ -2090,7 +2090,7 @@ static int check_quant( int cpu_ref, int cpu_new )
{
set_func_name( "idct_dequant_2x4_dc_%s", i_cqm?"cqm":"flat" );
used_asms[1] = 1;
for( int qp = h->param.rc.i_qp_max; qp >= h->param.rc.i_qp_min; qp-- )
for( int qp = h->chroma_qp_table[h->param.rc.i_qp_max]; qp >= h->chroma_qp_table[h->param.rc.i_qp_min]; qp-- )
{
for( int i = 0; i < 8; i++ )
dct1[i] = rand()%(PIXEL_MAX*16*2+1) - PIXEL_MAX*16;
......@@ -2110,9 +2110,9 @@ static int check_quant( int cpu_ref, int cpu_new )
if( qf_a.idct_dequant_2x4_dconly != qf_ref.idct_dequant_2x4_dconly )
{
set_func_name( "idct_dequant_2x4_dc_%s", i_cqm?"cqm":"flat" );
set_func_name( "idct_dequant_2x4_dconly_%s", i_cqm?"cqm":"flat" );
used_asms[1] = 1;
for( int qp = h->param.rc.i_qp_max; qp >= h->param.rc.i_qp_min; qp-- )
for( int qp = h->chroma_qp_table[h->param.rc.i_qp_max]; qp >= h->chroma_qp_table[h->param.rc.i_qp_min]; qp-- )
{
for( int i = 0; i < 8; i++ )
dct1[i] = rand()%(PIXEL_MAX*16*2+1) - PIXEL_MAX*16;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment