|
|

楼主 |
发表于 2006-5-8 17:53:22
|
显示全部楼层
已经有了Jpeg.cpp和Jpeg.h的源码。只是这里的 otherhardare.cpp不知道,只有otherhardware.o没有源码。
- [root@root Jpeg]# ls
- a.out otherhardare.h otherhardare.cpp jpeg.cpp jpeg.h main.cpp
- [root@root Jpeg]# vi main.cpp
- #include <stdio.h>
- #include "otherhardare.h"
- #include "jpeg.h"
- static OtherHardware *pHardware;
- void ShowJpeg(char *, OtherHardware *, int );
- int main(int argc, char *argv[])
- {
- ...
- ShowJpeg(argv[1], 1);
- ...
-
- return 1;
- }
- void ShowJpeg(char *pChar, int pInt)
- {
- ...
- fd = display_jpeg_image_fullscreen (filePath, pHardware, clearbuffer);
- ...
- pHardware->ZoomWindow (0, 0, 720, 576);
- ...
- }
复制代码
不知道ZoomWindow()是怎样的实现,请指教。 |
|