Home
last modified time | relevance | path

Searched refs:sps (Results 1 – 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/media/platform/coda/
Dcoda-h264.c259 struct rbsp sps; in coda_h264_sps_fixup() local
266 sps.buf = buf + 5; /* Skip NAL header */ in coda_h264_sps_fixup()
267 sps.size = *size - 5; in coda_h264_sps_fixup()
269 profile_idc = sps.buf[0]; in coda_h264_sps_fixup()
272 sps.pos = 24; in coda_h264_sps_fixup()
275 ret = rbsp_read_uev(&sps, NULL); in coda_h264_sps_fixup()
291 ret = rbsp_read_uev(&sps, NULL); in coda_h264_sps_fixup()
295 ret = rbsp_read_uev(&sps, &pic_order_cnt_type); in coda_h264_sps_fixup()
301 ret = rbsp_read_uev(&sps, NULL); in coda_h264_sps_fixup()
308 ret = rbsp_read_bit(&sps); in coda_h264_sps_fixup()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/allegro-dvt/
Dnal-h264.c594 static void nal_h264_rbsp_sps(struct rbsp *rbsp, struct nal_h264_sps *sps) in nal_h264_rbsp_sps() argument
598 if (!sps) { in nal_h264_rbsp_sps()
603 rbsp_bits(rbsp, 8, &sps->profile_idc); in nal_h264_rbsp_sps()
604 rbsp_bit(rbsp, &sps->constraint_set0_flag); in nal_h264_rbsp_sps()
605 rbsp_bit(rbsp, &sps->constraint_set1_flag); in nal_h264_rbsp_sps()
606 rbsp_bit(rbsp, &sps->constraint_set2_flag); in nal_h264_rbsp_sps()
607 rbsp_bit(rbsp, &sps->constraint_set3_flag); in nal_h264_rbsp_sps()
608 rbsp_bit(rbsp, &sps->constraint_set4_flag); in nal_h264_rbsp_sps()
609 rbsp_bit(rbsp, &sps->constraint_set5_flag); in nal_h264_rbsp_sps()
610 rbsp_bits(rbsp, 2, &sps->reserved_zero_2bits); in nal_h264_rbsp_sps()
[all …]
Dallegro-core.c1271 struct nal_h264_sps *sps; in allegro_h264_write_sps() local
1278 sps = kzalloc(sizeof(*sps), GFP_KERNEL); in allegro_h264_write_sps()
1279 if (!sps) in allegro_h264_write_sps()
1282 sps->profile_idc = nal_h264_profile_from_v4l2(channel->profile); in allegro_h264_write_sps()
1283 sps->constraint_set0_flag = 0; in allegro_h264_write_sps()
1284 sps->constraint_set1_flag = 1; in allegro_h264_write_sps()
1285 sps->constraint_set2_flag = 0; in allegro_h264_write_sps()
1286 sps->constraint_set3_flag = 0; in allegro_h264_write_sps()
1287 sps->constraint_set4_flag = 0; in allegro_h264_write_sps()
1288 sps->constraint_set5_flag = 0; in allegro_h264_write_sps()
[all …]
Dnal-h264.h194 void *dest, size_t n, struct nal_h264_sps *sps);
196 struct nal_h264_sps *sps, void *src, size_t n);
197 void nal_h264_print_sps(const struct device *dev, struct nal_h264_sps *sps);
/kernel/linux/linux-5.10/drivers/soc/actions/
Dowl-sps.c44 struct owl_sps *sps; member
54 return owl_sps_set_pg(pd->sps->base, pwr_mask, ack_mask, enable); in owl_sps_set_power()
61 dev_dbg(pd->sps->dev, "%s power on", pd->info->name); in owl_sps_power_on()
70 dev_dbg(pd->sps->dev, "%s power off", pd->info->name); in owl_sps_power_off()
75 static int owl_sps_init_domain(struct owl_sps *sps, int index) in owl_sps_init_domain() argument
79 pd = devm_kzalloc(sps->dev, sizeof(*pd), GFP_KERNEL); in owl_sps_init_domain()
83 pd->info = &sps->info->domains[index]; in owl_sps_init_domain()
84 pd->sps = sps; in owl_sps_init_domain()
92 sps->genpd_data.domains[index] = &pd->genpd; in owl_sps_init_domain()
101 struct owl_sps *sps; in owl_sps_probe() local
[all …]
DMakefile3 obj-$(CONFIG_OWL_PM_DOMAINS_HELPER) += owl-sps-helper.o
4 obj-$(CONFIG_OWL_PM_DOMAINS) += owl-sps.o
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Dhantro_g1_h264_dec.c26 const struct v4l2_ctrl_h264_sps *sps = ctrls->sps; in set_params() local
34 if (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD) in set_params()
36 if (sps->profile_idc > 66) { in set_params()
42 if (!(sps->flags & V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY) && in set_params()
43 (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD || in set_params()
55 G1_REG_DEC_CTRL1_REF_FRAMES(sps->max_num_ref_frames); in set_params()
64 if (!(sps->flags & V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY)) in set_params()
75 reg = G1_REG_DEC_CTRL4_FRAMENUM_LEN(sps->log2_max_frame_num_minus4 + 4) | in set_params()
80 if (sps->flags & V4L2_H264_SPS_FLAG_DIRECT_8X8_INFERENCE) in set_params()
82 if (sps->profile_idc >= 100 && sps->chroma_format_idc == 0) in set_params()
[all …]
Dhantro_h264.c356 ctrls->sps = in hantro_h264_dec_prepare_run()
358 if (WARN_ON(!ctrls->sps)) in hantro_h264_dec_prepare_run()
374 ctrls->sps, ctx->h264_dec.dpb); in hantro_h264_dec_prepare_run()
Dhantro_drv.c246 const struct v4l2_ctrl_h264_sps *sps = ctrl->p_new.p_h264_sps; in hantro_try_ctrl() local
248 if (sps->chroma_format_idc > 1) in hantro_try_ctrl()
251 if (sps->bit_depth_luma_minus8 != sps->bit_depth_chroma_minus8) in hantro_try_ctrl()
254 if (sps->bit_depth_luma_minus8 != 0) in hantro_try_ctrl()
Dhantro_hw.h65 const struct v4l2_ctrl_h264_sps *sps; member
/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/
Dcedrus_h265.c248 const struct v4l2_ctrl_hevc_sps *sps; in cedrus_h265_setup() local
259 sps = run->h265.sps; in cedrus_h265_setup()
269 sps->log2_min_luma_coding_block_size_minus3 + 3 + in cedrus_h265_setup()
270 sps->log2_diff_max_min_luma_coding_block_size; in cedrus_h265_setup()
350 …reg = VE_DEC_H265_DEC_SPS_HDR_MAX_TRANSFORM_HIERARCHY_DEPTH_INTRA(sps->max_transform_hierarchy_dep… in cedrus_h265_setup()
351 …VE_DEC_H265_DEC_SPS_HDR_MAX_TRANSFORM_HIERARCHY_DEPTH_INTER(sps->max_transform_hierarchy_depth_int… in cedrus_h265_setup()
352 …VE_DEC_H265_DEC_SPS_HDR_LOG2_DIFF_MAX_MIN_TRANSFORM_BLOCK_SIZE(sps->log2_diff_max_min_luma_transfo… in cedrus_h265_setup()
353 …VE_DEC_H265_DEC_SPS_HDR_LOG2_MIN_TRANSFORM_BLOCK_SIZE_MINUS2(sps->log2_min_luma_transform_block_si… in cedrus_h265_setup()
354 …VE_DEC_H265_DEC_SPS_HDR_LOG2_DIFF_MAX_MIN_LUMA_CODING_BLOCK_SIZE(sps->log2_diff_max_min_luma_codin… in cedrus_h265_setup()
355 …VE_DEC_H265_DEC_SPS_HDR_LOG2_MIN_LUMA_CODING_BLOCK_SIZE_MINUS3(sps->log2_min_luma_coding_block_siz… in cedrus_h265_setup()
[all …]
Dcedrus_h264.c98 const struct v4l2_ctrl_h264_sps *sps = run->h264.sps; in cedrus_write_frame_list() local
151 else if (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD) in cedrus_write_frame_list()
327 const struct v4l2_ctrl_h264_sps *sps = run->h264.sps; in cedrus_set_params() local
403 reg |= (sps->chroma_format_idc & 0x7) << 19; in cedrus_set_params()
404 reg |= (sps->pic_width_in_mbs_minus1 & 0xff) << 8; in cedrus_set_params()
405 reg |= sps->pic_height_in_map_units_minus1 & 0xff; in cedrus_set_params()
406 if (sps->flags & V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY) in cedrus_set_params()
408 if (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD) in cedrus_set_params()
410 if (sps->flags & V4L2_H264_SPS_FLAG_DIRECT_8X8_INFERENCE) in cedrus_set_params()
415 (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD); in cedrus_set_params()
[all …]
Dcedrus_dec.c58 run.h264.sps = cedrus_find_control_data(ctx, in cedrus_device_run()
65 run.h265.sps = cedrus_find_control_data(ctx, in cedrus_device_run()
Dcedrus.h64 const struct v4l2_ctrl_h264_sps *sps; member
74 const struct v4l2_ctrl_hevc_sps *sps; member
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/
Dactions,owl-sps.txt4 - compatible : "actions,s500-sps" for S500
5 "actions,s700-sps" for S700
6 "actions,s900-sps" for S900
17 sps: power-controller@b01b0100 {
18 compatible = "actions,s500-sps";
/kernel/linux/linux-5.10/drivers/staging/media/rkvdec/
Drkvdec-h264.c112 const struct v4l2_ctrl_h264_sps *sps; member
640 const struct v4l2_ctrl_h264_sps *sps = run->sps; in assemble_hw_pps() local
664 WRITE_PPS(sps->chroma_format_idc, CHROMA_FORMAT_IDC); in assemble_hw_pps()
665 WRITE_PPS(sps->bit_depth_luma_minus8, BIT_DEPTH_LUMA); in assemble_hw_pps()
666 WRITE_PPS(sps->bit_depth_chroma_minus8, BIT_DEPTH_CHROMA); in assemble_hw_pps()
668 WRITE_PPS(sps->log2_max_frame_num_minus4, LOG2_MAX_FRAME_NUM_MINUS4); in assemble_hw_pps()
669 WRITE_PPS(sps->max_num_ref_frames, MAX_NUM_REF_FRAMES); in assemble_hw_pps()
670 WRITE_PPS(sps->pic_order_cnt_type, PIC_ORDER_CNT_TYPE); in assemble_hw_pps()
671 WRITE_PPS(sps->log2_max_pic_order_cnt_lsb_minus4, in assemble_hw_pps()
673 WRITE_PPS(!!(sps->flags & V4L2_H264_SPS_FLAG_DELTA_PIC_ORDER_ALWAYS_ZERO), in assemble_hw_pps()
[all …]
/kernel/linux/linux-5.10/drivers/iio/imu/
Dadis16400.c356 int sps, ret; in adis16400_get_freq() local
363 sps = (t & ADIS16400_SMPL_PRD_TIME_BASE) ? 52851 : 1638404; in adis16400_get_freq()
364 sps /= (t & ADIS16400_SMPL_PRD_DIV_MASK) + 1; in adis16400_get_freq()
366 return sps; in adis16400_get_freq()
405 static int __adis16400_set_filter(struct iio_dev *indio_dev, int sps, int val) in __adis16400_set_filter() argument
412 if (sps / adis16400_3db_divisors[i] >= val) in __adis16400_set_filter()
508 int ret, sps; in adis16400_write_raw() local
523 sps = st->variant->get_freq(st); in adis16400_write_raw()
524 if (sps < 0) { in adis16400_write_raw()
526 return sps; in adis16400_write_raw()
[all …]
/kernel/linux/linux-5.10/fs/dlm/
Dconfig.c83 struct dlm_spaces *sps; member
375 struct dlm_spaces *sps = NULL; in make_cluster() local
379 sps = kzalloc(sizeof(struct dlm_spaces), GFP_NOFS); in make_cluster()
382 if (!cl || !sps || !cms) in make_cluster()
385 cl->sps = sps; in make_cluster()
389 config_group_init_type_name(&sps->ss_group, "spaces", &spaces_type); in make_cluster()
392 configfs_add_default_group(&sps->ss_group, &cl->group); in make_cluster()
411 space_list = &sps->ss_group; in make_cluster()
417 kfree(sps); in make_cluster()
438 kfree(cl->sps); in release_cluster()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dowl-s500.dtsi46 power-domains = <&sps S500_PD_CPU2>;
54 power-domains = <&sps S500_PD_CPU3>;
182 sps: power-controller@b01b0100 { label
183 compatible = "actions,s500-sps";
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
Dfsl_gtm.c173 u8 sps; in gtm_set_ref_timer16() local
197 sps = prescaler - 1; in gtm_set_ref_timer16()
200 sps = prescaler / 256 - 1; in gtm_set_ref_timer16()
216 clrsetbits_be16(tmr->gtmdr, 0xFFFF, iclk | GTMDR_SPS(sps) | in gtm_set_ref_timer16()
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/
Dtlb.c534 unsigned int ps, sps; in setup_page_sizes() local
536 sps = eptcfg & 0x1f; in setup_page_sizes()
540 if (!ps || !sps) in setup_page_sizes()
547 if (sps == (def->shift - 10)) in setup_page_sizes()
/kernel/linux/linux-5.10/include/media/
Dv4l2-h264.h47 const struct v4l2_ctrl_h264_sps *sps,
/kernel/linux/linux-5.10/arch/arm64/boot/dts/actions/
Ds700.dtsi220 sps: power-controller@e01b0100 { label
221 compatible = "actions,s700-sps";
260 power-domains = <&sps S700_PD_DMA>;
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_pr.c1956 info->sps[0].page_shift = 12; in kvm_vm_ioctl_get_smmu_info_pr()
1957 info->sps[0].slb_enc = 0; in kvm_vm_ioctl_get_smmu_info_pr()
1958 info->sps[0].enc[0].page_shift = 12; in kvm_vm_ioctl_get_smmu_info_pr()
1959 info->sps[0].enc[0].pte_enc = 0; in kvm_vm_ioctl_get_smmu_info_pr()
1974 info->sps[i].page_shift = 16; in kvm_vm_ioctl_get_smmu_info_pr()
1975 info->sps[i].slb_enc = SLB_VSID_L | SLB_VSID_LP_01; in kvm_vm_ioctl_get_smmu_info_pr()
1976 info->sps[i].enc[0].page_shift = 16; in kvm_vm_ioctl_get_smmu_info_pr()
1977 info->sps[i].enc[0].pte_enc = 1; in kvm_vm_ioctl_get_smmu_info_pr()
1982 info->sps[i].page_shift = 24; in kvm_vm_ioctl_get_smmu_info_pr()
1983 info->sps[i].slb_enc = SLB_VSID_L; in kvm_vm_ioctl_get_smmu_info_pr()
[all …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-h264.c27 const struct v4l2_ctrl_h264_sps *sps, in v4l2_h264_init_reflist_builder() argument
33 max_frame_num = 1 << (sps->log2_max_frame_num_minus4 + 4); in v4l2_h264_init_reflist_builder()

12