1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
5<meta http-equiv="Content-Style-Type" content="text/css" />
6<title>SSP_CreateBmpFile</title>
7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" />
8</head>
9<body>
10
11<h1>SSP_CreateBmpFile <img src="../../image/NTR.gif" align="middle"><img src="../../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13
14<pre><code>
15u32 SSP_CreateBmpFile(const void* src, void* dst, u16 width, u16 height, SSPConvertBmpType type);
16</code></pre>
17
18<h2>Arguments</h2>
19<table style="width:100%">
20<tbody>
21<tr>
22<td style="width:13%"><em><strong>src</strong></em></td>
23<td style="width:87%">Input data (YUV422 or RGB555 format).</td>
24</tr>
25<tr>
26<td style="width:13%"><em><strong>dst</strong></em></td>
27<td style="width:87%">Buffer to store the created BMP file.</td>
28</tr>
29<tr>
30<td style="width:13%"><em><strong>width</strong></em></td>
31<td style="width:87%">Image width. This must be a multiple of 2.</td>
32</tr>
33<tr>
34<td style="width:13%"><em><strong>height</strong></em></td>
35<td style="width:87%">Image height.</td>
36</tr>
37<tr>
38<td style="width:13%"><em><strong>type</strong></em></td>
39<td style="width:87%">Input data type (<CODE>SSP_BMP_YUV422</CODE> or <CODE>SSP_BMP_RGB555</CODE>).</td>
40</tr>
41</tbody>
42</table>
43
44
45<h2>Return Values</h2>
46<p>Returns the size of the created BMP file.</p>
47
48<h2>Description</h2>
49<p>
50Creates a BMP file from YUV422- or RGB555-format image data. The created BMP file is a Windows bitmap. The image width must be a multiple of 2.
51</p>
52
53<h2>Revision History</h2>
54<p>
552009/04/23 Initial version.
56</p>
57<hr><p>CONFIDENTIAL</p></body>
58</html>
59