Search found 31 matches

by happycoding
Sun Jul 29, 2007 8:09 pm
Forum: PSP Development
Topic: Current AVC decoder hardware hack is not completed?
Replies: 6
Views: 10727

PSP doesn't play x264 streams/files w/o x264-pictiming-magik patch. I come back to my question, how do you know that PSP can play std h264 vid streams? (i.e. w/o pictiming tweak). I know PSP 2.71 firmware Video Player (not homebrew) can play AVC-MP4 created by 3GP_Converter 0.34(http://www.nurs.or....
by happycoding
Wed Jul 25, 2007 2:08 pm
Forum: PSP Development
Topic: Current AVC decoder hardware hack is not completed?
Replies: 6
Views: 10727

You didn't read the page carefully. Look at this quote: In the muxer you need to specify width, height and fps of the video. I've patched x264 to write a file with this informations. The only patch to x264 is to make it write a small text file containing certain paramters (resolution, frame rate) f...
by happycoding
Mon Jul 23, 2007 11:33 pm
Forum: PSP Development
Topic: Current AVC decoder hardware hack is not completed?
Replies: 6
Views: 10727

Current AVC decoder hardware hack is not completed?

I am a AVC newbie, and please correct me if I am wrong. I know Jonny's PMP MOD AVC 1.02 and jockyw2001's PMP VLC Player 009 Rev4 all depend on a patched x264[1]. Why? I mean SONY's PSP player can play AVC encoded with un-patched x264, but our hacked AVC hardware decoder[2] can only deal with patched...
by happycoding
Tue Jul 17, 2007 1:02 am
Forum: PSP Development
Topic: PMP VLC 0.0.9 Player
Replies: 578
Views: 1020506

I check the code and find that it uses libcurl. (PMPVLC009-rev2\ffplay_resample\Makefile Line 29 uses "-lcurl") But the PSPSDK does not include libcurl. How to build libcurl for PSP? I know I can not "tar -xzf curl-7.16.4.tar.gz" and "./configure; make install" because ...
by happycoding
Mon Jul 16, 2007 8:42 am
Forum: PSP Development
Topic: [help] stdint.h:83: error: conflicting types for 'int32_t'
Replies: 0
Views: 1600

[help] stdint.h:83: error: conflicting types for 'int32_t'

I install the latest psptoolchain on cygwin and try to compile a sample code, the following is error message: -------------------- /usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/include/stdint.h:83: error: conflicting types for 'int32_t' ../etc/inttypes.h:8: error: previous declaration of 'int3...
by happycoding
Mon Jul 09, 2007 2:25 pm
Forum: PSP Development
Topic: PMP VLC 0.0.9 Player
Replies: 578
Views: 1020506

Where can I get the "PMPVLC009Rev2-source.zip"?

Where can I get the "PMPVLC009Rev2-source.zip"? I want to get it because Rev4 does not work for my psp 1.5 while Rev2 work well. So I want to diff the source code between Ret2 and Ret4 and try to fix it.
by happycoding
Sun Jul 08, 2007 9:22 am
Forum: PSP Development
Topic: PMP VLC 0.0.9 Player
Replies: 578
Views: 1020506

A similar error as you got once happened to me, shortening the directory names resolved it. which directory? Sorry, but I wasn't sure if you meant the directory on the PSP memory stick, or the directory that I have my music and videos in. If you are talking about the music or videos, then I don't t...
by happycoding
Sun Jul 08, 2007 9:03 am
Forum: PSP Development
Topic: PMP VLC 0.0.9 Player
Replies: 578
Views: 1020506

"use_avc_hw=1" AND "h264+mp4a+mp4 container&q

The pmp.ini mentiones that: ------ # use_avc_hw is heavily experimental !! # if set to 1 then automatically vid_codec = h264, aud_codec = mp3, and container = ts are set # your pmp.ini settings are then superseded use_avc_hw = 1; ------- Is it possible to set "use_avc_hw=1" to play a .mp4 ...
by happycoding
Sat Jul 07, 2007 4:59 pm
Forum: PSP Development
Topic: PMP VLC 0.0.9 Player
Replies: 578
Views: 1020506

I have not wireless, can I use PMP VLC to play .mp4 file?

I have not wireless route so I can not active PSP's built-in wireless function, can I use PMP VLC to play .mp4 file in memstick, not thru wireless network?

Thanks!
by happycoding
Thu Sep 14, 2006 1:12 am
Forum: PSP Development
Topic: Is FAAD2 ported to PSP?
Replies: 0
Views: 1463

