h.264
来自「H.264编码解码器源码(c语言版本)」· 264 代码 · 共 45 行
264
45 行
/*!
************************************************************************
* \file nalu.c
*
* \brief
* Decoder NALU support functions
*
* \author
* Main contributors (see contributors.h for copyright, address and affiliation details)
* - Stephan Wenger <stewe@cs.tu-berlin.de>
************************************************************************
*/
#include <assert.h>
#include "global.h"
#include "nalu.h"
/*!
*************************************************************************************
* \brief
* Converts a NALU to an RBSP
*
* \param
* nalu: nalu structure to be filled
*
* \return
* length of the RBSP in bytes
*************************************************************************************
*/
int NALUtoRBSP (NALU_t *nalu)
{
assert (nalu != NULL);
nalu->len = EBSPtoRBSP (nalu->buf, nalu->len, 1) ;
return nalu->len ;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?