?? buffer_8h.html
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>VLSI Solution Oy Evaluation MP3 Player Source Code Documentation</title><link href="doxygen.css" rel="stylesheet" type="text/css"><img src="vlsi_small.gif" hspace="20" bordercolor="#ffffff" alt="VLSI Solution Oy"><b>VLSI Solution Oy Evaluation MP3 Player Source Code Documentation</b><p></p></head><body><!-- Generated by Doxygen 1.3.7 --><div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div><h1>buffer.h File Reference</h1>Global buffer for file I/O. <a href="#_details">More...</a><p><p>This graph shows which files directly or indirectly include this file:<p><center><img src="buffer_8h__dep__incl.png" border="0" usemap="#buffer.hdep_map" alt="Included by dependency graph"></center><map name="buffer.hdep_map"><area href="buffer_8c.html" shape="rect" coords="52,93,100,117" alt=""><area href="filesys_8h.html" shape="rect" coords="124,93,179,117" alt=""><area href="filesys_8c.html" shape="rect" coords="6,18,62,42" alt=""><area href="player_8c.html" shape="rect" coords="86,18,140,42" alt=""><area href="record_8c.html" shape="rect" coords="164,18,217,42" alt=""><area href="vs10xx_8c.html" shape="rect" coords="241,18,299,42" alt=""><area href="mmc_8c.html" shape="rect" coords="203,93,251,117" alt=""><area href="storage_8c.html" shape="rect" coords="275,93,337,117" alt=""></map><p><a href="buffer_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Classes</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>union </td><td class="memItemRight" valign=bottom><a class="el" href="unionDirRecordUnion.html">DirRecordUnion</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">FAT/VFAT directory record union. <a href="unionDirRecordUnion.html#_details">More...</a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structDirRecordUnion_1_1Entry.html">DirRecordUnion::Entry</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Standard directory entry. <a href="structDirRecordUnion_1_1Entry.html#_details">More...</a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structDirRecordUnion_1_1LongEntry.html">DirRecordUnion::LongEntry</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Extended directory entry. <a href="structDirRecordUnion_1_1LongEntry.html#_details">More...</a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>union </td><td class="memItemRight" valign=bottom><a class="el" href="unionDiskBlock.html">DiskBlock</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Disk Block type including RAW data and FAT deciphering structures. <a href="unionDiskBlock.html#_details">More...</a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structDiskBlock_1_1Fat.html">DiskBlock::Fat</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Boot Sector / Bios Parameter Block structure. <a href="structDiskBlock_1_1Fat.html#_details">More...</a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>union </td><td class="memItemRight" valign=bottom><a class="el" href="unionDiskBlock_1_1Fat_1_1Extensions.html">DiskBlock::Fat::Extensions</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">FAT type specific extensions. <a href="unionDiskBlock_1_1Fat_1_1Extensions.html#_details">More...</a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structDiskBlock_1_1Fat_1_1Extensions_1_1Fat16Specific.html">DiskBlock::Fat::Extensions::Fat16Specific</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">FAT12/16 specific extensions to Bios Parameter Block. <a href="structDiskBlock_1_1Fat_1_1Extensions_1_1Fat16Specific.html#_details">More...</a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structDiskBlock_1_1Fat_1_1Extensions_1_1Fat32Specific.html">DiskBlock::Fat::Extensions::Fat32Specific</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">FAT32 specific extensions to Bios Parameter Block. <a href="structDiskBlock_1_1Fat_1_1Extensions_1_1Fat32Specific.html#_details">More...</a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structDiskBlock_1_1Raw.html">DiskBlock::Raw</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structDiskBlock_1_1Raw.html">Raw</a> Data (interpret sector as array of 8-bit chars). <a href="structDiskBlock_1_1Raw.html#_details">More...</a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>union </td><td class="memItemRight" valign=bottom><a class="el" href="unionAddress.html">Address</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">32-bit data type that is also "byte addressable". <a href="unionAddress.html#_details">More...</a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structAddress_1_1B.html">Address::B</a></td></tr><tr><td colspan=2><br><h2>Typedefs</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>typedef unsigned char </td><td class="memItemRight" valign=bottom><a class="el" href="buffer_8h.html#a0">byte</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">8 bits, unsigned <a href="#a0"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>typedef unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="buffer_8h.html#a1">word</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">16 bits (make sure!), unsigned <a href="#a1"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>typedef unsigned long </td><td class="memItemRight" valign=bottom><a class="el" href="buffer_8h.html#a2">u_32</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">32 bits (make sure!), unsigned <a href="#a2"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="unionDirRecordUnion.html">DirRecordUnion</a> </td><td class="memItemRight" valign=bottom><a class="el" href="buffer_8h.html#a3">dirrecordtype</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">FAT/VFAT directory record type. <a href="#a3"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="unionDiskBlock.html">DiskBlock</a> </td><td class="memItemRight" valign=bottom><a class="el" href="buffer_8h.html#a4">DiskBlockType</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Disk Block type including RAW data and FAT deciphering structures. <a href="#a4"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="unionAddress.html">Address</a> </td><td class="memItemRight" valign=bottom><a class="el" href="buffer_8h.html#a5">addressType</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="unionAddress.html">Address</a> type. <a href="#a5"></a><br><br></td></tr><tr><td colspan=2><br><h2>Variables</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="unionAddress.html">addressType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="buffer_8h.html#a6">sectorAddress</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Dirty but powerful global variable that is used for 1) remembering which sector is in the RAM disk buffer diskSect and 2) possibly other weird and dirty purposes, be very careful with this! <a href="#a6"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>xdata <a class="el" href="unionDiskBlock.html">DiskBlockType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="buffer_8h.html#a7">diskSect</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">File I/O buffer. <a href="#a7"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>xdata unsigned char * </td><td class="memItemRight" valign=bottom><a class="el" href="buffer_8h.html#a8">dataBufPtr</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Global Data Buffer pointer Used mainly for filling the buffer and reading MP3 data to send to the codec, be very careful with what you do with this global pointer! <a href="#a8"></a><br><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Global buffer for file I/O. <p>Supported data types: Raw buffer, FAT entries.<p>Definition in file <a class="el" href="buffer_8h-source.html">buffer.h</a>.<hr><h2>Typedef Documentation</h2><a class="anchor" name="a5" doxytag="buffer.h::addressType" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef union <a class="el" href="unionAddress.html">Address</a> <a class="el" href="unionAddress.html">addressType</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><a class="el" href="unionAddress.html">Address</a> type. <p><p>Definition at line <a class="el" href="buffer_8h-source.html#l00139">139</a> of file <a class="el" href="buffer_8h-source.html">buffer.h</a>.<p>Referenced by <a class="el" href="aviplay_8c-source.html#l00015">GetAVIBlock()</a>. </td> </tr></table><a class="anchor" name="a0" doxytag="buffer.h::byte" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef unsigned char <a class="el" href="buffer_8h.html#a0">byte</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>8 bits, unsigned <p><p>Definition at line <a class="el" href="buffer_8h-source.html#l00009">9</a> of file <a class="el" href="buffer_8h-source.html">buffer.h</a>. </td> </tr></table><a class="anchor" name="a3" doxytag="buffer.h::dirrecordtype" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef union <a class="el" href="unionDirRecordUnion.html">DirRecordUnion</a> <a class="el" href="unionDirRecordUnion.html">dirrecordtype</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>FAT/VFAT directory record type. <p><p>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -