Home
last modified time | relevance | path

Searched refs:segid (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_g2_vp9_dec.c381 unsigned int segid) in update_feat_and_flag() argument
385 vp9_ctx->feature_data[segid][feature] = seg->feature_data[segid][feature]; in update_feat_and_flag()
386 vp9_ctx->feature_enabled[segid] &= ~mask; in update_feat_and_flag()
387 vp9_ctx->feature_enabled[segid] |= (seg->feature_enabled[segid] & mask); in update_feat_and_flag()
409 unsigned int segid; in config_segment() local
434 for (segid = 0; segid < 8; ++segid) { in config_segment()
440 update_feat_and_flag(vp9_ctx, seg, feat_id, segid); in config_segment()
443 vp9_ctx->feature_data[segid][feat_id], in config_segment()
453 update_feat_and_flag(vp9_ctx, seg, feat_id, segid); in config_segment()
456 vp9_ctx->feature_data[segid][feat_id], in config_segment()
[all …]
/openbmc/linux/drivers/staging/media/rkvdec/
H A Drkvdec-vp9.c448 static void config_seg_registers(struct rkvdec_ctx *ctx, unsigned int segid) in config_seg_registers() argument
459 if (v4l2_vp9_seg_feat_enabled(seg->feature_enabled, feature_id, segid)) { in config_seg_registers()
460 feature_val = seg->feature_data[segid][feature_id]; in config_seg_registers()
466 if (v4l2_vp9_seg_feat_enabled(seg->feature_enabled, feature_id, segid)) { in config_seg_registers()
467 feature_val = seg->feature_data[segid][feature_id]; in config_seg_registers()
473 if (v4l2_vp9_seg_feat_enabled(seg->feature_enabled, feature_id, segid)) { in config_seg_registers()
474 feature_val = seg->feature_data[segid][feature_id]; in config_seg_registers()
480 if (v4l2_vp9_seg_feat_enabled(seg->feature_enabled, feature_id, segid)) in config_seg_registers()
483 if (!segid && in config_seg_registers()
487 writel_relaxed(val, rkvdec->regs + RKVDEC_VP9_SEGID_GRP(segid)); in config_seg_registers()
/openbmc/linux/include/media/
H A Dv4l2-vp9.h231 unsigned int segid);
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-vp9.c1840 unsigned int segid) in v4l2_vp9_seg_feat_enabled() argument
1844 return !!(feature_enabled[segid] & mask); in v4l2_vp9_seg_feat_enabled()