Commit 04b6f91f authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

started implementing lseek

parent b844e2fa
This diff is collapsed.
...@@ -38,3 +38,5 @@ int frames_in_buffer_minus_one (int num_sensor); ...@@ -38,3 +38,5 @@ int frames_in_buffer_minus_one (int num_sensor);
void memchan_enable (int chn, int enable); void memchan_enable (int chn, int enable);
void set_memchannel_priority (int chn, u16 priority); void set_memchannel_priority (int chn, u16 priority);
u16 get_memchannel_priority (int chn); u16 get_memchannel_priority (int chn);
loff_t videomem_lseek (struct file * file, loff_t offset, int orig);
...@@ -1552,6 +1552,9 @@ struct p_names_t { ...@@ -1552,6 +1552,9 @@ struct p_names_t {
#define LSEEK_FSDRAM_RESET 0x01 // re-program FSDRAM (to be programmed again when accessed) #define LSEEK_FSDRAM_RESET 0x01 // re-program FSDRAM (to be programmed again when accessed)
// Videomem/raw image commands
#define LSEEK_VIDEOMEM_START 0x10 // setup and start membridge transfer
#define JPEG_CTRL_MONOCHROME 0x400 #define JPEG_CTRL_MONOCHROME 0x400
#define JPEG_CTRL_MONOCHROME_BLOCKED 0x1000 #define JPEG_CTRL_MONOCHROME_BLOCKED 0x1000
#define JPEG_CTRL_NOMOSAIC 0x1000 #define JPEG_CTRL_NOMOSAIC 0x1000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment