• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Multimedia Software Codecs » Multimedia Software Codecs forum » DM368 mjpeg decoder with XDM_YUV_420SP output
Share
Multimedia Software Codecs
  • Forum
Options
  • Subscribe via RSS

Forums

DM368 mjpeg decoder with XDM_YUV_420SP output

This question is not answered
Chengping Huo
Posted by Chengping Huo
on May 14 2012 23:43 PM
Prodigy115 points

Hi,

My codec is jpegdec 1.0.0.10, and jpeg image is 1920x1080.

When I set forceChromaFormat to XDM_YUV_422ILE, the output image is good. Because the display buf is YUV420PSEMI, so I want a YUV420 output from the jpeg deocder. But, when I set forceChromaFormat to XDM_YUV_420SP, the output image have l lot of small dark blocks in random position.

Best regards,

Huo

 

 

DM368 jpegdec
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • RSV Prasad
    Posted by RSV Prasad
    on May 15 2012 04:29 AM
    Intellectual365 points

    Hi Huo,

    Are you using DVSDK? If yes, may I know which version you are using?

    Regards, RSV

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Chengping Huo
    Posted by Chengping Huo
    on May 15 2012 06:06 AM
    Prodigy115 points

    Hi RSV,

    Thansk for you reply!

    I'm using dvsdk_2_10_00_17, and had updated newest codecs from TI website.

    Regards, Huo

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jimmy Huang
    Posted by Jimmy Huang
    on Jul 26 2012 11:08 AM
    Prodigy50 points

    Hi Chengping,

    I am having the same problem with forceChromaFormat set to XDM_YUV_420SP when decoding a 1920x1080 jpeg file.  It appears the small random dark blocks are on the Y planar only.  I am wondering if you have solved the problem.

    The problem still exists even I tried decoding the 1920x1080 JPEG file captured using XDM's jpegenc (01_00_00_09) with inputChromaFormat set to XDM_YUV_420SP.

    Regards,

    Jimmy

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jimmy Huang
    Posted by Jimmy Huang
    on Aug 31 2012 16:15 PM
    Prodigy50 points

    Finally found a workaround to get those random dark blocks (see attached picture) removed from the luma planar of the jpeg decoder output.  It turns out that I had to turn off V4L2 capture (by issuing VIDIOC_STREAMOFF ioctl call) and waited for a few hundred milliseconds before starting the JPEG decoder.  I don't know how V4L2 capture and JPEG decoder got related to each other to cause conflicts.  Maybe TI engineers can take a look into it.

    Jimmy

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Chengping Huo
    Posted by Chengping Huo
    on Sep 02 2012 10:19 AM
    Prodigy115 points

    I have not fixed this issue. I guess this is a bug in TI mjpeg decoder.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ByungJun Han
    Posted by ByungJun Han
    on Sep 11 2012 22:55 PM
    Prodigy20 points

    I have the same problem with forceChromaFormat set to XDM_YUV_420SP when decoding a 1280x720 jpeg file(DM368)

    How to resolve this problem?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • RSV Prasad
    Posted by RSV Prasad
    on Sep 12 2012 02:20 AM
    Intellectual365 points

    Can you please provide input JPEG file?

    Regards, RSV

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ByungJun Han
    Posted by ByungJun Han
    on Sep 12 2012 05:51 AM
    Prodigy20 points

    I think All jpeg files have the same problem(random small block).

    We are using captured jpeg file(720P) from HDMI input.

    This problem appears Jpeg decoder forceChromaFormat value only set to XDM_YUV_420SP(forceChromaFormat).

    Attached file is sample file(1280x720). If do not appear this problem, plz test repeatly.

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • zanget
    Posted by zanget
    on Nov 23 2012 00:28 AM
    Expert1840 points

    hi, all

    i want to ask if you got this problem solved.

    i got the same problem as you did.

    regards, Mike

    Thanks.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • zanget
    Posted by zanget
    on Dec 10 2012 19:28 PM
    Expert1840 points

    the jpegdec codec versioin is just the newest one, say 1.00.00.10 as you can see here http://software-dl.ti.com/dsps/dsps_public_sw/codecs/DM36x/index_FDS.html

    i have done 800*480 jpegdec and i believe the input buff is the same as the file we can see in Windows.

    it's random thing when i have don 100 times jpegdec and just found the black block about 10 times.

    it's very annoy and need your help.

    regards, Mike

    thanks in advance

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Veeranna Hanchinal
    Posted by Veeranna Hanchinal
    on Feb 08 2013 00:13 AM
    Expert5315 points

    Hi,

    We are trying to reproduce the issue at our end using standalone testapp provided with MJPEG decoder release package, but we are seeing the issue. Can you help us to reproduce it.

    We wanted know which environment corruption is visible? in system along with JPEG decoder is anything else running ? like capture or streaming thread which uses shared resources.

    Have you tried running in standalone? are you seeing the issue here?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jimmy Huang
    Posted by Jimmy Huang
    on Feb 09 2013 01:56 AM
    Prodigy50 points

    Hi Veeranna,

    Thanks for taking the time to investigate the problem.

    In my case, I have both JPEG encoder and decoder instantiated sharing the resources (using the same SCRATCH_GROUP_ID). Only one of them runs at a time. The problem exists only when decoding an image of format YUV_420SP.

    Let me know if you need more information.

    Thanks,

    Jimmy

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Veeranna Hanchinal
    Posted by Veeranna Hanchinal
    on Apr 08 2013 08:21 AM
    Expert5315 points
    libjpgdec.a.txt
    We did the fix and sharing the testlib as attachment here.
    Please remove .txt from attached and run JPEG decoder with this lib. Let us know your observations.
     
    Thanks,
    Veeranna
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • zanget
    Posted by zanget
    on Apr 15 2013 02:02 AM
    Expert1840 points

    hi, Veeranna.

    when will it be released? i saw it's still Version 1.00.00.10 here http://software-dl.ti.com/dsps/dsps_public_sw/codecs/DM36x/index_FDS.html

    im looking forward to see it.

    regards, Mike

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Veeranna Hanchinal
    Posted by Veeranna Hanchinal
    on Apr 15 2013 05:50 AM
    Expert5315 points

    Hello Mike,

    Is artifact issue got solved with attached lib in previous post?. after fix we are not seeing the artifacts at our end. If you test with lib and conforms about the fix we will do final release.

    Thanks,

    Veeranna

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use