Forum: Official MyPS2 English Forum - Official English language discussion forum for MyPS2 by NTBA2.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: LIBJPG updated/Solve all unsupported jpg problem/Anyone help to recompile Myps2
  

Results 1 to 2 of 2
  1. #1 LIBJPG updated/Solve all unsupported jpg problem/Anyone help to recompile Myps2 
    hip203 is offline ahat we are is what we were
    Join Date
    Sep 2004
    Location
    malaysia
    Posts
    149
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0

    PostPosted: Tue Jul 11, 2006 7:18 am Post subject: Libjpg improvement Reply with quote
    Hey.

    Are you interested by a libjpg improvement.

    I worked on a jpg viewer for ULE, and saw lot of jpg were not supported.
    So i decided to take a look at libjpg.
    And made some changes and wrote a new fonction call "jpgData *jpgOpenFILE(FILE *in_file, int mode)".

    That work like "jpgData *jpgOpenRAW(u8 *data, int mode)" fonction, but need a FILE pointer for decompression.
    You just need to open the file with fopen in your main prog and call the new fonction.

    That solve all unsupported jpg problem.

    Best regards

    Polo
    Refer thread:http://forums.ps2dev.org/viewtopic.p...7a0d682e21e02d


    Make file:
    Code:

    diff -ur libjpg/Makefile libjpg1/Makefile
    --- libjpg/Makefile 2006-07-27 23:26:03.187500000 +0200
    +++ libjpg1/Makefile 2006-07-14 10:58:36.890625000 +0200
    @@ -7,7 +7,7 @@
    jcsample.o jchuff.o jcphuff.o jcdctmgr.o jfdctfst.o jfdctflt.o \
    jfdctint.o
    # decompression library object files
    -DLIBOBJECTS= jdapimin.o jdapistd.o jdatasrc.o jdtrans.o jdmaster.o \
    +DLIBOBJECTS= jdapimin.o jdapistd.o jdtrans.o jdmaster.o \
    jdinput.o jdmarker.o jdhuff.o jdphuff.o jdmainct.o jdcoefct.o \
    jdpostct.o jddctmgr.o jidctfst.o jidctflt.o jidctint.o jidctred.o \
    jdsample.o jdcolor.o jquant1.o jquant2.o jdmerge.o
    @@ -15,7 +15,7 @@
    LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)

    EE_INCS = -I$(LIBJPG)/include -I.
    -EE_LIB = libjpg.a
    +EE_LIB = lib/libjpg.a
    EE_OBJS = libjpg.o $(LIBOBJECTS)
    Reply With Quote  

  2. #2  
    hip203 is offline ahat we are is what we were
    Join Date
    Sep 2004
    Location
    malaysia
    Posts
    149
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Message for the source is here ...
    latest libjpg is in launch elf 3.81 source
    Attached Files
    Reply With Quote  

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •