This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

about yuv422 image issue!

hi,everyone!

1, I capture yuv422 format image with DM355,
Image resolution is 2048x960,  Image size around 3M,I open this image with yuv tools.Prompt error“beyond image frame number"or“can't creatdisplaywindows()",
Are there any yuv tools able to preview this yuv422 format images?

2,I  encode  the above YUV422 format image with jpegenc procedure,Output jpeg file!
However, prompt error message“cmem error :not fit memory, can't open jpegenc engine",
Is there any way to solve this problem?

any help and suggest would be appreciate!

Thanks!

  • winkyxiao said:
    1, I capture yuv422 format image with DM355,
    Image resolution is 2048x960,  Image size around 3M,I open this image with yuv tools.Prompt error“beyond image frame number"or“can't creatdisplaywindows()",
    Are there any yuv tools able to preview this yuv422 format images?

    There are a lot of tools out there for viewing the YUV422 files on a host PC, you may want to try a few looking through google. One I have seen work well is the Elecard YUV viewer, though this has a cost to it outside of the trial version.

    winkyxiao said:
    2,I  encode  the above YUV422 format image with jpegenc procedure,Output jpeg file!
    However, prompt error message“cmem error :not fit memory, can't open jpegenc engine",
    Is there any way to solve this problem?

    There is normally more to this sort of error message, in particular the sizes of the pools that are being requested and not fitting in the CMEM pools that are already created which can give you an idea of how much you need to change the CMEM allocation. To fix this you would likely have to increase the size of the pools that CMEM has available to the application, in particular you can increase the values by modifying the loadmodules.sh script which inserts the CMEM module.

  • To Winky:

    you must modified buffer size in loadmodule.sh when loading cmem.ko

     

    To Bernie:

    jpeg encoder doesn't support YUV422P image format as input source, is there any way to handle YUV422P in jpeg encoding procedure?

  • Winky,

    FYI, I believe I just addressed this thry another post of yours: http://community.ti.com/forums/p/3885/14555.aspx#14555; although if Bernie has other suggestion, it could certainly help.

  •   hi,all!
    Thank you for your reply, thank juan gonzales! I was troubled this question at  today, I am glad to read this post! Ha ha!

    thanks everyone!

  • hi,everyone!
    Thank  everyone reply, my problem has been resolved!,Ha ha!

    to kenzo:

    jpeg encoder can support YUV422P(YUV 422 Progressive) image format as input source!

    I generate JPEG picture with jpegenc demo procedures!image perfect!
    Unless you are  incorrect  yuv422P format !