Using FPGA and Java in rapid prototyping of a real-time H.264/AVC decoder