Searched refs:nalu_header (Results 1 - 2 of 2) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A D | mediacodecdec.c | 77 static const uint8_t nalu_header[] = { 0x00, 0x00, 0x00, 0x01 }; in h2645_ps_to_nalu() local 83 p = av_malloc(sizeof(nalu_header) + src_size); in h2645_ps_to_nalu() 89 *out_size = sizeof(nalu_header) + src_size; in h2645_ps_to_nalu() 91 memcpy(p, nalu_header, sizeof(nalu_header)); in h2645_ps_to_nalu() 92 memcpy(p + sizeof(nalu_header), src, src_size); in h2645_ps_to_nalu()
|
H A D | h264_mp4toannexb_bsf.c | 78 static const uint8_t nalu_header[4] = { 0, 0, 0, 1 }; in h264_extradata_to_annexb() local 109 memcpy(out + total_size - unit_size - 4, nalu_header, 4); in h264_extradata_to_annexb()
|
Completed in 2 milliseconds