正常显示图片 aic /> pic_test -i /sdcard/1.jpg debug : aic_mpp : decode type: 0x1001 debug : aic_mpp : optarg: /sdcard/1.jpg info : aic_mpp : mode: 33206, size: 92451 info : aic_mpp : Read image from /sdcard/1.jpg, length 92451 warning: aic_mpp <__mjpeg_decode_init:727>: output pix format: 33 debug : aic_mpp : create packet manager debug : aic_mpp : ve_buffer_alloc, size: 93184 warning: aic_mpp : mpp_phy_alloc success, addr: 4643b768, ali gn_addr: 4643b800, size: 93184 info : aic_mpp : ve_buffer alloc success, fd: 0, size: 93 184 debug : aic_mpp : packet manager create 1 count packet, buffer si ze 93184 debug : aic_mpp : create packet manager successful! (0x401fa93c) debug : aic_mpp : packet manager dequeue empty mpp packet, pm: 0x401fa93c, packet: 0x401b1a28, size: 92451 warning: aic_mpp : get empty packet phy_offset: 924 51, size: 92451 info : aic_mpp : read len: 92451, file_len: 92451 debug : aic_mpp : packet manager enqueue ready mpp packet debug : aic_mpp : packet manager dequeue ready pac ket info : aic_mpp <__mjpeg_decode_frame:617>: startcode: d8 info : aic_mpp <__mjpeg_decode_frame:617>: startcode: e0 debug : aic_mpp <__mjpeg_decode_frame:624>: app marker: 224 info : aic_mpp <__mjpeg_decode_frame:700>: skip this marker: e0 info : aic_mpp <__mjpeg_decode_frame:617>: startcode: e1 debug : aic_mpp <__mjpeg_decode_frame:624>: app marker: 225 info : aic_mpp <__mjpeg_decode_frame:700>: skip this marker: e1 info : aic_mpp <__mjpeg_decode_frame:617>: startcode: ed debug : aic_mpp <__mjpeg_decode_frame:624>: app marker: 237 info : aic_mpp <__mjpeg_decode_frame:700>: skip this marker: ed info : aic_mpp <__mjpeg_decode_frame:617>: startcode: e1 debug : aic_mpp <__mjpeg_decode_frame:624>: app marker: 225 info : aic_mpp <__mjpeg_decode_frame:700>: skip this marker: e1 info : aic_mpp <__mjpeg_decode_frame:617>: startcode: e2 debug : aic_mpp <__mjpeg_decode_frame:624>: app marker: 226 info : aic_mpp <__mjpeg_decode_frame:700>: skip this marker: e2 info : aic_mpp <__mjpeg_decode_frame:617>: startcode: db debug : aic_mpp : index=0 info : aic_mpp <__mjpeg_decode_frame:617>: startcode: db debug : aic_mpp : index=1 info : aic_mpp <__mjpeg_decode_frame:617>: startcode: c0 info : aic_mpp <__mjpeg_decode_frame:651>: baseline info : aic_mpp <__mjpeg_decode_frame:653>: SOF1 debug : aic_mpp : ===== ff_mjpeg_decode_sof ====== debug : aic_mpp : component 0 2:2 id: 0 quant:0 debug : aic_mpp : component 1 1:1 id: 1 quant:1 debug : aic_mpp : component 2 1:1 id: 2 quant:1 info : aic_mpp : s->width 480, s->height 272 info : aic_mpp : s->uv_interleave: 0, out_pix_fmt: 33 info : aic_mpp : pixel format: yuv420 info : aic_mpp <__mjpeg_decode_frame:617>: startcode: c4 debug : aic_mpp : ====== DHT (huffman table) ====== info : aic_mpp : class: 0, index: 0 info : aic_mpp <__mjpeg_decode_frame:617>: startcode: c4 debug : aic_mpp : ====== DHT (huffman table) ====== info : aic_mpp : class: 1, index: 0 info : aic_mpp <__mjpeg_decode_frame:617>: startcode: c4 debug : aic_mpp : ====== DHT (huffman table) ====== info : aic_mpp : class: 0, index: 1 info : aic_mpp <__mjpeg_decode_frame:617>: startcode: c4 debug : aic_mpp : ====== DHT (huffman table) ====== info : aic_mpp : class: 1, index: 1 info : aic_mpp <__mjpeg_decode_frame:617>: startcode: da debug : aic_mpp : ===== ff_mjpeg_decode_sos ====== debug : aic_mpp : sos_size 12, s->pix_fmt: 33 debug : aic_mpp : create frame manager info : aic_mpp : frame info: stride: 480, height_align: 272, cn t: 1 warning: aic_mpp : mpp_phy_alloc success, addr: 46452798, ali gn_addr: 46452800, size: 130560 warning: aic_mpp : mpp_phy_alloc success, addr: 464729c8, ali gn_addr: 46472c00, size: 65280 debug : aic_mpp : alloc frame buffer info : aic_mpp : alloc frame phy_addr: 46452800 debug : aic_mpp : create frame manager successful! debug : aic_mpp : fm_decoder_get_frame info : aic_mpp : fm_decoder_get_frame end, phy_addr: 46452800 warning: aic_mpp : offste: 22288 debug : aic_mpp : config mjpeg reg debug : aic_mpp : picture size debug : aic_mpp : config picture info re gister debug : aic_mpp : config quant matrix debug : aic_mpp : config huffman table debug : aic_mpp : max_code debug : aic_mpp : huff_val dc_luma debug : aic_mpp : huff_val dc_chroma verbose: aic_mpp : write JPG_HUFF_INFO_REG 2080 C03 verbose: aic_mpp : write JPG_HUFF_ADDR_REG 2084 C0C verbose: aic_mpp : write JPG_HUFF_VAL_REG 2088 00 verbose: aic_mpp : write JPG_HUFF_VAL_REG 2088 01 verbose: aic_mpp : write JPG_HUFF_VAL_REG 2088 02 verbose: aic_mpp : write JPG_HUFF_VAL_REG 2088 03 verbose: aic_mpp : write JPG_HUFF_VAL_REG 2088 04 verbose: aic_mpp : write JPG_HUFF_VAL_REG 2088 05 verbose: aic_mpp : write JPG_HUFF_VAL_REG 2088 06 verbose: aic_mpp : write JPG_HUFF_VAL_REG 2088 07 verbose: aic_mpp : write JPG_HUFF_VAL_REG 2088 08 verbose: aic_mpp : write JPG_HUFF_VAL_REG 2088 09 verbose: aic_mpp : write JPG_HUFF_VAL_REG 2088 0A verbose: aic_mpp : write JPG_HUFF_VAL_REG 2088 0B debug : aic_mpp : config pp info : aic_mpp : ======= config all regs ========== info : aic_mpp : ve status 1, mb: 0 info : aic_mpp : read JPG_CYCLES_REG 680c1 debug : aic_mpp : fm_decoder_frame_to_render, d isplay: 1 debug : aic_mpp : fm_decoder_put_frame, ref_count: 2, displayed: 0 debug : aic_mpp : frm_impl->ref_count: 1 debug : aic_mpp : packet manager enqueue empty pac ket debug : aic_mpp : frame manager dequeue render mpp fra me debug : aic_mpp : get frame ref_count: 1, used_by_dec: 1, used_by_render: 1 [I] render_frame()277 Render to buf 0x46000040 info : aic_mpp : phy_addr: 46452800, stride: 480 info : aic_mpp : width: 480, height: 272, format: 33 info: cmd ring buf size:1920 info: cmd ring buf size:1920 debug : aic_mpp : frame manager enqueue empty mpp fram e, id: 0 debug : aic_mpp : destroy frame manager debug : aic_mpp : free frame buffer warning: aic_mpp : phy_free success, addr: 46452798, size: 130 560 warning: aic_mpp : phy_free success, addr: 464729c8, size: 652 80 debug : aic_mpp : destroy packet manager info : aic_mpp : ve_buffer_free, fd: 0, size: 93184 warning: aic_mpp : reset base address warning: aic_mpp : phy_free success, addr: 4643b768, size: 931 旋转图片错误log aic /> pic_test -r --rotate 180 warning: aic_mpp <__mjpeg_decode_init:727>: output pix format: 33 debug : aic_mpp : create packet manager warning: aic_mpp : Read image from 0x0, length 0 info : aic_mpp : read len: 0, file_len: 0 debug : aic_mpp : packet manager enqueue ready mpp packet debug : aic_mpp : packet manager dequeue ready packet error : aic_mpp <__mjpeg_decode_frame:582>: pm_dequeue_ready_packet error, ready_packet num: 513802351 [I] render_frame()277 Render to buf 0x46000040 info : aic_mpp : phy_addr: 0, stride: 0 info : aic_mpp : width: 0, height: 0, format: 0 info: cmd ring buf size:1920 can't find src dma fd: 0 error : aic_mpp : bitblt task failed info: cmd ring buf size:1920