mirror of
https://github.com/pvvx/RTL00MP3.git
synced 2025-07-31 12:41:06 +00:00
add
This commit is contained in:
parent
3c4de184c7
commit
265d41b6a3
15 changed files with 4684 additions and 1185 deletions
25
RTL00_SDKV35a/component/common/example/uvc/example_uvc.h
Normal file
25
RTL00_SDKV35a/component/common/example/uvc/example_uvc.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#ifndef EXAMPLE_UVC_H
|
||||
#define EXAMPLE_UVC_H
|
||||
|
||||
#include <platform/platform_stdlib.h>
|
||||
#include "platform_opts.h"
|
||||
#include "dlist.h"
|
||||
#include "osdep_api.h"
|
||||
|
||||
#define UVC_RTSP_EN 1
|
||||
|
||||
//example structure to handle rtp_object operation in queue
|
||||
struct rtp_payload_queue
|
||||
{
|
||||
struct list_head wait_queue;
|
||||
_Mutex wait_mutex;
|
||||
struct list_head done_queue;
|
||||
_Mutex done_mutex;
|
||||
_Sema wait_sema; //up it whenever a rtp payload queue in wait_queue
|
||||
_Sema done_sema; //up it whenever a rtp payload queue in done_queue
|
||||
int flush_err;
|
||||
};
|
||||
|
||||
void example_uvc(void);
|
||||
|
||||
#endif /* EXAMPLE_UVC_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue