Hi, I've the following errors in the gcc45 build of multimedia:apps dirac :-
quant_chooser.cpp: In member function 'void
dirac::QuantChooser::SetSkip(dirac::CodeBlock&, int)':
quant_chooser.cpp:343:49: error: invalid operands of types
'__gnu_cxx::__enable_if::__type' and 'int' to binary
'operator<<'
in line 343 where [i] is column 49 :-
if ( (std::abs(m_coeff_data[j][i])<<2) >= u_threshold )
can_skip = false;
In function :-
void QuantChooser::SetSkip( CodeBlock& cblock , const int qidx)
{
const int u_threshold = dirac_quantiser_lists.QuantFactor4( qidx );
// Sets the skip flag for a codeblock
bool can_skip = true;
for (int j=cblock.Ystart(); j= u_threshold )
can_skip = false;
}
}
cblock.SetSkip( can_skip );
}
and another one:-
quant_chooser.cpp: In member function 'dirac::CoeffType
dirac::QuantChooser::BlockAbsMax(const dirac::Subband&)':
quant_chooser.cpp:358:64: error: no matching function for call to
'max(int&, __gnu_cxx::__enable_if::__type)'
In line 358 where the last ) before ; is column 64:-
val = std::max( val , std::abs(m_coeff_data[j][i]) );
In function
CoeffType QuantChooser::BlockAbsMax( const Subband& node )
{
int val( 0 );
for (int j=node.Yp() ; j