Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dh2645_parse.c95 nal->rbsp_buffer = &rbsp->rbsp_buffer[rbsp->rbsp_buffer_size]; in ff_h2645_extract_rbsp()
96 dst = nal->rbsp_buffer; in ff_h2645_extract_rbsp()
355 av_assert0(rbsp->rbsp_buffer); in alloc_rbsp_buffer()
356 memset(rbsp->rbsp_buffer + min_size, 0, AV_INPUT_BUFFER_PADDING_SIZE); in alloc_rbsp_buffer()
365 av_free(rbsp->rbsp_buffer); in alloc_rbsp_buffer()
367 rbsp->rbsp_buffer = av_mallocz(size); in alloc_rbsp_buffer()
368 if (!rbsp->rbsp_buffer) in alloc_rbsp_buffer()
373 rbsp->rbsp_buffer_ref = av_buffer_create(rbsp->rbsp_buffer, size, in alloc_rbsp_buffer()
385 rbsp->rbsp_buffer = NULL; in alloc_rbsp_buffer()
387 av_freep(&rbsp->rbsp_buffer); in alloc_rbsp_buffer()
[all …]
Dqsvenc_hevc.c73 …av_fast_padded_malloc(&sps_rbsp.rbsp_buffer, &sps_rbsp.rbsp_buffer_alloc_size, avctx->extradata_si… 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()
Dh2645_parse.h33 uint8_t *rbsp_buffer; member
74 uint8_t *rbsp_buffer; member
Dh264_parser.c270 av_fast_padded_malloc(&rbsp.rbsp_buffer, &rbsp.rbsp_buffer_alloc_size, buf_size); in parse_nal_units()
271 if (!rbsp.rbsp_buffer) in parse_nal_units()
554 av_freep(&rbsp.rbsp_buffer); in parse_nal_units()
559 av_freep(&rbsp.rbsp_buffer); in parse_nal_units()
565 av_freep(&rbsp.rbsp_buffer); in parse_nal_units()