Home
last modified time | relevance | path

Searched refs:feature_data (Results 1 – 10 of 10) sorted by relevance

/drivers/firmware/xilinx/
Dzynqmp.c200 struct pm_api_feature_data *feature_data; in do_feature_check_call() local
203 hash_for_each_possible(pm_api_features_map, feature_data, hentry, in do_feature_check_call()
205 if (feature_data->pm_api_id == api_id) in do_feature_check_call()
206 return feature_data->feature_status; in do_feature_check_call()
210 feature_data = kmalloc(sizeof(*feature_data), GFP_ATOMIC); in do_feature_check_call()
211 if (!feature_data) in do_feature_check_call()
214 feature_data->pm_api_id = api_id; in do_feature_check_call()
217 feature_data->feature_status = ret; in do_feature_check_call()
218 hash_add(pm_api_features_map, &feature_data->hentry, api_id); in do_feature_check_call()
2009 struct pm_api_feature_data *feature_data; in zynqmp_firmware_remove() local
[all …]
/drivers/media/platform/verisilicon/
Dhantro_g2_vp9_dec.c385 vp9_ctx->feature_data[segid][feature] = seg->feature_data[segid][feature]; in update_feat_and_flag()
395 static s16 feat_val_clip3(s16 feat_val, s16 feature_data, bool absolute, u8 clip) in feat_val_clip3() argument
398 return feature_data; in feat_val_clip3()
400 return clip3(0, 255, feat_val + feature_data); in feat_val_clip3()
443 vp9_ctx->feature_data[segid][feat_id], in config_segment()
456 vp9_ctx->feature_data[segid][feat_id], in config_segment()
469 feat_val = vp9_ctx->feature_data[segid][feat_id] + 1; in config_segment()
776 memset(vp9_ctx->feature_data, 0, sizeof(vp9_ctx->feature_data)); in config_seg_map()
Drockchip_vpu981_hw_av1_dec.c841 clamp(abs(seg->feature_data[s][V4L2_AV1_SEG_LVL_ALT_Q]), in rockchip_vpu981_av1_dec_set_segmentation()
844 (seg->feature_data[s][V4L2_AV1_SEG_LVL_ALT_Q] < 0) << s; in rockchip_vpu981_av1_dec_set_segmentation()
850 clamp(abs(seg->feature_data[s][V4L2_AV1_SEG_LVL_ALT_LF_Y_V]), in rockchip_vpu981_av1_dec_set_segmentation()
856 clamp(abs(seg->feature_data[s][V4L2_AV1_SEG_LVL_ALT_LF_Y_H]), in rockchip_vpu981_av1_dec_set_segmentation()
862 clamp(abs(seg->feature_data[s][V4L2_AV1_SEG_LVL_ALT_LF_U]), in rockchip_vpu981_av1_dec_set_segmentation()
868 clamp(abs(seg->feature_data[s][V4L2_AV1_SEG_LVL_ALT_LF_V]), in rockchip_vpu981_av1_dec_set_segmentation()
1052 qindex += segmentation->feature_data[i][V4L2_AV1_SEG_LVL_ALT_Q]; in rockchip_vpu981_av1_dec_is_lossless()
Dhantro_hw.h252 s16 feature_data[8][4]; member
/drivers/media/test-drivers/visl/
Dvisl-trace-vp9.h65 __entry->f.seg.feature_data,
66 sizeof(__entry->f.seg.feature_data),
/drivers/media/v4l2-core/
Dv4l2-ctrls-core.c464 for (i = 0; i < ARRAY_SIZE(seg->feature_data); i++) { in validate_vp9_seg_params()
467 for (j = 0; j < ARRAY_SIZE(seg->feature_data[j]); j++) { in validate_vp9_seg_params()
468 if (seg->feature_data[i][j] < -range[j] || in validate_vp9_seg_params()
469 seg->feature_data[i][j] > range[j]) in validate_vp9_seg_params()
597 for (i = 0; i < ARRAY_SIZE(s->feature_data); i++) { in validate_av1_segmentation()
601 for (j = 0; j < ARRAY_SIZE(s->feature_data[j]); j++) { in validate_av1_segmentation()
605 if (s->feature_data[i][j] < -limit || in validate_av1_segmentation()
606 s->feature_data[i][j] > limit) in validate_av1_segmentation()
609 if (s->feature_data[i][j] < 0 || s->feature_data[i][j] > limit) in validate_av1_segmentation()
/drivers/staging/media/rkvdec/
Drkvdec-vp9.c460 feature_val = seg->feature_data[segid][feature_id]; in config_seg_registers()
467 feature_val = seg->feature_data[segid][feature_id]; in config_seg_registers()
474 feature_val = seg->feature_data[segid][feature_id]; in config_seg_registers()
/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_av1_req_lat_if.c267 int feature_data[V4L2_AV1_MAX_SEGMENTS][V4L2_AV1_SEG_LVL_MAX]; member
1170 seg->feature_data[i][j] = ctrl_seg->feature_data[i][j]; in vdec_av1_slice_setup_seg()
1198 data = seg->feature_data[segmentation_id][SEG_LVL_ALT_Q]; in vdec_av1_slice_get_qindex()
Dvdec_vp9_req_lat_if.c875 uh->feature_value[i][j] = seg->feature_data[i][j]; in vdec_vp9_slice_setup_segmentation()
/drivers/staging/media/meson/vdec/
Dcodec_vp9.c392 s16 feature_data[MAX_SEGMENTS][SEG_LVL_MAX]; member
505 return seg->feature_data[segment_id][feature_id]; in get_segdata()
1334 vp9->seg_4lf.feature_data[i][SEG_LVL_ALT_LF] = in codec_vp9_process_lf()