Home
last modified time | relevance | path

Searched refs:pwt (Results 1 – 11 of 11) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dh264_parse.c31 H264PredWeightTable *pwt, in ff_h264_pred_weight_table() argument
37 pwt->use_weight = 0; in ff_h264_pred_weight_table()
38 pwt->use_weight_chroma = 0; in ff_h264_pred_weight_table()
40 pwt->luma_log2_weight_denom = get_ue_golomb_31(gb); in ff_h264_pred_weight_table()
41 if (pwt->luma_log2_weight_denom > 7U) { in ff_h264_pred_weight_table()
42 …av_log(logctx, AV_LOG_ERROR, "luma_log2_weight_denom %d is out of range\n", pwt->luma_log2_weight_… in ff_h264_pred_weight_table()
43 pwt->luma_log2_weight_denom = 0; in ff_h264_pred_weight_table()
45 luma_def = 1 << pwt->luma_log2_weight_denom; in ff_h264_pred_weight_table()
48 pwt->chroma_log2_weight_denom = get_ue_golomb_31(gb); in ff_h264_pred_weight_table()
49 if (pwt->chroma_log2_weight_denom > 7U) { in ff_h264_pred_weight_table()
[all …]
Dvaapi_h264.c200 *luma_weight_flag = sl->pwt.luma_weight_flag[list]; in fill_vaapi_plain_pred_weight_table()
201 *chroma_weight_flag = sl->pwt.chroma_weight_flag[list]; in fill_vaapi_plain_pred_weight_table()
206 if (sl->pwt.luma_weight_flag[list]) { in fill_vaapi_plain_pred_weight_table()
207 luma_weight[i] = sl->pwt.luma_weight[i][list][0]; in fill_vaapi_plain_pred_weight_table()
208 luma_offset[i] = sl->pwt.luma_weight[i][list][1]; in fill_vaapi_plain_pred_weight_table()
210 luma_weight[i] = 1 << sl->pwt.luma_log2_weight_denom; in fill_vaapi_plain_pred_weight_table()
214 if (sl->pwt.chroma_weight_flag[list]) { in fill_vaapi_plain_pred_weight_table()
215 chroma_weight[i][j] = sl->pwt.chroma_weight[i][list][j][0]; in fill_vaapi_plain_pred_weight_table()
216 chroma_offset[i][j] = sl->pwt.chroma_weight[i][list][j][1]; in fill_vaapi_plain_pred_weight_table()
218 chroma_weight[i][j] = 1 << sl->pwt.chroma_log2_weight_denom; in fill_vaapi_plain_pred_weight_table()
[all …]
Dh264_mb.c423 if (sl->pwt.use_weight == 2) { in mc_part_weighted()
424 int weight0 = sl->pwt.implicit_weight[refn0][refn1][sl->mb_y & 1]; in mc_part_weighted()
436 sl->pwt.luma_log2_weight_denom, in mc_part_weighted()
437 sl->pwt.luma_weight[refn0][0][0], in mc_part_weighted()
438 sl->pwt.luma_weight[refn1][1][0], in mc_part_weighted()
439 sl->pwt.luma_weight[refn0][0][1] + in mc_part_weighted()
440 sl->pwt.luma_weight[refn1][1][1]); in mc_part_weighted()
443 sl->pwt.chroma_log2_weight_denom, in mc_part_weighted()
444 sl->pwt.chroma_weight[refn0][0][0][0], in mc_part_weighted()
445 sl->pwt.chroma_weight[refn1][1][0][0], in mc_part_weighted()
[all …]
Ddxva2_h264.c237 slice->luma_log2_weight_denom = sl->pwt.luma_log2_weight_denom; in fill_slice_long()
238 slice->chroma_log2_weight_denom = sl->pwt.chroma_log2_weight_denom; in fill_slice_long()
262 if (plane == 0 && sl->pwt.luma_weight_flag[list]) { in fill_slice_long()
263 w = sl->pwt.luma_weight[i][list][0]; in fill_slice_long()
264 o = sl->pwt.luma_weight[i][list][1]; in fill_slice_long()
265 } else if (plane >= 1 && sl->pwt.chroma_weight_flag[list]) { in fill_slice_long()
266 w = sl->pwt.chroma_weight[i][list][plane-1][0]; in fill_slice_long()
267 o = sl->pwt.chroma_weight[i][list][plane-1][1]; in fill_slice_long()
269 w = 1 << (plane == 0 ? sl->pwt.luma_log2_weight_denom : in fill_slice_long()
270 sl->pwt.chroma_log2_weight_denom); in fill_slice_long()
Dh264_mc_template.c51 if ((sl->pwt.use_weight == 2 && list0 && list1 && in mc_part()
52 …(sl->pwt.implicit_weight[sl->ref_cache[0][scan8[n]]][sl->ref_cache[1][scan8[n]]][sl->mb_y & 1] != … in mc_part()
53 sl->pwt.use_weight == 1) in mc_part()
Dh264_slice.c697 sl->pwt.luma_weight_flag[i] = 0; in implicit_weight_table()
698 sl->pwt.chroma_weight_flag[i] = 0; in implicit_weight_table()
709 sl->pwt.use_weight = 0; in implicit_weight_table()
710 sl->pwt.use_weight_chroma = 0; in implicit_weight_table()
723 sl->pwt.use_weight = 2; in implicit_weight_table()
724 sl->pwt.use_weight_chroma = 2; in implicit_weight_table()
725 sl->pwt.luma_log2_weight_denom = 5; in implicit_weight_table()
726 sl->pwt.chroma_log2_weight_denom = 5; in implicit_weight_table()
744 sl->pwt.implicit_weight[ref0][ref1][0] = in implicit_weight_table()
745 sl->pwt.implicit_weight[ref0][ref1][1] = w; in implicit_weight_table()
[all …]
Dh264_parse.h97 H264PredWeightTable *pwt,
Dh264_parser.c173 H264PredWeightTable pwt; in scan_mmco_reset() local
220 &pwt, p->picture_structure, logctx); in scan_mmco_reset()
Dh264dec.h190 H264PredWeightTable pwt; member
/third_party/astc-encoder/Test/Images/HDRIHaven/HDR-RGB/
Dhdr-rgb-bellparkpier.hdr2064 …�kv�����y|�uq��l������u�vhrf������������j��u���y}�yrwx�ʽ�����vx���}�������pwt����ʻ��»�ɭ����������…
Dhdr-rgb-canarywharf.hdr748 …}{zwvrrprrronmkkmnmhfhe^ZWTRPN����������[�Z��[~�}qmkXNf�s{wvxSbsc���ת\vz�pwt|�orq�۵���סosu�moim�…