@HLEFunction(nid=0x04B93CEF,version=271) public int sceJpegDecodeMJpeg(TPointer jpegBuffer,int jpegBufferSize,TPointer imageBuffer,int dhtMode){
  if (log.isTraceEnabled()) {
    log.trace(String.format("sceJpegDecodeMJpeg jpegBuffer: %s",Utilities.getMemoryDump(jpegBuffer.getAddress(),jpegBufferSize)));
  }
  int pixelFormat=TPSM_PIXEL_STORAGE_MODE_32BIT_ABGR8888;
  BufferedImage bufferedImage=readJpegImage(jpegBuffer,jpegBufferSize);
  if (bufferedImage == null) {
    generateFakeImage(imageBuffer,jpegWidth,jpegHeight,jpegWidth,pixelFormat);
  }
 else {
    decodeImage(imageBuffer,bufferedImage,jpegWidth,jpegHeight,jpegWidth,pixelFormat,0);
  }
  return getWidthHeight(jpegWidth,jpegHeight);
}

@ HLEFunction ( nid = 0x04B93CEF , version = 271 ) public int sceJpegDecodeMJpeg ( TPointer jpegBuffer , int jpegBufferSize , TPointer imageBuffer , int dhtMode ) { if ( log . isTraceEnabled ( ) ) { log . trace ( String . format ( "sceJpegDecodeMJpeg jpegBuffer: %s" , Utilities . getMemoryDump ( jpegBuffer . getAddress ( ) , jpegBufferSize ) ) ) ; } int pixelFormat = TPSM_PIXEL_STORAGE_MODE_32BIT_ABGR8888 ; BufferedImage bufferedImage = readJpegImage ( jpegBuffer , jpegBufferSize ) ; if ( bufferedImage == null ) { generateFakeImage ( imageBuffer , jpegWidth , jpegHeight , jpegWidth , pixelFormat ) ; } else { decodeImage ( imageBuffer , bufferedImage , jpegWidth , jpegHeight , jpegWidth , pixelFormat , 0 ) ; } return getWidthHeight ( jpegWidth , jpegHeight ) ; }
decodes a mjpeg frame .