Is FAAD2 ported to PSP?

Hi all,

Is FAAD2 ported to PSP? I know FAAD2 is popular for MPEG4-AAC decoder and I am looking for MPEG4-AAC decoder on PSP.

Thanks!
by happycoding
Wed Sep 13, 2006 9:50 pm
Forum: PSP Development
Topic: Is it possible to write code to play .mp4 file on SONY PSP?
Replies: 0
Views: 1613

Is it possible to write code to play .mp4 file on SONY PSP?

Hi,

Is it possible to write code to play .mp4 file on SONY PSP 1.5? (.mp4 container, mpeg4 video codec and mpeg4 audio codec, 320x240)

Thanks!
by happycoding
Mon Mar 13, 2006 12:23 am
Forum: PSP Development
Topic: Does current PSPSDK support mmap function?
Replies: 1
Views: 1643

Does current PSPSDK support mmap function?

I've checked http://www.lookingglass3d.com/pspsdk/gl ... ml#index_m, and pspsdk doesn't support mmap function. Right? Who knows more details about it?
by happycoding
Wed Mar 01, 2006 12:33 pm
Forum: PSP Development
Topic: PMP Mod V1.02 / small mods
Replies: 254
Views: 1176745

Re: about sceIoDevctl()

malloc's original M4.02 also works and doesn't have the sceIoDevCtl function either I can not find malloc's original M4.02, but http://www.alex-berl.de/download/PMPMOD_1_01_M4g2_argandona_src.zip has sceIoDevCtl. The key problem is: When you *format* your MS by SONY PSP's format function, and click...
by happycoding
Fri Feb 24, 2006 5:46 pm
Forum: PSP Development
Topic: Wiki entry for PMP Mod 1.02 "PMP File Format"
Replies: 0
Views: 1794

Wiki entry for PMP Mod 1.02 "PMP File Format"

I've added an entry (http://en.wikipedia.org/wiki/PMP_Format) for PMP Mod 1.02 "PMP File Format" because someone (e.g. directshow filter for parsing .pmp) may need this spec. I am not the container inventor, so if you think it has error, please revise it or let me know. Thank you! EDIT. wi...
by happycoding
Fri Feb 24, 2006 11:07 am
Forum: PSP Development
Topic: PMP Mod V1.02 / small mods
Replies: 254
Views: 1176745

