Hardware video decoder?

Discussion in '3DS - Homebrew Development and Emulators' started by Peanut42, Oct 19, 2015.

  1. Peanut42
    OP

    Peanut42 Member

    Newcomer
    30
    34
    Jun 27, 2015
    Mexico
    Hi!

    I want to send a stream of images to my Nintendo 3DS, but, before writting any code, I was thinking how I can get a good framerate through Wi-Fi. The chanllenge is send both top and bottom screens, so the bytes needed are as follow:

    Bottom screen = 320 x 240 x 3 bytes = 230400 bytes
    Top screen = 400 x 240 x 3 bytes = 288000 bytes

    So, is a total of 518400 bytes (507 KiB). I will be sending 24 x 500 KB byes every second, so I want to reduce the amount of bytes sent. I would like to reduce it, by encoding the images, or "video", using a native video hardware decoder for the nintendo 3DS.

    Does the Nintendo 3DS have a native hardware decoder or something as fast as possible?
     
  2. Megalegacy98

    Megalegacy98 ( ͡° ͜ʖ ͡°)™

    Member
    505
    259
    Aug 11, 2015
    United States
    Just around the corner™
    The O3DS does not have a native hardware decoder. The N3DS does though.
     
  3. VinsCool

    VinsCool Comfortably Numb

    Member
    GBAtemp Patron
    VinsCool is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,861
    28,373
    Jan 7, 2014
    Canada
    Another World
    Hmm care to explain? I didn't know that.
     
  4. Steveice10

    Steveice10 GBAtemp Maniac

    Member
    1,102
    1,657
    Jul 19, 2009
    United States
    Megalegacy98 and VinsCool like this.
  5. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,546
    3,953
    Jun 9, 2007
    Antarctica
    http://3dbrew.org/wiki/MVD_Services

    I don't think 3dbrew mentions what kind of chip is actually behind it, though.

    Edit: Jinx. Steve beat me to it.
     
    VinsCool likes this.
  6. Peanut42
    OP

    Peanut42 Member

    Newcomer
    30
    34
    Jun 27, 2015
    Mexico
    So, stupid Nintendo make better hardware, more faster, with more features on the N3DS. I hate you so much Nintendo and yes, I have an O3DS.

    For all in the thread, I was thinking then in compressing with a simple Deflate algorithm.

    And just to be clear, Old3DS doesn't have hardware video decoder; BUT New3DS does.

    Edit: Thanks for a quick response guys.
     
    Last edited by Peanut42, Oct 19, 2015
  7. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    If you want to use CPU decoding to not broke O3DS compatibility, you should take a look to JPGV format i wrote, it's a video format optimized for 3DS which have a basic compression algorithm (MJPEG as videocodec and Vorbis as audiocodec):

    Info + PC Encoder: https://github.com/Rinnegatamante/lpp-3ds/tree/master/JPGV
    3DS Decoder: https://github.com/Rinnegatamante/lpp-3ds/blob/master/source/luaVideo.cpp
    3DS Video Player: http://gbatemp.net/threads/release-sunshell-a-powerfull-shell-for-3ds.382483/
     
  8. Peanut42
    OP

    Peanut42 Member

    Newcomer
    30
    34
    Jun 27, 2015
    Mexico
    Excelent idea. I will try it later.
     
  9. the assaf

    the assaf GBAtemp Fan

    Member
    485
    155
    Jun 2, 2013
    Yellows8 actually wrote streaming homebrew at github, it called something like ctr-streamer
     
    Selim873 likes this.
  10. hippy dave

    hippy dave Butts Butts Megabutts

    Member
    2,587
    1,802
    Apr 30, 2012
    What utter dicks, they should have released a new model that was worse than the old one instead.