Home
last modified time | relevance | path

Searched refs:vps (Results 1 – 25 of 31) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dhevc_ps_enc.c66 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 …]
Dqsvenc_hevc.c62 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 …]
Dvaapi_encode_h265.c253 H265RawVPS *vps = &priv->raw_vps; in vaapi_encode_h265_init_sequence_params() local
256 H265RawProfileTierLevel *ptl = &vps->profile_tier_level; in vaapi_encode_h265_init_sequence_params()
264 memset(vps, 0, sizeof(*vps)); in vaapi_encode_h265_init_sequence_params()
291 vps->nal_unit_header = (H265RawNALUnitHeader) { in vaapi_encode_h265_init_sequence_params()
297 vps->vps_video_parameter_set_id = 0; in vaapi_encode_h265_init_sequence_params()
299 vps->vps_base_layer_internal_flag = 1; in vaapi_encode_h265_init_sequence_params()
300 vps->vps_base_layer_available_flag = 1; in vaapi_encode_h265_init_sequence_params()
301 vps->vps_max_layers_minus1 = 0; in vaapi_encode_h265_init_sequence_params()
302 vps->vps_max_sub_layers_minus1 = 0; in vaapi_encode_h265_init_sequence_params()
303 vps->vps_temporal_id_nesting_flag = 1; in vaapi_encode_h265_init_sequence_params()
[all …]
Dhevc_ps.c109 if (s->vps == (const HEVCVPS*)s->vps_list[id]->data) in remove_vps()
110 s->vps = NULL; in remove_vps()
461 HEVCVPS *vps; in ff_hevc_decode_nal_vps() local
462 AVBufferRef *vps_buf = av_buffer_allocz(sizeof(*vps)); in ff_hevc_decode_nal_vps()
466 vps = (HEVCVPS*)vps_buf->data; in ff_hevc_decode_nal_vps()
471 if (nal_size > sizeof(vps->data)) { in ff_hevc_decode_nal_vps()
474 nal_size, sizeof(vps->data)); in ff_hevc_decode_nal_vps()
475 vps->data_size = sizeof(vps->data); in ff_hevc_decode_nal_vps()
477 vps->data_size = nal_size; in ff_hevc_decode_nal_vps()
479 memcpy(vps->data, gb->buffer, vps->data_size); in ff_hevc_decode_nal_vps()
[all …]
Dh265_metadata_bsf.c84 const H265RawVPS *vps = unit->content; in h265_metadata_guess_level() local
86 ptl = &vps->profile_tier_level; in h265_metadata_guess_level()
87 max_dec_pic_buffering = vps->vps_max_dec_pic_buffering_minus1[0] + 1; in h265_metadata_guess_level()
89 if (vps->vps_num_hrd_parameters > 0) in h265_metadata_guess_level()
90 hrd = &vps->hrd_parameters[0]; in h265_metadata_guess_level()
160 H265RawVPS *vps) in h265_metadata_update_vps() argument
170 vps->vps_time_scale = num; in h265_metadata_update_vps()
171 vps->vps_num_units_in_tick = den; in h265_metadata_update_vps()
173 vps->vps_timing_info_present_flag = 1; in h265_metadata_update_vps()
176 vps->vps_num_ticks_poc_diff_one_minus1 = in h265_metadata_update_vps()
[all …]
Dmediacodecdec.c200 const HEVCVPS *vps = NULL; in hevc_set_extradata() local
224 vps = (const HEVCVPS*)ps.vps_list[i]->data; in hevc_set_extradata()
242 if (vps && pps && sps) { in hevc_set_extradata()
249 if ((ret = h2645_ps_to_nalu(vps->data, vps->data_size, &vps_data, &vps_data_size)) < 0 || in hevc_set_extradata()
Dhevc_parser.c88 ps->vps = (HEVCVPS*)ps->vps_list[ps->sps->vps_id]->data; in hevc_parse_slice_header()
100 if (ps->vps->vps_timing_info_present_flag) { in hevc_parse_slice_header()
101 num = ps->vps->vps_num_units_in_tick; in hevc_parse_slice_header()
102 den = ps->vps->vps_time_scale; in hevc_parse_slice_header()
Dcbs_h265_syntax_template.c423 static int FUNC(vps)(CodedBitstreamContext *ctx, RWContext *rw, in FUNC() argument
780 const H265RawVPS *vps; in FUNC() local
790 h265->active_vps = vps = h265->vps[current->sps_video_parameter_set_id]; in FUNC()
794 if (vps) { in FUNC()
795 if (vps->vps_max_sub_layers_minus1 > current->sps_max_sub_layers_minus1) { in FUNC()
799 vps->vps_max_sub_layers_minus1, in FUNC()
803 if (vps->vps_temporal_id_nesting_flag && in FUNC()
1939 const H265RawVPS *vps; in FUNC() local
1945 vps = h265->vps[current->active_video_parameter_set_id]; in FUNC()
1946 if (!vps) { in FUNC()
[all …]
Dcbs_h2645.c691 cbs_h2645_replace_ps(5, VPS, vps, vps_video_parameter_set_id)
831 H265RawVPS *vps = unit->content; in cbs_h265_read_nal_unit() local
833 err = cbs_h265_read_vps(ctx, &gbc, vps); in cbs_h265_read_nal_unit()
1119 H265RawVPS *vps = unit->content; in cbs_h265_write_nal_unit() local
1121 err = cbs_h265_write_vps(ctx, pbc, vps); in cbs_h265_write_nal_unit()
1353 for (int i = 0; i < FF_ARRAY_ELEMS(h265->vps); i++) { in cbs_h265_flush()
1355 h265->vps[i] = NULL; in cbs_h265_flush()
1378 for (i = 0; i < FF_ARRAY_ELEMS(h265->vps); i++) in cbs_h265_close()
Dhevc_ps.h333 const HEVCVPS *vps; member
362 int ff_hevc_encode_nal_vps(HEVCVPS *vps, unsigned int id,
Dvideotoolbox.c234 const HEVCVPS *vps = h->ps.vps; in ff_videotoolbox_hvcc_extradata_create() local
237 PTLCommon ptlc = vps->ptl.general_ptl; in ff_videotoolbox_hvcc_extradata_create()
Dcbs_h265.h687 H265RawVPS *vps[HEVC_MAX_VPS_COUNT]; member
Dhevcdec.c328 const HEVCVPS *vps = (const HEVCVPS*)ps->vps_list[sps->vps_id]->data; in export_stream_params() local
368 if (vps->vps_timing_info_present_flag) { in export_stream_params()
369 num = vps->vps_num_units_in_tick; in export_stream_params()
370 den = vps->vps_time_scale; in export_stream_params()
502 s->ps.vps = NULL; in set_sps()
544 s->ps.vps = (HEVCVPS*) s->ps.vps_list[s->ps.sps->vps_id]->data; in set_sps()
/third_party/ffmpeg/libavformat/
Dhevcdec.c30 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()
Drtpdec_hevc.c41 uint8_t *sps, *pps, *vps, *sei; member
76 data_ptr = &hevc_data->vps; in hevc_sdp_parse_fmtp_config()
153 memcpy(par->extradata + pos, hevc_data->vps, hevc_data->vps_size); in hevc_parse_sdp_line()
162 av_freep(&hevc_data->vps); in hevc_parse_sdp_line()
/third_party/node/deps/v8/src/codegen/x64/
Dassembler-x64.h1419 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 …]
Dassembler-x64.cc3756 void Assembler::vps(byte op, XMMRegister dst, XMMRegister src1, in vps() function in v8::internal::Assembler
3765 void Assembler::vps(byte op, YMMRegister dst, YMMRegister src1, in vps() function in v8::internal::Assembler
3774 void Assembler::vps(byte op, XMMRegister dst, XMMRegister src1, Operand src2) { in vps() function in v8::internal::Assembler
3782 void Assembler::vps(byte op, YMMRegister dst, YMMRegister src1, Operand src2) { in vps() function in v8::internal::Assembler
3790 void Assembler::vps(byte op, XMMRegister dst, XMMRegister src1, in vps() function in v8::internal::Assembler
3800 void Assembler::vps(byte op, YMMRegister dst, YMMRegister src1, in vps() function in v8::internal::Assembler
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/video/
Dh265_decode.adoc27 <<decode-h265-active-vps,active VPS>> specifying the <<decode-h265-vps,
203 * pname:maxStdVPSCount is the maximum number of <<decode-h265-vps,H.265
232 <<decode-h265-vps,H.265 VPS>> entries to add.
383 * [[decode-h265-active-vps]] The _active VPS_ is the
384 <<decode-h265-vps,VPS>> identified by the key specified in
Dh265_encode.adoc27 <<encode-h265-active-vps,active VPS>> specifying the <<encode-h265-vps,
361 <<encode-h265-active-vps,active VPS>> or <<encode-h265-active-sps,active
750 * pname:maxStdVPSCount is the maximum number of <<encode-h265-vps,H.265
779 <<encode-h265-vps,H.265 VPS>> entries to add.
841 * pname:writeStdVPS indicates whether the encoded <<encode-h265-vps,H.265
866 . The <<encode-h265-vps,H.265 video parameter set>> identified by
896 requested <<encode-h265-vps,H.265 video parameter set>>, if one was
1039 * [[encode-h265-active-vps]] The _active VPS_ is the
1040 <<encode-h265-vps,VPS>> identified by the key specified in
Dh265_parameter_sets.adoc7 [[{operationType}-h265-vps]]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_context.c384 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/
Dassembler-ia32.h1155 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);
Dassembler-ia32.cc2869 void Assembler::vps(byte op, XMMRegister dst, XMMRegister src1, Operand src2) { in vps() function in v8::internal::Assembler
2910 vps(0xC2, dst, src1, src2); in vcmpps()
2923 vps(0xC6, dst, src1, src2); in vshufps()
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_state.c1534 struct agx_viewport_scissor vps = agx_upload_viewport_scissor(pool, in agx_encode_state() local
1538 agx_push_record(&out, 10, vps.viewport); in agx_encode_state()
1539 agx_push_record(&out, 2, agx_set_index(pool, vps.scissor, zbias)); in agx_encode_state()
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/
DVK_KHR_video_decode_h265.adoc294 StdVideoH265VideoParameterSet vps = {};
310 .pStdVPSs = &vps,

12