@Raphael I noticed you used "sceIoSync("msfat0:", 1)" and "sceIoDevctl("ms0:", 0x02425818, &pbuf, sizeof(pbuf), 0, 0)" to get the free space. But there are no *detailed* docs for the two functions: ----pspiofilemgr.h Line 383--- /** * Synchronise the file ...
by happycoding
Thu Feb 23, 2006 1:14 pm
Forum: PSP Development
Topic: PMP Mod V1.02 / small mods
Replies: 254
Views: 1176745

@therock003: I also liked the icon view very much, however it's harder to implement, since you need to open every video and generate the first frame to be used as icon and blit it scaled down on screen and all this for every screen refresh. At least the decode of the first frame is a problem for me...
by happycoding
Thu Feb 23, 2006 11:06 am
Forum: PSP Development
Topic: PMP Mod v2.02 & PMP Mod AVC v1.02
Replies: 1856
Views: 8852640

Is there a tool to split a big .pmp (e.g. 2GB) to 5 smalls?

I've downloaded a big .pmp file (e.g. 2GB) but my MS card is ony 512MB. I want to find a tool to split the big .pmp to 5 small .pmp files (400MB per file). Any suggestions?

Thank you!
by happycoding
Tue Feb 07, 2006 4:02 pm
Forum: PSP Development
Topic: Is it possible to use VFPU to optimize AVC IDCT job?
Replies: 17
Views: 11502

Thanks for Jonny's help that I find the ffmpeg's profile without mmx optimization for AVC baseline decoder. I think it has similar profile in PSP. Following is profile: Flat profile: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls ms/call ms/call n...
by happycoding
Mon Feb 06, 2006 2:39 pm
Forum: PSP Development
Topic: How to detect performance bottleneck?
Replies: 2
Views: 2366

Actually I am looking forward to the similar tool mentioned in http://forums.ps2dev.org/viewtopic.php?p=35127, which is for PS2. Has PSPSDK similar tool/feature?
by happycoding
Mon Feb 06, 2006 2:35 pm
Forum: PS2 Development
Topic: -pg gprof profiling library added to libc
Replies: 2
Views: 3441

Is it possible to port this into PSPSDK? It's exactly what I want in PSP! :P
by happycoding
Sun Feb 05, 2006 1:05 pm
Forum: PSP Development
Topic: Is it possible to use VFPU to optimize AVC IDCT job?
Replies: 17
Views: 11502

@jonny Thank you for your advice. I create Baseline Profile AVC clips and you PMP Mod 1.02 can decode "480*272 @400kbps" 15 fps smoothly but decode "480*272 @400kbps" 20 fps with stutter. Anyway, my goal is to let the 20fps-stutter clip be smoothly decoded by optimizing PMP Mod 1...
by happycoding
Sat Feb 04, 2006 10:09 pm
Forum: PSP Development
Topic: Is it possible to use VFPU to optimize AVC IDCT job?
Replies: 17
Views: 11502

@jsgf First of all, thank you very much for your reply!!! (1) I mean "* 1/64" is different with ">>6" and following is a sample. short a = -7136; float f = (float)a/64.0; // f is "-115.500" int i1 = f; // i1 is "-111" int i2 = a>>6; // i2 is &q...
by happycoding
Sat Feb 04, 2006 12:40 pm
Forum: PSP Development
Topic: Is it possible to use VFPU to optimize AVC IDCT job?
Replies: 17
Views: 11502

Is there a VFPU instruction for ">>1" ? Now I am using "vscl.q" to scale "0.5". If I want to ">>6", I can not "vscl.q" to scale "1/64.0" because of precision problem. (Maybe I should use "vdiv.q" to div "64" to keep prec...
by happycoding
Fri Feb 03, 2006 8:52 pm
Forum: PSP Development
Topic: Is it possible to use VFPU to optimize AVC IDCT job?
Replies: 17
Views: 11502

Thank you! Following is my code but it hangs up the PSP. :-( void ff_h264_idct_add_c&#40;uint8_t *dst, DCTELEM *block, int stride&#41;&#123; uint8_t *cm = cropTbl + MAX_NEG_CROP; block&#91;0&#93; += 1<<&#40;6-1&#41;; float block32&#91;16&#93;; int i; for&#40;i...
by happycoding
Fri Feb 03, 2006 12:19 pm
Forum: PSP Development
Topic: Is it possible to use VFPU to optimize AVC IDCT job?
Replies: 17
Views: 11502

@Raphael Thank you very much for your direction and I've found the paper "Low-Complexity Transform and Quantization in H.264/AVC"[1] for this issue. @jsgf Thank you very much for your code. Your code assumes block is (int *) type, but really it is (short *) type ("typedef short DCTELE...
by happycoding
Sun Jan 29, 2006 3:10 am
Forum: PSP Development
Topic: Is it possible to use VFPU to optimize AVC IDCT job?
Replies: 17
Views: 11502

Thank you very very much for your warm-hearted help!
by happycoding
Fri Jan 27, 2006 1:16 pm
Forum: PSP Development
Topic: Is it possible to use VFPU to optimize AVC IDCT job?
Replies: 17
Views: 11502

Is it possible to use VFPU to optimize AVC IDCT job?

Hi, I am working on optimizing "PMP Mod 1.01" for AVC decoder, and I noticed following functions[1] in PMP Mod 1.01\libavcodec\h264idct.c are cpu consuming. The only optimization I can find now is to expand loop (e.g. expand "for(i=1;i<8;i++) {foo(i)}" to "foo(1);foo(2);...;...
by happycoding
Wed Jan 25, 2006 1:18 am
Forum: PSP Development
Topic: How to detect performance bottleneck?
Replies: 2
Views: 2366

How to detect performance bottleneck?

I want to optimize "PMP Mod 1.01" for AVC decoder (it's only 8fps for 480*272 600kbps AVC now), and I know I can set two time counters (one for total run time, one for a target function's total run time) to try to catch the bottle neck function (eg. H264_decoder_frame). But I prefer to fin...
by happycoding
Sun Jan 22, 2006 9:24 pm
Forum: PSP Development
Topic: PMP Mod v2.02 & PMP Mod AVC v1.02
Replies: 1856
Views: 8852640

@wooolF Thank you for your reply. Following is Jonny's clarification in http://forums.ps2dev.org/viewtopic.php?t=4528&postdays=0&postorder=asc&start=30. ---------------------------- Posted: Wed Jan 04, 2006 1:04 am Post subject: i've tested x264, but not deeply. it can't be used in the c...