build decoder.cpp, support read the *.Ajpg file