/third_party/ffmpeg/libavcodec/ |
D | hevc_ps_enc.c | 66 int ff_hevc_encode_nal_vps(HEVCVPS *vps, unsigned int id, in ff_hevc_encode_nal_vps() argument 75 put_bits(&pb, 6, vps->vps_max_layers - 1); in ff_hevc_encode_nal_vps() 76 put_bits(&pb, 3, vps->vps_max_sub_layers - 1); in ff_hevc_encode_nal_vps() 77 put_bits(&pb, 1, vps->vps_temporal_id_nesting_flag); in ff_hevc_encode_nal_vps() 80 write_ptl(&pb, &vps->ptl, vps->vps_max_sub_layers); in ff_hevc_encode_nal_vps() 82 put_bits(&pb, 1, vps->vps_sub_layer_ordering_info_present_flag); in ff_hevc_encode_nal_vps() 83 for (i = vps->vps_sub_layer_ordering_info_present_flag ? 0 : vps->vps_max_layers - 1; in ff_hevc_encode_nal_vps() 84 i < vps->vps_max_sub_layers; i++) { in ff_hevc_encode_nal_vps() 85 set_ue_golomb(&pb, vps->vps_max_dec_pic_buffering[i] - 1); in ff_hevc_encode_nal_vps() 86 set_ue_golomb(&pb, vps->vps_num_reorder_pics[i]); in ff_hevc_encode_nal_vps() [all …]
|
D | qsvenc_hevc.c | 62 HEVCVPS vps = { 0 }; in generate_fake_vps() local 108 vps.vps_max_layers = 1; in generate_fake_vps() 109 vps.vps_max_sub_layers = sps.max_sub_layers; in generate_fake_vps() 110 vps.vps_temporal_id_nesting_flag = sps.temporal_id_nesting_flag; in generate_fake_vps() 111 memcpy(&vps.ptl, &sps.ptl, sizeof(vps.ptl)); in generate_fake_vps() 112 vps.vps_sub_layer_ordering_info_present_flag = 1; in generate_fake_vps() 114 vps.vps_max_dec_pic_buffering[i] = sps.temporal_layer[i].max_dec_pic_buffering; in generate_fake_vps() 115 vps.vps_num_reorder_pics[i] = sps.temporal_layer[i].num_reorder_pics; in generate_fake_vps() 116 vps.vps_max_latency_increase[i] = sps.temporal_layer[i].max_latency_increase; in generate_fake_vps() 119 vps.vps_num_layer_sets = 1; in generate_fake_vps() [all …]
|
D | vaapi_encode_h265.c | 246 H265RawVPS *vps = &priv->raw_vps; in vaapi_encode_h265_init_sequence_params() local 249 H265RawProfileTierLevel *ptl = &vps->profile_tier_level; in vaapi_encode_h265_init_sequence_params() 257 memset(vps, 0, sizeof(*vps)); in vaapi_encode_h265_init_sequence_params() 284 vps->nal_unit_header = (H265RawNALUnitHeader) { in vaapi_encode_h265_init_sequence_params() 290 vps->vps_video_parameter_set_id = 0; in vaapi_encode_h265_init_sequence_params() 292 vps->vps_base_layer_internal_flag = 1; in vaapi_encode_h265_init_sequence_params() 293 vps->vps_base_layer_available_flag = 1; in vaapi_encode_h265_init_sequence_params() 294 vps->vps_max_layers_minus1 = 0; in vaapi_encode_h265_init_sequence_params() 295 vps->vps_max_sub_layers_minus1 = 0; in vaapi_encode_h265_init_sequence_params() 296 vps->vps_temporal_id_nesting_flag = 1; in vaapi_encode_h265_init_sequence_params() [all …]
|
D | hevc_ps.c | 109 if (s->vps == (const HEVCVPS*)s->vps_list[id]->data) in remove_vps() 110 s->vps = NULL; in remove_vps() 464 HEVCVPS *vps; in ff_hevc_decode_nal_vps() local 465 AVBufferRef *vps_buf = av_buffer_allocz(sizeof(*vps)); in ff_hevc_decode_nal_vps() 469 vps = (HEVCVPS*)vps_buf->data; in ff_hevc_decode_nal_vps() 474 if (nal_size > sizeof(vps->data)) { in ff_hevc_decode_nal_vps() 477 nal_size, sizeof(vps->data)); in ff_hevc_decode_nal_vps() 478 vps->data_size = sizeof(vps->data); in ff_hevc_decode_nal_vps() 480 vps->data_size = nal_size; in ff_hevc_decode_nal_vps() 482 memcpy(vps->data, gb->buffer, vps->data_size); in ff_hevc_decode_nal_vps() [all …]
|
D | h265_metadata_bsf.c | 83 const H265RawVPS *vps = unit->content; in h265_metadata_guess_level() local 85 ptl = &vps->profile_tier_level; in h265_metadata_guess_level() 86 max_dec_pic_buffering = vps->vps_max_dec_pic_buffering_minus1[0] + 1; in h265_metadata_guess_level() 88 if (vps->vps_num_hrd_parameters > 0) in h265_metadata_guess_level() 89 hrd = &vps->hrd_parameters[0]; in h265_metadata_guess_level() 159 H265RawVPS *vps) in h265_metadata_update_vps() argument 169 vps->vps_time_scale = num; in h265_metadata_update_vps() 170 vps->vps_num_units_in_tick = den; in h265_metadata_update_vps() 172 vps->vps_timing_info_present_flag = 1; in h265_metadata_update_vps() 175 vps->vps_num_ticks_poc_diff_one_minus1 = in h265_metadata_update_vps() [all …]
|
D | mediacodecdec.c | 193 const HEVCVPS *vps = NULL; in hevc_set_extradata() local 217 vps = (const HEVCVPS*)ps.vps_list[i]->data; in hevc_set_extradata() 235 if (vps && pps && sps) { in hevc_set_extradata() 239 if ((ret = h2645_ps_to_nalu(vps->data, vps->data_size, &vps_data, &vps_data_size)) < 0 || in hevc_set_extradata()
|
D | hevc_parser.c | 89 ps->vps = (HEVCVPS*)ps->vps_list[ps->sps->vps_id]->data; in hevc_parse_slice_header() 101 if (ps->vps->vps_timing_info_present_flag) { in hevc_parse_slice_header() 102 num = ps->vps->vps_num_units_in_tick; in hevc_parse_slice_header() 103 den = ps->vps->vps_time_scale; in hevc_parse_slice_header()
|
D | cbs_h265_syntax_template.c | 420 static int FUNC(vps)(CodedBitstreamContext *ctx, RWContext *rw, in FUNC() argument 777 const H265RawVPS *vps; in FUNC() local 787 h265->active_vps = vps = h265->vps[current->sps_video_parameter_set_id]; in FUNC() 791 if (vps) { in FUNC() 792 if (vps->vps_max_sub_layers_minus1 > current->sps_max_sub_layers_minus1) { in FUNC() 796 vps->vps_max_sub_layers_minus1, in FUNC() 800 if (vps->vps_temporal_id_nesting_flag && in FUNC() 1871 const H265RawVPS *vps; in FUNC() local 1877 vps = h265->vps[current->active_video_parameter_set_id]; in FUNC() 1878 if (!vps) { in FUNC() [all …]
|
D | hevc_ps.h | 333 const HEVCVPS *vps; member 362 int ff_hevc_encode_nal_vps(HEVCVPS *vps, unsigned int id,
|
D | cbs_h2645.c | 693 cbs_h2645_replace_ps(5, VPS, vps, vps_video_parameter_set_id) 833 H265RawVPS *vps = unit->content; in cbs_h265_read_nal_unit() local 835 err = cbs_h265_read_vps(ctx, &gbc, vps); in cbs_h265_read_nal_unit() 1121 H265RawVPS *vps = unit->content; in cbs_h265_write_nal_unit() local 1123 err = cbs_h265_write_vps(ctx, pbc, vps); in cbs_h265_write_nal_unit() 1355 for (int i = 0; i < FF_ARRAY_ELEMS(h265->vps); i++) { in cbs_h265_flush() 1357 h265->vps[i] = NULL; in cbs_h265_flush() 1380 for (i = 0; i < FF_ARRAY_ELEMS(h265->vps); i++) in cbs_h265_close()
|
D | videotoolbox.c | 186 const HEVCVPS *vps = h->ps.vps; in ff_videotoolbox_hvcc_extradata_create() local 189 PTLCommon ptlc = vps->ptl.general_ptl; in ff_videotoolbox_hvcc_extradata_create()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/ |
D | gsth265parser.c | 196 GstH265VPS *vps; in gst_h265_parser_get_vps() local 198 vps = &parser->vps[vps_id]; in gst_h265_parser_get_vps() 200 if (vps->valid) in gst_h265_parser_get_vps() 201 return vps; in gst_h265_parser_get_vps() 1598 GstH265VPS vps; in gst_h265_parser_parse_nal() local 1604 return gst_h265_parser_parse_vps (parser, nalu, &vps); in gst_h265_parser_parse_nal() 1628 GstH265VPS * vps) in gst_h265_parser_parse_vps() argument 1630 GstH265ParserResult res = gst_h265_parse_vps (nalu, vps); in gst_h265_parser_parse_vps() 1633 GST_DEBUG ("adding video parameter set with id: %d to array", vps->id); in gst_h265_parser_parse_vps() 1635 parser->vps[vps->id] = *vps; in gst_h265_parser_parse_vps() [all …]
|
D | gsth265parser.h | 1105 GstH265VPS *vps; member 1622 GstH265VPS vps[GST_H265_MAX_VPS_COUNT]; member 1667 GstH265VPS * vps); 1687 GstH265VPS * vps); 1702 GstH265VPS * vps);
|
/third_party/ffmpeg/libavformat/ |
D | hevcdec.c | 30 int vps = 0, sps = 0, pps = 0, irap = 0; in hevc_probe() local 46 case HEVC_NAL_VPS: vps++; break; in hevc_probe() 59 if (vps && sps && pps && irap) in hevc_probe()
|
D | rtpdec_hevc.c | 43 uint8_t *sps, *pps, *vps, *sei; member 78 data_ptr = &hevc_data->vps; in hevc_sdp_parse_fmtp_config() 155 memcpy(par->extradata + pos, hevc_data->vps, hevc_data->vps_size); in hevc_parse_sdp_line() 164 av_freep(&hevc_data->vps); in hevc_parse_sdp_line()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtph265depay.c | 162 rtph265depay->vps = g_ptr_array_new_with_free_func ( in gst_rtp_h265_depay_init() 181 g_ptr_array_set_size (rtph265depay->vps, 0); in gst_rtp_h265_depay_reset() 222 g_ptr_array_free (rtph265depay->vps, TRUE); in gst_rtp_h265_depay_finalize() 398 rtph265depay->vps->len == 0 || rtph265depay->sps->len == 0 in gst_rtp_h265_set_src_caps() 410 guint num_vps = rtph265depay->vps->len; in gst_rtp_h265_set_src_caps() 437 len += 2 + gst_buffer_get_size (g_ptr_array_index (rtph265depay->vps, i)); in gst_rtp_h265_set_src_caps() 538 gst_buffer_get_size (g_ptr_array_index (rtph265depay->vps, i)); in gst_rtp_h265_set_src_caps() 540 gst_buffer_extract (g_ptr_array_index (rtph265depay->vps, i), 0, in gst_rtp_h265_set_src_caps() 683 GstBuffer *vps = g_ptr_array_index (vps_array, i); in gst_rtp_h265_add_vps_sps_pps() local 687 gst_buffer_map (vps, &vpsmap, GST_MAP_READ); in gst_rtp_h265_add_vps_sps_pps() [all …]
|
D | gstrtph265pay.c | 254 rtph265pay->vps = g_ptr_array_new_with_free_func ( in gst_rtp_h265_pay_init() 269 g_ptr_array_set_size (rtph265pay->vps, 0); in gst_rtp_h265_pay_clear_vps_sps_pps() 285 g_ptr_array_free (rtph265pay->vps, TRUE); in gst_rtp_h265_pay_finalize() 499 GString *vps; in gst_rtp_h265_pay_set_vps_sps_pps() local 507 vps = g_string_new (""); in gst_rtp_h265_pay_set_vps_sps_pps() 512 for (i = 0; i < payloader->vps->len; i++) { in gst_rtp_h265_pay_set_vps_sps_pps() 514 GST_BUFFER_CAST (g_ptr_array_index (payloader->vps, i)); in gst_rtp_h265_pay_set_vps_sps_pps() 520 g_string_append_printf (vps, "%s%s", i ? "," : "", set); in gst_rtp_h265_pay_set_vps_sps_pps() 552 "sprop-vps", G_TYPE_STRING, vps->str, in gst_rtp_h265_pay_set_vps_sps_pps() 558 g_string_free (vps, TRUE); in gst_rtp_h265_pay_set_vps_sps_pps() [all …]
|
D | gstrtph265depay.h | 81 GPtrArray *vps; member 111 gboolean gst_rtp_h265_add_vps_sps_pps (GstElement * rtph265, GPtrArray * vps,
|
D | gstrtph265pay.h | 61 GPtrArray *sps, *pps, *vps; member
|
/third_party/gstreamer/gstplugins_bad/tests/check/libs/ |
D | h265parser.c | 675 GstH265VPS vps; in GST_START_TEST() local 687 res = gst_h265_parser_parse_vps (parser, &nalu, &vps); in GST_START_TEST() 690 assert_equals_int (vps.id, 0); in GST_START_TEST() 691 assert_equals_int (vps.max_layers_minus1, 0); in GST_START_TEST() 692 assert_equals_int (vps.max_sub_layers_minus1, 0); in GST_START_TEST() 693 assert_equals_int (vps.temporal_id_nesting_flag, 1); in GST_START_TEST() 695 profile = gst_h265_profile_tier_level_get_profile (&vps.profile_tier_level); in GST_START_TEST() 698 assert_equals_int (vps.sub_layer_ordering_info_present_flag, 1); in GST_START_TEST() 700 assert_equals_int (vps.max_dec_pic_buffering_minus1[0], 1); in GST_START_TEST() 701 assert_equals_int (vps.max_num_reorder_pics[0], 0); in GST_START_TEST() [all …]
|
/third_party/node/deps/v8/src/codegen/x64/ |
D | assembler-x64.h | 1419 vps(0x##opcode, dst, xmm0, src2); \ 1422 vps(0x##opcode, dst, xmm0, src2); \ 1425 vps(0x##opcode, dst, ymm0, src2); \ 1428 vps(0x##opcode, dst, ymm0, src2); \ 1435 vps(0x##opcode, dst, src1, src2); \ 1438 vps(0x##opcode, dst, src1, src2); \ 1441 vps(0x##opcode, dst, src1, src2); \ 1444 vps(0x##opcode, dst, src1, src2); \ 1611 vps(0xC6, dst, src1, src2, imm8); in vshufps() 1614 vps(0xC6, dst, src1, src2, imm8); in vshufps() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | gstnvh265enc.c | 358 guint8 vps[N_BYTES_VPS]; in gst_nv_h265_enc_set_level_tier_and_profile() local 367 spp.spsppsBuffer = &vps; in gst_nv_h265_enc_set_level_tier_and_profile() 386 &vps[6], seq_size - 6); in gst_nv_h265_enc_set_level_tier_and_profile()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | h265parse.c | 430 const guint8 * const vps = sliced ? h265_128x128_sliced_vps : h265_128x128_vps; \ 455 buf = wrap_buffer (vps, vps_size, 10, 0); in bytestream_push_first_au_inalign_nal() 481 vps, vps_size, sps, sps_size, pps, pps_size, in bytestream_push_first_au_inalign_au()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_context.c | 384 const struct pipe_viewport_state *vps ) in draw_set_viewport_states() argument 386 const struct pipe_viewport_state *viewport = vps; in draw_set_viewport_states() 392 memcpy(draw->viewports + start_slot, vps, in draw_set_viewport_states()
|
/third_party/node/deps/v8/src/codegen/ia32/ |
D | assembler-ia32.h | 1155 void vmovaps(XMMRegister dst, Operand src) { vps(0x28, dst, xmm0, src); } in vmovaps() 1158 void vmovups(Operand dst, XMMRegister src) { vps(0x11, src, xmm0, dst); } in vmovups() 1160 void vmovups(XMMRegister dst, Operand src) { vps(0x10, dst, xmm0, src); } in vmovups() 1461 vps(opcode, dst, src1, Operand(src2)); \ 1464 vps(opcode, dst, src1, src2); \ 1477 void vps(byte op, XMMRegister dst, XMMRegister src1, Operand src2);
|