Home
last modified time | relevance | path

Searched refs:bitstream_buffer (Results 1 – 22 of 22) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmdec.c55 uint8_t *bitstream_buffer; member
184 av_fast_padded_malloc(&a->bitstream_buffer, &a->bitstream_buffer_size, buf_size); in decode_frame()
185 if (!a->bitstream_buffer) in decode_frame()
187 a->bbdsp.bswap16_buf((uint16_t *)a->bitstream_buffer, (uint16_t *)buf, (buf_size + 1) / 2); in decode_frame()
188 if ((ret = init_get_bits8(&a->gb, a->bitstream_buffer, buf_size)) < 0) in decode_frame()
247 av_freep(&a->bitstream_buffer); in decode_end()
Dasvdec.c232 av_fast_padded_malloc(&a->bitstream_buffer, &a->bitstream_buffer_size, in decode_frame()
234 if (!a->bitstream_buffer) in decode_frame()
237 a->bbdsp.bswap_buf((uint32_t *) a->bitstream_buffer, in decode_frame()
239 ret = init_get_bits8(&a->gb, a->bitstream_buffer, buf_size); in decode_frame()
323 av_freep(&a->bitstream_buffer); in decode_end()
D4xm.c150 void *bitstream_buffer; member
466 av_fast_padded_malloc(&f->bitstream_buffer, &f->bitstream_buffer_size, in decode_p_frame()
468 if (!f->bitstream_buffer) in decode_p_frame()
470 f->bbdsp.bswap_buf(f->bitstream_buffer, (const uint32_t *) (buf + extra), in decode_p_frame()
472 init_get_bits(&f->gb, f->bitstream_buffer, 8 * bitstream_size); in decode_p_frame()
810 av_fast_padded_malloc(&f->bitstream_buffer, &f->bitstream_buffer_size, in decode_i_frame()
812 if (!f->bitstream_buffer) in decode_i_frame()
814 f->bbdsp.bswap_buf(f->bitstream_buffer, (const uint32_t *) prestream, in decode_i_frame()
816 init_get_bits(&f->pre_gb, f->bitstream_buffer, 8 * prestream_size); in decode_i_frame()
978 av_freep(&f->bitstream_buffer); in decode_end()
Dasv.h60 uint8_t *bitstream_buffer; member
Dhuffyuv.h87 uint8_t *bitstream_buffer; member
Dhuffyuvdec.c283 av_freep(&s->bitstream_buffer); in decode_end()
886 if ((ret = init_get_bits8(&s->gb, s->bitstream_buffer + table_size, buf_size - table_size)) < 0) in decode_slice()
1205 av_fast_padded_malloc(&s->bitstream_buffer, in decode_frame()
1208 if (!s->bitstream_buffer) in decode_frame()
1211 s->bdsp.bswap_buf((uint32_t *) s->bitstream_buffer, in decode_frame()
1218 table_size = read_huffman_tables(s, s->bitstream_buffer, buf_size); in decode_frame()
1254 s->bdsp.bswap_buf((uint32_t *)s->bitstream_buffer, in decode_frame()
Dmpegvideo.c542 s->bitstream_buffer = NULL; in ff_mpeg_update_thread_context()
625 if (s1->bitstream_buffer) { in ff_mpeg_update_thread_context()
628 av_fast_malloc(&s->bitstream_buffer, in ff_mpeg_update_thread_context()
631 if (!s->bitstream_buffer) { in ff_mpeg_update_thread_context()
637 memcpy(s->bitstream_buffer, s1->bitstream_buffer, in ff_mpeg_update_thread_context()
639 memset(s->bitstream_buffer + s->bitstream_buffer_size, 0, in ff_mpeg_update_thread_context()
863 s->bitstream_buffer = NULL; in clear_context()
1125 av_freep(&s->bitstream_buffer); in ff_mpv_common_end()
Dmpegvideo.h417 …uint8_t *bitstream_buffer; //Divx 5.01 puts several frames in a single one, this is used to reorde… member
Dh263dec.c481 ret = init_get_bits8(&s->gb, s->bitstream_buffer, in ff_h263_decode_frame()
Dmpeg4videodec.c3412 … int current_pos = s->gb.buffer == s->bitstream_buffer ? 0 : (get_bits_count(&s->gb) >> 3); in ff_mpeg4_frame_end()
3436 av_fast_padded_malloc(&s->bitstream_buffer, in ff_mpeg4_frame_end()
3439 if (!s->bitstream_buffer) { in ff_mpeg4_frame_end()
3443 memcpy(s->bitstream_buffer, buf + current_pos, in ff_mpeg4_frame_end()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11vp8dec.cpp70 std::vector<guint8> bitstream_buffer; member
379 inner->bitstream_buffer.resize (0); in gst_d3d11_vp8_dec_start_picture()
570 inner->bitstream_buffer.resize (picture->size); in gst_d3d11_vp8_dec_decode_picture()
571 memcpy (&inner->bitstream_buffer[0], picture->data, picture->size); in gst_d3d11_vp8_dec_decode_picture()
574 slice->SliceBytesInBuffer = inner->bitstream_buffer.size (); in gst_d3d11_vp8_dec_decode_picture()
591 if (inner->bitstream_buffer.empty ()) { in gst_d3d11_vp8_dec_end_picture()
605 bitstream_pos = inner->bitstream_buffer.size (); in gst_d3d11_vp8_dec_end_picture()
614 inner->bitstream_buffer.resize (bitstream_buffer_size, 0); in gst_d3d11_vp8_dec_end_picture()
623 input_args.bitstream = &inner->bitstream_buffer[0]; in gst_d3d11_vp8_dec_end_picture()
624 input_args.bitstream_size = inner->bitstream_buffer.size (); in gst_d3d11_vp8_dec_end_picture()
Dgstd3d11h264dec.cpp96 std::vector<guint8> bitstream_buffer; member
771 inner->bitstream_buffer.resize (0); in gst_d3d11_h264_dec_start_picture()
787 dxva_slice.BSNALunitDataLocation = inner->bitstream_buffer.size (); in gst_d3d11_h264_dec_decode_slice()
794 size_t pos = inner->bitstream_buffer.size (); in gst_d3d11_h264_dec_decode_slice()
795 inner->bitstream_buffer.resize (pos + start_code_size + slice->nalu.size); in gst_d3d11_h264_dec_decode_slice()
798 memcpy (&inner->bitstream_buffer[0] + pos, start_code, start_code_size); in gst_d3d11_h264_dec_decode_slice()
801 memcpy (&inner->bitstream_buffer[0] + pos + start_code_size, in gst_d3d11_h264_dec_decode_slice()
822 if (inner->bitstream_buffer.empty () || inner->slice_list.empty ()) { in gst_d3d11_h264_dec_end_picture()
836 bitstream_pos = inner->bitstream_buffer.size (); in gst_d3d11_h264_dec_end_picture()
845 inner->bitstream_buffer.resize (bitstream_buffer_size, 0); in gst_d3d11_h264_dec_end_picture()
[all …]
Dgstd3d11mpeg2dec.cpp69 std::vector<guint8> bitstream_buffer; member
637 inner->bitstream_buffer.resize (0); in gst_d3d11_mpeg2_dec_start_picture()
658 slice_info.dwSliceDataLocation = inner->bitstream_buffer.size (); in gst_d3d11_mpeg2_dec_decode_slice()
668 size_t pos = inner->bitstream_buffer.size (); in gst_d3d11_mpeg2_dec_decode_slice()
669 inner->bitstream_buffer.resize (pos + packet->size + 4); in gst_d3d11_mpeg2_dec_decode_slice()
670 memcpy (&inner->bitstream_buffer[0] + pos, packet->data + packet->offset - 4, in gst_d3d11_mpeg2_dec_decode_slice()
689 if (inner->bitstream_buffer.empty ()) { in gst_d3d11_mpeg2_dec_end_picture()
722 input_args.bitstream = &inner->bitstream_buffer[0]; in gst_d3d11_mpeg2_dec_end_picture()
723 input_args.bitstream_size = inner->bitstream_buffer.size (); in gst_d3d11_mpeg2_dec_end_picture()
Dgstd3d11h265dec.cpp66 std::vector<guint8> bitstream_buffer; member
815 inner->bitstream_buffer.resize (0); in gst_d3d11_h265_dec_start_picture()
831 dxva_slice.BSNALunitDataLocation = inner->bitstream_buffer.size (); in gst_d3d11_h265_dec_decode_slice()
838 size_t pos = inner->bitstream_buffer.size (); in gst_d3d11_h265_dec_decode_slice()
839 inner->bitstream_buffer.resize (pos + start_code_size + slice->nalu.size); in gst_d3d11_h265_dec_decode_slice()
842 memcpy (&inner->bitstream_buffer[0] + pos, start_code, start_code_size); in gst_d3d11_h265_dec_decode_slice()
845 memcpy (&inner->bitstream_buffer[0] + pos + start_code_size, in gst_d3d11_h265_dec_decode_slice()
866 if (inner->bitstream_buffer.empty () || inner->slice_list.empty ()) { in gst_d3d11_h265_dec_end_picture()
880 bitstream_pos = inner->bitstream_buffer.size (); in gst_d3d11_h265_dec_end_picture()
889 inner->bitstream_buffer.resize (bitstream_buffer_size, 0); in gst_d3d11_h265_dec_end_picture()
[all …]
Dgstd3d11vp9dec.cpp101 std::vector<guint8> bitstream_buffer; member
464 inner->bitstream_buffer.resize (0); in gst_d3d11_vp9_dec_start_picture()
704 inner->bitstream_buffer.resize (picture->size); in gst_d3d11_vp9_dec_decode_picture()
705 memcpy (&inner->bitstream_buffer[0], picture->data, picture->size); in gst_d3d11_vp9_dec_decode_picture()
708 slice->SliceBytesInBuffer = inner->bitstream_buffer.size (); in gst_d3d11_vp9_dec_decode_picture()
729 if (inner->bitstream_buffer.empty ()) { in gst_d3d11_vp9_dec_end_picture()
743 bitstream_pos = inner->bitstream_buffer.size (); in gst_d3d11_vp9_dec_end_picture()
752 inner->bitstream_buffer.resize (bitstream_buffer_size, 0); in gst_d3d11_vp9_dec_end_picture()
761 input_args.bitstream = &inner->bitstream_buffer[0]; in gst_d3d11_vp9_dec_end_picture()
762 input_args.bitstream_size = inner->bitstream_buffer.size (); in gst_d3d11_vp9_dec_end_picture()
Dgstd3d11av1dec.cpp381 std::vector<guint8> bitstream_buffer; member
1109 inner->bitstream_buffer.resize (0); in gst_d3d11_av1_dec_start_picture()
1139 dxva_tile->DataOffset = inner->bitstream_buffer.size () + in gst_d3d11_av1_dec_decode_tile()
1150 size_t pos = inner->bitstream_buffer.size (); in gst_d3d11_av1_dec_decode_tile()
1151 inner->bitstream_buffer.resize (pos + tile->obu.obu_size); in gst_d3d11_av1_dec_decode_tile()
1153 memcpy (&inner->bitstream_buffer[0] + pos, in gst_d3d11_av1_dec_decode_tile()
1170 if (inner->bitstream_buffer.empty () || inner->tile_list.empty ()) { in gst_d3d11_av1_dec_end_picture()
1184 bitstream_pos = inner->bitstream_buffer.size (); in gst_d3d11_av1_dec_end_picture()
1193 inner->bitstream_buffer.resize (bitstream_buffer_size, 0); in gst_d3d11_av1_dec_end_picture()
1204 input_args.bitstream = &inner->bitstream_buffer[0]; in gst_d3d11_av1_dec_end_picture()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvh264dec.c97 guint8 *bitstream_buffer; member
294 g_clear_pointer (&self->bitstream_buffer, g_free); in gst_nv_h264_dec_close()
832 self->bitstream_buffer = (guint8 *) g_realloc (self->bitstream_buffer, in gst_nv_h264_dec_decode_slice()
836 self->bitstream_buffer[self->bitstream_buffer_offset] = 0; in gst_nv_h264_dec_decode_slice()
837 self->bitstream_buffer[self->bitstream_buffer_offset + 1] = 0; in gst_nv_h264_dec_decode_slice()
838 self->bitstream_buffer[self->bitstream_buffer_offset + 2] = 1; in gst_nv_h264_dec_decode_slice()
840 memcpy (self->bitstream_buffer + self->bitstream_buffer_offset + 3, in gst_nv_h264_dec_decode_slice()
859 params->pBitstreamData = self->bitstream_buffer; in gst_nv_h264_dec_end_picture()
Dgstnvh265dec.c97 guint8 *bitstream_buffer; member
246 g_clear_pointer (&self->bitstream_buffer, g_free); in gst_nv_h265_dec_close()
879 self->bitstream_buffer = (guint8 *) g_realloc (self->bitstream_buffer, in gst_nv_h265_dec_decode_slice()
883 self->bitstream_buffer[self->bitstream_buffer_offset] = 0; in gst_nv_h265_dec_decode_slice()
884 self->bitstream_buffer[self->bitstream_buffer_offset + 1] = 0; in gst_nv_h265_dec_decode_slice()
885 self->bitstream_buffer[self->bitstream_buffer_offset + 2] = 1; in gst_nv_h265_dec_decode_slice()
887 memcpy (self->bitstream_buffer + self->bitstream_buffer_offset + 3, in gst_nv_h265_dec_decode_slice()
902 params->pBitstreamData = self->bitstream_buffer; in gst_nv_h265_dec_end_picture()
/third_party/node/tools/gyp/tools/emacs/testdata/
Dmedia.gyp136 'base/bitstream_buffer.h',
Dmedia.gyp.fontified137 'base/bitstream_buffer.h',
/third_party/node/deps/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/
Dmedia.gyp136 'base/bitstream_buffer.h',
Dmedia.gyp.fontified137 'base/bitstream_buffer.h',