Home
last modified time | relevance | path

Searched refs:rbsp_buffer (Results 1 - 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dh2645_parse.c95 dst = &rbsp->rbsp_buffer[rbsp->rbsp_buffer_size]; in ff_h2645_extract_rbsp()
359 av_assert0(rbsp->rbsp_buffer); in alloc_rbsp_buffer()
360 memset(rbsp->rbsp_buffer + min_size, 0, AV_INPUT_BUFFER_PADDING_SIZE); in alloc_rbsp_buffer()
369 av_free(rbsp->rbsp_buffer); in alloc_rbsp_buffer()
371 rbsp->rbsp_buffer = av_mallocz(size); in alloc_rbsp_buffer()
372 if (!rbsp->rbsp_buffer) in alloc_rbsp_buffer()
377 rbsp->rbsp_buffer_ref = av_buffer_create(rbsp->rbsp_buffer, size, in alloc_rbsp_buffer()
389 rbsp->rbsp_buffer = NULL; in alloc_rbsp_buffer()
391 av_freep(&rbsp->rbsp_buffer); in alloc_rbsp_buffer()
408 if (!pkt->rbsp.rbsp_buffer) in ff_h2645_packet_split()
[all...]
H A Dqsvenc_hevc.c73 av_fast_padded_malloc(&sps_rbsp.rbsp_buffer, &sps_rbsp.rbsp_buffer_alloc_size, avctx->extradata_size); in generate_fake_vps()
74 if (!sps_rbsp.rbsp_buffer) in generate_fake_vps()
86 av_freep(&sps_rbsp.rbsp_buffer); in generate_fake_vps()
95 av_freep(&sps_rbsp.rbsp_buffer); in generate_fake_vps()
101 av_freep(&sps_rbsp.rbsp_buffer); in generate_fake_vps()
H A Dh264_parser.c283 av_fast_padded_malloc(&rbsp.rbsp_buffer, &rbsp.rbsp_buffer_alloc_size, buf_size); in parse_nal_units()
284 if (!rbsp.rbsp_buffer) in parse_nal_units()
574 av_freep(&rbsp.rbsp_buffer); in parse_nal_units()
579 av_freep(&rbsp.rbsp_buffer); in parse_nal_units()
585 av_freep(&rbsp.rbsp_buffer); in parse_nal_units()
H A Dh2645_parse.h75 uint8_t *rbsp_buffer; member
102 * Otherwise, the unescaped data is part of the rbsp_buffer described by the
106 * own rbsp_buffer. If not and rbsp_buffer is not NULL, use_ref must be 0.
107 * If use_ref is set, rbsp_buffer will be reference-counted and owned by

Completed in 4 milliseconds