Changeset 4157 for pjproject/trunk/pjmedia/src/pjmedia-videodev/sdl_dev.c
- Timestamp:
- Jun 6, 2012 9:37:25 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-videodev/sdl_dev.c
r4078 r4157 77 77 0xFF0000, 0xFF00, 0xFF, 0} , 78 78 79 {PJMEDIA_FORMAT_YUY2, SDL_ YUY2_OVERLAY, 0, 0, 0, 0} ,80 {PJMEDIA_FORMAT_UYVY, SDL_ UYVY_OVERLAY, 0, 0, 0, 0} ,81 {PJMEDIA_FORMAT_YVYU, SDL_ YVYU_OVERLAY, 0, 0, 0, 0} ,82 {PJMEDIA_FORMAT_I420, SDL_ IYUV_OVERLAY, 0, 0, 0, 0} ,83 {PJMEDIA_FORMAT_YV12, SDL_ YV12_OVERLAY, 0, 0, 0, 0} ,84 {PJMEDIA_FORMAT_I420JPEG, SDL_ IYUV_OVERLAY, 0, 0, 0, 0} ,85 {PJMEDIA_FORMAT_I422JPEG, SDL_ YV12_OVERLAY, 0, 0, 0, 0} ,79 {PJMEDIA_FORMAT_YUY2, SDL_PIXELFORMAT_YUY2, 0, 0, 0, 0} , 80 {PJMEDIA_FORMAT_UYVY, SDL_PIXELFORMAT_UYVY, 0, 0, 0, 0} , 81 {PJMEDIA_FORMAT_YVYU, SDL_PIXELFORMAT_YVYU, 0, 0, 0, 0} , 82 {PJMEDIA_FORMAT_I420, SDL_PIXELFORMAT_IYUV, 0, 0, 0, 0} , 83 {PJMEDIA_FORMAT_YV12, SDL_PIXELFORMAT_YV12, 0, 0, 0, 0} , 84 {PJMEDIA_FORMAT_I420JPEG, SDL_PIXELFORMAT_IYUV, 0, 0, 0, 0} , 85 {PJMEDIA_FORMAT_I422JPEG, SDL_PIXELFORMAT_YV12, 0, 0, 0, 0} 86 86 }; 87 87 … … 1419 1419 1420 1420 #ifdef _MSC_VER 1421 # pragma comment( lib, "sdl.lib") 1421 # if SDL_VERSION_ATLEAST(2,0,0) 1422 # pragma comment( lib, "sdl2.lib") 1423 # elif SDL_VERSION_ATLEAST(1,3,0) 1424 # pragma comment( lib, "sdl.lib") 1425 # endif 1422 1426 # if PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL 1423 1427 # pragma comment(lib, "OpenGL32.lib")
Note: See TracChangeset
for help on using the changeset viewer.