Hello
I want to change DM368 OSD Font, and I refer the document : SoftwareOSD_UserGuide_DM36X.pdf
The 5.7 tell me to use bin2c <Y Input file> <Output file>.
And how to get the <Y Input file>?
If any tool or method to create is?
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.
Hello
I want to change DM368 OSD Font, and I refer the document : SoftwareOSD_UserGuide_DM36X.pdf
The 5.7 tell me to use bin2c <Y Input file> <Output file>.
And how to get the <Y Input file>?
If any tool or method to create is?
Hi,
The Software OSD userguide mentions the details of how to create a font in the YUV format. Please refer to Section 6 (6.1, 6.2...). Basically, we have created a JPEG file of all the characters for a particular font. The sequence of characters in the JPEG have to match with the sequence mentioned in the interface file of SWOSD.
Then you can convert the JPEG into YUV files using the steps mentioned in Sec 6.
You can create your own YUV file by any other means that you have used earlier, or want to use.
Regards,
Anshuman
PS: Please mark this post as verified, if you think it has answered your question. Thanks.
Hi
I want to use the SWOSD API (SoftwareOSD_UserGuide_DM36x.pdf). for example, I used SWOSD_init function, but error has happened like "report undefined reference to SWOSD_init" when make_demos. what's the reason and how to call these API?
thanks to you!
dear :
i was fail in below condition .Please help to check it .
Conversion of YUV files to TEXT file:
These steps are needed to convert the binary data to a text form, so that it can be included in the software code as an
array. This way we can directly link the Y and UV data to the executable binary that uses SWOSD library.
Steps to convert Y and UV file to TEXT file:
1. Install bin2c tool, provided in the package.
2. Open the command prompt and go to the path where bin2c tool is installed. Ex: C:\Program Files\bin2c>
3. Then from the path give bin2c <YUV Input file> >output file>.
Ex: bin2c B1.yuv >C_YUV.c, convert the contents of C_YUV.c into an array of characters as shown below.
char <Array Name> [] = {
…………………
…………………
};
I canot create a normal C)YU
Conversion of YUV files to TEXT file:
These steps are needed to convert the binary data to a text form, so that it can be included in the software code as an
array. This way we can directly link the Y and UV data to the executable binary that uses SWOSD library.
Steps to convert Y and UV file to TEXT file:
1. Install bin2c tool, provided in the package.
2. Open the command prompt and go to the path where bin2c tool is installed. Ex: C:\Program Files\bin2c>
3. Then from the path give bin2c <YUV Input file> >output file>.
Ex: bin2c B1.yuv >C_YUV.c, convert the contents of C_YUV.c into an array of characters as shown below.
char <Array Name> [] = {
…………………
…………………
};. i can not create noraml C_YUV.c .The file is empty . Can you send me the file bin2c ?
i will double check it again....
Beck