📄 tech
字号:
2004 (C) Samsung ElectronicsAuthor :SW.LEE <hitchcar@sec.samsung.com>///////////////////////////////////////////////////Hardware/Software Environment///////////////////////////////////////////////////Target CPU : S3C2440A/S3C24A0ImageSensor: S5X532 Samsung Camera ///////////////////////////////////////////////////Software Architecture///////////////////////////////////////////////////-------------------------------------------------------------There is two kind version : General Character Device Driver and V4L2 Device Driver the souce code having V4L2 relation taken from 2.6 kernel & v4l2 patch.Filename: videodev.c videodev.c is smiliar one of V4L2 videodec.c and providing the multiplexing and multiple open/closeFilename :camif.c camif.c is direct interface to S3C24XX Camera InferfaceFigure: User Side (Open /dev/preview or /dev/codec) |____________|__________________________________________________ | | | videodev.c (one device interface): \ : choose /dev/preview or /dev/codec \ video_driver.c ( two minor device interface ) \ \ \ \ v42api.c sharpapi.c (Sharp Zaurus Inteface ) \ \ \ \ \_________\________________________________________ \ \ \ \ \ \ \ \ \ \ \ image sensor \ camif.c ( S3C2440A/S3C24A0 Hardware) \ \ \ \ ov7620 s5x532Filename : videodev.c1. Purpose : registered the MISC driver. (module driver)Filename : vide-driver.c camera driver module (module driver)Filename : camif.c camera HW API library (object file)Filename : imgsensor.c(s5x532) i2c client device dirver (module driver)///////////////////////////////////ETC/////////////////////////////////////// 1. register video device (Ref source file: drivers/char/wdt.c ) misc register -- two minor device video_register_device CODEC_MINOR = 212 PREVIEW_MINOR = 213 2. Image Convert Function Point (16bit Interface must be inserted for S3C24A0) format defined.--> camif_get_frame()/////////////////////////////////////Todo List////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -