1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

miracle-dispd: extract encoder from dispd, part 2

Change-Id: Ie61daa87a83b875013c525fe3f15222bf9057926
This commit is contained in:
Derek Dai 2017-04-21 08:58:35 +08:00
parent f1f5ee2385
commit dbe5ea612a
6 changed files with 270 additions and 529 deletions

View file

@ -61,7 +61,7 @@ const struct wfd_session_vtable session_vtbl[] = {
}
};
static inline int wfd_session_do_request(struct wfd_session *s,
static int wfd_session_do_request(struct wfd_session *s,
enum rtsp_message_id id,
const struct wfd_arg_list *args,
struct rtsp_message **out)
@ -78,7 +78,7 @@ static inline int wfd_session_do_request(struct wfd_session *s,
return (*s->rtsp_disp_tbl[id].request)(s, args, out);
}
static inline int wfd_session_do_handle_request(struct wfd_session *s,
static int wfd_session_do_handle_request(struct wfd_session *s,
enum rtsp_message_id id,
struct rtsp_message *req,
struct rtsp_message **out_rep)
@ -97,7 +97,7 @@ static inline int wfd_session_do_handle_request(struct wfd_session *s,
out_rep);
}
static inline int wfd_session_do_handle_reply(struct wfd_session *s,
static int wfd_session_do_handle_reply(struct wfd_session *s,
enum rtsp_message_id id,
struct rtsp_message *m)
{
@ -112,7 +112,7 @@ static inline int wfd_session_do_handle_reply(struct wfd_session *s,
return (*s->rtsp_disp_tbl[id].handle_reply)(s, m);
}
uint64_t wfd_session_get_id(struct wfd_session *s)
unsigned int wfd_session_get_id(struct wfd_session *s)
{
return s->id;
}