Searched refs:pwt (Results 1 – 10 of 10) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | h264_parse.c | 29 H264PredWeightTable *pwt, in ff_h264_pred_weight_table() argument 35 pwt->use_weight = 0; in ff_h264_pred_weight_table() 36 pwt->use_weight_chroma = 0; in ff_h264_pred_weight_table() 38 pwt->luma_log2_weight_denom = get_ue_golomb(gb); in ff_h264_pred_weight_table() 39 if (pwt->luma_log2_weight_denom > 7U) { in ff_h264_pred_weight_table() 40 …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() 41 pwt->luma_log2_weight_denom = 0; in ff_h264_pred_weight_table() 43 luma_def = 1 << pwt->luma_log2_weight_denom; in ff_h264_pred_weight_table() 46 pwt->chroma_log2_weight_denom = get_ue_golomb(gb); in ff_h264_pred_weight_table() 47 if (pwt->chroma_log2_weight_denom > 7U) { in ff_h264_pred_weight_table() [all …]
|
D | vaapi_h264.c | 200 *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 …]
|
D | h264_mb.c | 423 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 …]
|
D | dxva2_h264.c | 235 slice->luma_log2_weight_denom = sl->pwt.luma_log2_weight_denom; in fill_slice_long() 236 slice->chroma_log2_weight_denom = sl->pwt.chroma_log2_weight_denom; in fill_slice_long() 260 if (plane == 0 && sl->pwt.luma_weight_flag[list]) { in fill_slice_long() 261 w = sl->pwt.luma_weight[i][list][0]; in fill_slice_long() 262 o = sl->pwt.luma_weight[i][list][1]; in fill_slice_long() 263 } else if (plane >= 1 && sl->pwt.chroma_weight_flag[list]) { in fill_slice_long() 264 w = sl->pwt.chroma_weight[i][list][plane-1][0]; in fill_slice_long() 265 o = sl->pwt.chroma_weight[i][list][plane-1][1]; in fill_slice_long() 267 w = 1 << (plane == 0 ? sl->pwt.luma_log2_weight_denom : in fill_slice_long() 268 sl->pwt.chroma_log2_weight_denom); in fill_slice_long()
|
D | h264_mc_template.c | 51 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()
|
D | h264_parse.h | 58 H264PredWeightTable *pwt,
|
D | h264_slice.c | 664 sl->pwt.luma_weight_flag[i] = 0; in implicit_weight_table() 665 sl->pwt.chroma_weight_flag[i] = 0; in implicit_weight_table() 676 sl->pwt.use_weight = 0; in implicit_weight_table() 677 sl->pwt.use_weight_chroma = 0; in implicit_weight_table() 690 sl->pwt.use_weight = 2; in implicit_weight_table() 691 sl->pwt.use_weight_chroma = 2; in implicit_weight_table() 692 sl->pwt.luma_log2_weight_denom = 5; in implicit_weight_table() 693 sl->pwt.chroma_log2_weight_denom = 5; in implicit_weight_table() 711 sl->pwt.implicit_weight[ref0][ref1][0] = in implicit_weight_table() 712 sl->pwt.implicit_weight[ref0][ref1][1] = w; in implicit_weight_table() [all …]
|
D | h264_parser.c | 161 H264PredWeightTable pwt; in scan_mmco_reset() local 208 &pwt, p->picture_structure, logctx); in scan_mmco_reset()
|
D | h264dec.h | 203 H264PredWeightTable pwt; member
|
/third_party/uboot/u-boot-2020.01/arch/x86/lib/ |
D | physmem.c | 28 uint64_t pwt:1; member 42 uint64_t pwt:1; /* page-level writethrough */ member
|