Home
last modified time | relevance | path

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

123

/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.c65 enum HEVCSliceType slice_type; in hevc_parse_slice_header() local
139 slice_type = get_ue_golomb_31(gb); in hevc_parse_slice_header()
140 if (!(slice_type == HEVC_SLICE_I || slice_type == HEVC_SLICE_P || in hevc_parse_slice_header()
141 slice_type == HEVC_SLICE_B)) { in hevc_parse_slice_header()
143 slice_type); in hevc_parse_slice_header()
146 s->pict_type = slice_type == HEVC_SLICE_B ? AV_PICTURE_TYPE_B : in hevc_parse_slice_header()
147 slice_type == HEVC_SLICE_P ? AV_PICTURE_TYPE_P : in hevc_parse_slice_header()
Dvaapi_hevc.c343 if (sh->slice_type == HEVC_SLICE_I || in fill_pred_weight_table()
344 (sh->slice_type == HEVC_SLICE_P && !h->ps.pps->weighted_pred_flag) || in fill_pred_weight_table()
345 (sh->slice_type == HEVC_SLICE_B && !h->ps.pps->weighted_bipred_flag)) in fill_pred_weight_table()
363 if (sh->slice_type == HEVC_SLICE_B) { in fill_pred_weight_table()
406 int nb_list = (sh->slice_type == HEVC_SLICE_B) ? in vaapi_hevc_decode_slice()
407 2 : (sh->slice_type == HEVC_SLICE_I ? 0 : 1); in vaapi_hevc_decode_slice()
437 … .five_minus_max_num_merge_cand = sh->slice_type == HEVC_SLICE_I ? 0 : 5 - sh->max_num_merge_cand, in vaapi_hevc_decode_slice()
443 .slice_type = sh->slice_type, in vaapi_hevc_decode_slice()
Dcbs_h264_syntax_template.c783 if (current->slice_type % 5 != 2 && in FUNC()
784 current->slice_type % 5 != 4) { in FUNC()
808 if (current->slice_type % 5 == 1) { in FUNC()
866 if (current->slice_type % 5 == 1) { in FUNC()
970 ue(slice_type, 0, 9); in FUNC()
972 slice_type_i = current->slice_type % 5 == 2; in FUNC()
973 slice_type_p = current->slice_type % 5 == 0; in FUNC()
974 slice_type_b = current->slice_type % 5 == 1; in FUNC()
975 slice_type_si = current->slice_type % 5 == 4; in FUNC()
976 slice_type_sp = current->slice_type % 5 == 3; in FUNC()
[all …]
Dvaapi_encode_h265.c51 int slice_type; member
703 hpic->slice_type = HEVC_SLICE_I; in vaapi_encode_h265_init_picture_params()
711 hpic->slice_type = HEVC_SLICE_I; in vaapi_encode_h265_init_picture_params()
716 hpic->slice_type = HEVC_SLICE_P; in vaapi_encode_h265_init_picture_params()
732 hpic->slice_type = HEVC_SLICE_B; in vaapi_encode_h265_init_picture_params()
909 sh->slice_type = hpic->slice_type; in vaapi_encode_h265_init_slice_params()
994 sh->collocated_from_l0_flag = sh->slice_type == HEVC_SLICE_B; in vaapi_encode_h265_init_slice_params()
1018 .slice_type = sh->slice_type, in vaapi_encode_h265_init_slice_params()
Dvaapi_encode_h264.c58 int slice_type; member
619 hpic->slice_type = 7; in vaapi_encode_h264_init_picture_params()
629 hpic->slice_type = 7; in vaapi_encode_h264_init_picture_params()
632 hpic->slice_type = 5; in vaapi_encode_h264_init_picture_params()
635 hpic->slice_type = 6; in vaapi_encode_h264_init_picture_params()
843 sh->slice_type = hpic->slice_type; in vaapi_encode_h264_init_slice_params()
1008 vslice->slice_type = sh->slice_type % 5; in vaapi_encode_h264_init_slice_params()
Ddxva2_h264.c232 slice->slice_type = ff_h264_get_slice_type(sl); in fill_slice_long()
234 slice->slice_type += 5; in fill_slice_long()
287 if (sl->slice_type == AV_PICTURE_TYPE_B) in fill_slice_long()
492 if (sl->slice_type != AV_PICTURE_TYPE_I && sl->slice_type != AV_PICTURE_TYPE_SI) in dxva2_h264_decode_slice()
Dhevcdec.c212 if (s->sh.slice_type == HEVC_SLICE_B) { in pred_weight_table()
639 sh->slice_type = get_ue_golomb_long(gb); in hls_slice_header()
640 if (!(sh->slice_type == HEVC_SLICE_I || in hls_slice_header()
641 sh->slice_type == HEVC_SLICE_P || in hls_slice_header()
642 sh->slice_type == HEVC_SLICE_B)) { in hls_slice_header()
644 sh->slice_type); in hls_slice_header()
647 if (IS_IRAP(s) && sh->slice_type != HEVC_SLICE_I) { in hls_slice_header()
738 if (sh->slice_type == HEVC_SLICE_P || sh->slice_type == HEVC_SLICE_B) { in hls_slice_header()
742 if (sh->slice_type == HEVC_SLICE_B) in hls_slice_header()
747 if (sh->slice_type == HEVC_SLICE_B) in hls_slice_header()
[all …]
Dh264_slice.c503 pic->f->pict_type = h->slice_ctx[0].slice_type; in h264_frame_start()
1747 unsigned int slice_type, tmp, i; in h264_slice_header_parse() local
1757 slice_type = get_ue_golomb_31(&sl->gb); in h264_slice_header_parse()
1758 if (slice_type > 9) { in h264_slice_header_parse()
1761 slice_type, sl->first_mb_addr); in h264_slice_header_parse()
1764 if (slice_type > 4) { in h264_slice_header_parse()
1765 slice_type -= 5; in h264_slice_header_parse()
1770 slice_type = ff_h264_golomb_to_pict_type[slice_type]; in h264_slice_header_parse()
1771 sl->slice_type = slice_type; in h264_slice_header_parse()
1772 sl->slice_type_nos = slice_type & 3; in h264_slice_header_parse()
[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.c1187 if (current->slice_type == HEVC_SLICE_B) { in FUNC()
1253 if (current->slice_type == HEVC_SLICE_B) { in FUNC()
1361 ue(slice_type, 0, 2); in FUNC()
1471 if (current->slice_type == HEVC_SLICE_P || in FUNC()
1472 current->slice_type == HEVC_SLICE_B) { in FUNC()
1476 if (current->slice_type == HEVC_SLICE_B) in FUNC()
1489 if (current->slice_type == HEVC_SLICE_B) in FUNC()
1496 if (current->slice_type == HEVC_SLICE_B) in FUNC()
1513 if ((pps->weighted_pred_flag && current->slice_type == HEVC_SLICE_P) || in FUNC()
1514 (pps->weighted_bipred_flag && current->slice_type == HEVC_SLICE_B)) in FUNC()
Dhevc_mvs.c319 const int nb_refs = (s->sh.slice_type == HEVC_SLICE_P) ? in derive_spatial_merge_candidates()
415 int available_l1 = (s->sh.slice_type == HEVC_SLICE_B) ? in derive_spatial_merge_candidates()
434 if (s->sh.slice_type == HEVC_SLICE_B && nb_orig_merge_cand > 1 && in derive_spatial_merge_candidates()
463 … 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.c253 unsigned int slice_type; in parse_nal_units() local
345 slice_type = get_ue_golomb_31(&nal.gb); in parse_nal_units()
346 s->pict_type = ff_h264_golomb_to_pict_type[slice_type % 5]; in parse_nal_units()
Dh265_metadata_bsf.c356 if (slice->header.slice_type == HEVC_SLICE_B && in h265_metadata_update_fragment()
359 if (slice->header.slice_type == HEVC_SLICE_P && in h265_metadata_update_fragment()
/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/vk-gl-cts/external/vulkan-docs/src/include/vk_video/
Dvulkan_video_codec_h264std_encode.h76 StdVideoH264SliceType slice_type; member
Dvulkan_video_codec_h265std_encode.h47 StdVideoH265SliceType 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.h116 StdVideoH264SliceType slice_type; member
Dvulkan_video_codec_h265std_encode.h80 StdVideoH265SliceType slice_type; member
/third_party/gstreamer/gstplugins_good/sys/v4l2/ext/
Dv4l2-controls.h1415 ((slice)->slice_type == V4L2_H264_SLICE_TYPE_P || \
1416 (slice)->slice_type == V4L2_H264_SLICE_TYPE_SP)) || \
1418 (slice)->slice_type == V4L2_H264_SLICE_TYPE_B))
1507 __u8 slice_type; member

123