- 博客(6)
- 收藏
- 关注
原创 获取NAL_UNIT的RBSP数据
主文件#include "Nal_Unit.h"/* ebsp 转化为rbsp */static int nal_unit_ebsp_to_rbsp(char (*QueueBuf)[],int *pos){ int IsExtended = 0; /* 寻找ebsp流中是否存在00 00 03字符,如果存在则需要将其03去除,从而转化为rbsp */ if(((*QueueBuf)[((*pos)+0)%3] == 0) && ((*QueueBuf)[
2022-04-24 15:41:50
767
原创 指数哥伦布编码
#include "columb_ue.h"/* 读取单个字节中的位 */static unsigned char read_bit(const char *arr,int index,int *Bytes){ unsigned char mask = (1 << index); unsigned char val = 0; val = (mask & arr[Bytes]); return val;}/* 无符号指数哥伦布编码 */static voi
2022-04-19 17:02:22
151
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人