Home
last modified time | relevance | path

Searched refs:slice_type (Results 1 – 25 of 48) sorted by relevance

12

/third_party/mesa3d/src/gallium/frontends/va/
Dpicture_h264_enc.c102 if (h264->RefPicList1[i].picture_id != VA_INVALID_ID && h264->slice_type == 1) { in vlVaHandleVAEncSliceParameterBufferTypeH264()
117 if ((h264->slice_type == 1) || (h264->slice_type == 6)) { in vlVaHandleVAEncSliceParameterBufferTypeH264()
119 slice_descriptor.slice_type = PIPE_H264_SLICE_TYPE_B; in vlVaHandleVAEncSliceParameterBufferTypeH264()
120 } else if ((h264->slice_type == 0) || (h264->slice_type == 5)) { in vlVaHandleVAEncSliceParameterBufferTypeH264()
122 slice_descriptor.slice_type = PIPE_H264_SLICE_TYPE_P; in vlVaHandleVAEncSliceParameterBufferTypeH264()
123 } else if ((h264->slice_type == 2) || (h264->slice_type == 7)) { in vlVaHandleVAEncSliceParameterBufferTypeH264()
129 slice_descriptor.slice_type = PIPE_H264_SLICE_TYPE_I; in vlVaHandleVAEncSliceParameterBufferTypeH264()
132 slice_descriptor.slice_type = PIPE_H264_SLICE_TYPE_I; in vlVaHandleVAEncSliceParameterBufferTypeH264()
/third_party/mesa3d/src/gallium/frontends/omx/
Dvid_dec_h264_common.c492 enum pipe_h264_slice_type slice_type) in ref_pic_list_modification() argument
496 if (slice_type != 2 && slice_type != 4) { in ref_pic_list_modification()
512 if (slice_type == 1) { in ref_pic_list_modification()
530 struct pipe_h264_sps *sps, enum pipe_h264_slice_type slice_type) in pred_weight_table() argument
563 if (slice_type == 1) { in pred_weight_table()
628 enum pipe_h264_slice_type slice_type; in slice_header() local
642 slice_type = vl_rbsp_ue(rbsp) % 5; in slice_header()
858 if (slice_type == PIPE_H264_SLICE_TYPE_B) in slice_header()
865 if (slice_type == PIPE_H264_SLICE_TYPE_P || in slice_header()
866 slice_type == PIPE_H264_SLICE_TYPE_SP || in slice_header()
[all …]
/third_party/ffmpeg/libavcodec/
Dhevc_parser.c64 enum HEVCSliceType slice_type; in hevc_parse_slice_header() local
138 slice_type = get_ue_golomb_31(gb); in hevc_parse_slice_header()
139 if (!(slice_type == HEVC_SLICE_I || slice_type == HEVC_SLICE_P || in hevc_parse_slice_header()
140 slice_type == HEVC_SLICE_B)) { in hevc_parse_slice_header()
142 slice_type); in hevc_parse_slice_header()
145 s->pict_type = slice_type == HEVC_SLICE_B ? AV_PICTURE_TYPE_B : in hevc_parse_slice_header()
146 slice_type == HEVC_SLICE_P ? AV_PICTURE_TYPE_P : in hevc_parse_slice_header()
Dvaapi_hevc.c352 if (sh->slice_type == HEVC_SLICE_I || in fill_pred_weight_table()
353 (sh->slice_type == HEVC_SLICE_P && !h->ps.pps->weighted_pred_flag) || in fill_pred_weight_table()
354 (sh->slice_type == HEVC_SLICE_B && !h->ps.pps->weighted_bipred_flag)) in fill_pred_weight_table()
374 if (sh->slice_type == HEVC_SLICE_B) { in fill_pred_weight_table()
419 int nb_list = (sh->slice_type == HEVC_SLICE_B) ? in vaapi_hevc_decode_slice()
420 2 : (sh->slice_type == HEVC_SLICE_I ? 0 : 1); in vaapi_hevc_decode_slice()
450 … .five_minus_max_num_merge_cand = sh->slice_type == HEVC_SLICE_I ? 0 : 5 - sh->max_num_merge_cand, in vaapi_hevc_decode_slice()
456 .slice_type = sh->slice_type, in vaapi_hevc_decode_slice()
499 if (sh->slice_type == HEVC_SLICE_B) { in vaapi_hevc_decode_slice()
Dcbs_h264_syntax_template.c866 if (current->slice_type % 5 != 2 && in FUNC()
867 current->slice_type % 5 != 4) { in FUNC()
891 if (current->slice_type % 5 == 1) { in FUNC()
949 if (current->slice_type % 5 == 1) { in FUNC()
1053 ue(slice_type, 0, 9); in FUNC()
1055 slice_type_i = current->slice_type % 5 == 2; in FUNC()
1056 slice_type_p = current->slice_type % 5 == 0; in FUNC()
1057 slice_type_b = current->slice_type % 5 == 1; in FUNC()
1058 slice_type_si = current->slice_type % 5 == 4; in FUNC()
1059 slice_type_sp = current->slice_type % 5 == 3; in FUNC()
[all …]
Dvaapi_encode_h265.c51 int slice_type; member
770 hpic->slice_type = HEVC_SLICE_I; in vaapi_encode_h265_init_picture_params()
778 hpic->slice_type = HEVC_SLICE_I; in vaapi_encode_h265_init_picture_params()
783 hpic->slice_type = HEVC_SLICE_P; in vaapi_encode_h265_init_picture_params()
799 hpic->slice_type = HEVC_SLICE_B; in vaapi_encode_h265_init_picture_params()
977 sh->slice_type = hpic->slice_type; in vaapi_encode_h265_init_slice_params()
979 if (sh->slice_type == HEVC_SLICE_P && ctx->p_to_gpb) in vaapi_encode_h265_init_slice_params()
980 sh->slice_type = HEVC_SLICE_B; in vaapi_encode_h265_init_slice_params()
1067 if (sh->slice_type == HEVC_SLICE_B) in vaapi_encode_h265_init_slice_params()
1092 .slice_type = sh->slice_type, in vaapi_encode_h265_init_slice_params()
[all …]
Dh264dec.c494 int slice_type = 0; in get_last_needed_nal() local
527 slice_type = get_ue_golomb_31(&gb); in get_last_needed_nal()
528 if (slice_type > 9) in get_last_needed_nal()
529 slice_type = 0; in get_last_needed_nal()
530 if (slice_type > 4) in get_last_needed_nal()
531 slice_type -= 5; in get_last_needed_nal()
533 slice_type = ff_h264_golomb_to_pict_type[slice_type]; in get_last_needed_nal()
534 picture_intra_only &= (slice_type & 3) == AV_PICTURE_TYPE_I; in get_last_needed_nal()
Dvaapi_encode_h264.c59 int slice_type; member
620 hpic->slice_type = 7; in vaapi_encode_h264_init_picture_params()
630 hpic->slice_type = 7; in vaapi_encode_h264_init_picture_params()
633 hpic->slice_type = 5; in vaapi_encode_h264_init_picture_params()
636 hpic->slice_type = 6; in vaapi_encode_h264_init_picture_params()
844 sh->slice_type = hpic->slice_type; in vaapi_encode_h264_init_slice_params()
1009 vslice->slice_type = sh->slice_type % 5; in vaapi_encode_h264_init_slice_params()
Ddxva2_h264.c234 slice->slice_type = ff_h264_get_slice_type(sl); in fill_slice_long()
236 slice->slice_type += 5; in fill_slice_long()
289 if (sl->slice_type == AV_PICTURE_TYPE_B) in fill_slice_long()
494 if (sl->slice_type != AV_PICTURE_TYPE_I && sl->slice_type != AV_PICTURE_TYPE_SI) in dxva2_h264_decode_slice()
Dh264_slice.c524 pic->f->pict_type = h->slice_ctx[0].slice_type; in h264_frame_start()
1838 unsigned int slice_type, tmp, i; in h264_slice_header_parse() local
1848 slice_type = get_ue_golomb_31(&sl->gb); in h264_slice_header_parse()
1849 if (slice_type > 9) { in h264_slice_header_parse()
1852 slice_type, sl->first_mb_addr); in h264_slice_header_parse()
1855 if (slice_type > 4) { in h264_slice_header_parse()
1856 slice_type -= 5; in h264_slice_header_parse()
1861 slice_type = ff_h264_golomb_to_pict_type[slice_type]; in h264_slice_header_parse()
1862 sl->slice_type = slice_type; in h264_slice_header_parse()
1863 sl->slice_type_nos = slice_type & 3; in h264_slice_header_parse()
[all …]
Dhevcdec.c219 if (s->sh.slice_type == HEVC_SLICE_B) { in pred_weight_table()
658 sh->slice_type = get_ue_golomb_long(gb); in hls_slice_header()
659 if (!(sh->slice_type == HEVC_SLICE_I || in hls_slice_header()
660 sh->slice_type == HEVC_SLICE_P || in hls_slice_header()
661 sh->slice_type == HEVC_SLICE_B)) { in hls_slice_header()
663 sh->slice_type); in hls_slice_header()
666 if (IS_IRAP(s) && sh->slice_type != HEVC_SLICE_I) { in hls_slice_header()
757 if (sh->slice_type == HEVC_SLICE_P || sh->slice_type == HEVC_SLICE_B) { in hls_slice_header()
761 if (sh->slice_type == HEVC_SLICE_B) in hls_slice_header()
766 if (sh->slice_type == HEVC_SLICE_B) in hls_slice_header()
[all …]
Dnvdec_h264.c158 if (sl->slice_type != AV_PICTURE_TYPE_I && sl->slice_type != AV_PICTURE_TYPE_SI) in nvdec_h264_decode_slice()
Dcbs_h265_syntax_template.c1190 if (current->slice_type == HEVC_SLICE_B) { in FUNC()
1256 if (current->slice_type == HEVC_SLICE_B) { in FUNC()
1364 ue(slice_type, 0, 2); in FUNC()
1474 if (current->slice_type == HEVC_SLICE_P || in FUNC()
1475 current->slice_type == HEVC_SLICE_B) { in FUNC()
1479 if (current->slice_type == HEVC_SLICE_B) in FUNC()
1492 if (current->slice_type == HEVC_SLICE_B) in FUNC()
1499 if (current->slice_type == HEVC_SLICE_B) in FUNC()
1516 if ((pps->weighted_pred_flag && current->slice_type == HEVC_SLICE_P) || in FUNC()
1517 (pps->weighted_bipred_flag && current->slice_type == HEVC_SLICE_B)) in FUNC()
Dhevc_mvs.c320 const int nb_refs = (s->sh.slice_type == HEVC_SLICE_P) ? in derive_spatial_merge_candidates()
416 int available_l1 = (s->sh.slice_type == HEVC_SLICE_B) ? in derive_spatial_merge_candidates()
435 if (s->sh.slice_type == HEVC_SLICE_B && nb_orig_merge_cand > 1 && in derive_spatial_merge_candidates()
464 … mergecandlist[nb_merge_cand].pred_flag = PF_L0 + ((s->sh.slice_type == HEVC_SLICE_B) << 1); in derive_spatial_merge_candidates()
Dvaapi_h264.c344 .slice_type = ff_h264_get_slice_type(sl), in vaapi_h264_decode_slice()
345 ….direct_spatial_mv_pred_flag = sl->slice_type == AV_PICTURE_TYPE_B ? sl->direct_spatial_mv_pred … in vaapi_h264_decode_slice()
Dh264_parser.c265 unsigned int slice_type; in parse_nal_units() local
358 slice_type = get_ue_golomb_31(&nal.gb); in parse_nal_units()
359 s->pict_type = ff_h264_golomb_to_pict_type[slice_type % 5]; in parse_nal_units()
Dh265_metadata_bsf.c357 if (slice->header.slice_type == HEVC_SLICE_B && in h265_metadata_update_fragment()
360 if (slice->header.slice_type == HEVC_SLICE_P && in h265_metadata_update_fragment()
Dlibkvazaar.c269 switch (frame_info.slice_type) { in libkvazaar_encode()
Dcbs_h264.h314 uint8_t slice_type; member
/third_party/pcre2/pcre2/maint/
DGenerateUcd.py433 slice_type, slice_size = get_type_size(record_slice)
437 structure += '%s property_%d;\n' % (slice_type, i)
441 slice_type, slice_size = get_type_size(record_slice)
/third_party/vk-gl-cts/external/vulkancts/scripts/src/vk_video/
Dvulkan_video_codec_h264std_encode.h76 StdVideoH264SliceType slice_type; member
/third_party/mesa3d/include/vk_video/
Dvulkan_video_codec_h264std_encode.h88 StdVideoH264SliceType slice_type; member
Dvulkan_video_codec_h265std_encode.h49 StdVideoH265SliceType slice_type; member
/third_party/vulkan-headers/include/vk_video/
Dvulkan_video_codec_h264std_encode.h123 StdVideoH264SliceType slice_type; member
Dvulkan_video_codec_h265std_encode.h80 StdVideoH265SliceType slice_type; member

12