Home
last modified time | relevance | path

Searched refs:nalu_header (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmediacodecdec.c73 static const uint8_t nalu_header[] = { 0x00, 0x00, 0x00, 0x01 }; in h2645_ps_to_nalu() local
79 p = av_malloc(sizeof(nalu_header) + src_size); in h2645_ps_to_nalu()
85 *out_size = sizeof(nalu_header) + src_size; in h2645_ps_to_nalu()
87 memcpy(p, nalu_header, sizeof(nalu_header)); in h2645_ps_to_nalu()
88 memcpy(p + sizeof(nalu_header), src, src_size); in h2645_ps_to_nalu()
Dh264_mp4toannexb_bsf.c72 static const uint8_t nalu_header[4] = { 0, 0, 0, 1 }; in h264_extradata_to_annexb() local
103 memcpy(out + total_size - unit_size - 4, nalu_header, 4); in h264_extradata_to_annexb()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgsth265parser.c4248 guint16 nalu_header; in gst_h265_parser_insert_sei_internal() local
4259 nalu_header = GST_READ_UINT16_BE (sei_info.data + sei_nalu.offset); in gst_h265_parser_insert_sei_internal()
4265 nalu_header &= 0xfe00; in gst_h265_parser_insert_sei_internal()
4270 nalu_header |= layer_id_temporal_id; in gst_h265_parser_insert_sei_internal()
4271 GST_WRITE_UINT16_BE (sei_info.data + sei_nalu.offset, nalu_header); in gst_h265_parser_insert_sei_internal()