diff options
Diffstat (limited to 'modules/avcodec/h263.c')
-rw-r--r-- | modules/avcodec/h263.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/modules/avcodec/h263.c b/modules/avcodec/h263.c index 7e29ecd..5ee016e 100644 --- a/modules/avcodec/h263.c +++ b/modules/avcodec/h263.c @@ -110,7 +110,14 @@ int h263_hdr_decode(struct h263_hdr *hdr, struct mbuf *mb) } -/** Find PSC (Picture Start Code) in bit-stream */ +/** + * Find PSC (Picture Start Code) in bit-stream + * + * @param p Input bit-stream + * @param size Number of bytes in bit-stream + * + * @return Pointer to PSC if found, otherwise NULL + */ const uint8_t *h263_strm_find_psc(const uint8_t *p, uint32_t size) { const uint8_t *end = p + size - 1; @@ -157,7 +164,12 @@ int h263_strm_decode(struct h263_strm *s, struct mbuf *mb) } -/** Copy H.263 bit-stream to H.263 RTP payload header */ +/** + * Copy H.263 bit-stream to H.263 RTP payload header + * + * @param hdr H.263 header to be written to + * @param s H.263 stream header + */ void h263_hdr_copy_strm(struct h263_hdr *hdr, const struct h263_strm *s) { hdr->f = 0; /* Mode A */ |