Home
last modified time | relevance | path

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

12

/linux/drivers/media/platform/allegro-dvt/
A Dnal-h264.c202 if (!sps) { in nal_h264_rbsp_sps()
219 if (sps->profile_idc == 100 || sps->profile_idc == 110 || in nal_h264_rbsp_sps()
220 sps->profile_idc == 122 || sps->profile_idc == 244 || in nal_h264_rbsp_sps()
221 sps->profile_idc == 44 || sps->profile_idc == 83 || in nal_h264_rbsp_sps()
222 sps->profile_idc == 86 || sps->profile_idc == 118 || in nal_h264_rbsp_sps()
223 sps->profile_idc == 128 || sps->profile_idc == 138 || in nal_h264_rbsp_sps()
224 sps->profile_idc == 139 || sps->profile_idc == 134 || in nal_h264_rbsp_sps()
225 sps->profile_idc == 135) { in nal_h264_rbsp_sps()
265 if (!sps->frame_mbs_only_flag) in nal_h264_rbsp_sps()
372 nal_h264_rbsp_sps(&rbsp, sps); in nal_h264_write_sps()
[all …]
A Dnal-hevc.c351 if (sps->chroma_format_idc == 3) in nal_hevc_rbsp_sps()
356 if (sps->conformance_window_flag) { in nal_hevc_rbsp_sps()
368 for (i = (sps->sub_layer_ordering_info_present_flag ? 0 : sps->max_sub_layers_minus1); in nal_hevc_rbsp_sps()
388 if (sps->pcm_enabled_flag) { in nal_hevc_rbsp_sps()
411 if (sps->extension_present_flag) { in nal_hevc_rbsp_sps()
418 if (sps->sps_range_extension_flag) in nal_hevc_rbsp_sps()
422 if (sps->sps_3d_extension_flag) in nal_hevc_rbsp_sps()
424 if (sps->sps_scc_extension_flag) in nal_hevc_rbsp_sps()
426 if (sps->sps_extension_4bits) in nal_hevc_rbsp_sps()
636 nal_hevc_rbsp_sps(&rbsp, sps); in nal_hevc_write_sps()
[all …]
A Dallegro-core.c1573 struct nal_h264_sps *sps; in allegro_h264_write_sps() local
1584 sps = kzalloc(sizeof(*sps), GFP_KERNEL); in allegro_h264_write_sps()
1585 if (!sps) in allegro_h264_write_sps()
1615 sps->crop_left = 0; in allegro_h264_write_sps()
1617 sps->crop_top = 0; in allegro_h264_write_sps()
1669 kfree(sps); in allegro_h264_write_sps()
1774 sps = kzalloc(sizeof(*sps), GFP_KERNEL); in allegro_hevc_write_sps()
1775 if (!sps) in allegro_hevc_write_sps()
1797 sps->conf_win_right_offset || sps->conf_win_bottom_offset; in allegro_hevc_write_sps()
1822 vui = &sps->vui; in allegro_hevc_write_sps()
[all …]
A Dnal-h264.h390 void *dest, size_t n, struct nal_h264_sps *sps);
392 struct nal_h264_sps *sps, void *src, size_t n);
393 void nal_h264_print_sps(const struct device *dev, struct nal_h264_sps *sps);
/linux/drivers/media/platform/coda/
A Dcoda-h264.c259 struct rbsp sps; in coda_h264_sps_fixup() local
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()
308 ret = rbsp_read_bit(&sps); in coda_h264_sps_fixup()
320 ret = rbsp_read_uev(&sps, in coda_h264_sps_fixup()
338 ret = rbsp_read_bit(&sps); in coda_h264_sps_fixup()
357 ret = rbsp_read_bit(&sps); in coda_h264_sps_fixup()
362 pos = sps.pos; in coda_h264_sps_fixup()
401 sps.size = max_size - 5; in coda_h264_sps_fixup()
[all …]
/linux/drivers/soc/actions/
A Dowl-sps.c44 struct owl_sps *sps; member
84 pd->sps = sps; in owl_sps_init_domain()
101 struct owl_sps *sps; in owl_sps_probe() local
117 sps = devm_kzalloc(&pdev->dev, in owl_sps_probe()
120 if (!sps) in owl_sps_probe()
124 if (IS_ERR(sps->base)) { in owl_sps_probe()
126 return PTR_ERR(sps->base); in owl_sps_probe()
129 sps->dev = &pdev->dev; in owl_sps_probe()
130 sps->info = sps_info; in owl_sps_probe()
131 sps->genpd_data.domains = sps->domains; in owl_sps_probe()
[all …]
A Dbuilt-in.a3 owl-sps-helper.o/
4 owl-sps.o/
A DMakefile3 obj-$(CONFIG_OWL_PM_DOMAINS_HELPER) += owl-sps-helper.o
4 obj-$(CONFIG_OWL_PM_DOMAINS) += owl-sps.o
A D.built-in.a.cmd1 …T drivers/soc/actions/built-in.a drivers/soc/actions/owl-sps-helper.o drivers/soc/actions/owl-sps.o
/linux/drivers/staging/media/hantro/
A Dhantro_g2_hevc_dec.c30 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in prepare_tile_info_buffer() local
45 sps->log2_diff_max_min_luma_coding_block_size; in prepare_tile_info_buffer()
46 pic_width_in_ctbs = (sps->pic_width_in_luma_samples + in prepare_tile_info_buffer()
123 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in set_params() local
168 sps->max_transform_hierarchy_depth_inter); in set_params()
170 sps->max_transform_hierarchy_depth_intra); in set_params()
237 sps->pcm_sample_bit_depth_luma_minus1 + 1); in set_params()
239 sps->pcm_sample_bit_depth_chroma_minus1 + 1); in set_params()
365 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in set_ref() local
489 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in set_buffers() local
[all …]
A Dhantro_hevc.c32 size_t hantro_hevc_chroma_offset(const struct v4l2_ctrl_hevc_sps *sps) in hantro_hevc_chroma_offset() argument
34 int bytes_per_pixel = sps->bit_depth_luma_minus8 == 0 ? 1 : 2; in hantro_hevc_chroma_offset()
36 return sps->pic_width_in_luma_samples * in hantro_hevc_chroma_offset()
37 sps->pic_height_in_luma_samples * bytes_per_pixel; in hantro_hevc_chroma_offset()
42 size_t cr_offset = hantro_hevc_chroma_offset(sps); in hantro_hevc_motion_vectors_offset()
47 static size_t hantro_hevc_mv_size(const struct v4l2_ctrl_hevc_sps *sps) in hantro_hevc_mv_size() argument
69 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in hantro_hevc_ref_size() local
71 return hantro_hevc_motion_vectors_offset(sps) + hantro_hevc_mv_size(sps); in hantro_hevc_ref_size()
167 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; in tile_buffer_reallocate() local
266 ctrls->sps = in hantro_hevc_dec_prepare_run()
[all …]
A Dhantro_g1_h264_dec.c26 const struct v4l2_ctrl_h264_sps *sps = ctrls->sps; in set_params() local
33 if (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD) in set_params()
35 if (sps->profile_idc > 66) { in set_params()
41 if (!(sps->flags & V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY) && in set_params()
42 (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD || in set_params()
54 G1_REG_DEC_CTRL1_REF_FRAMES(sps->max_num_ref_frames); in set_params()
63 if (!(sps->flags & V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY)) in set_params()
79 if (sps->flags & V4L2_H264_SPS_FLAG_DIRECT_8X8_INFERENCE) in set_params()
81 if (sps->profile_idc >= 100 && sps->chroma_format_idc == 0) in set_params()
230 if (ctrls->sps->profile_idc >= 100 && in set_buffers()
[all …]
A Drockchip_vpu2_hw_h264_dec.c197 const struct v4l2_ctrl_h264_sps *sps = ctrls->sps; in set_params() local
239 (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD || in set_params()
243 VDPU_REG_WRITE_MVS_E((sps->profile_idc > 66) && dec_param->nal_ref_idc) | in set_params()
245 VDPU_REG_PICORD_COUNT_E(sps->profile_idc > 66) | in set_params()
268 VDPU_REG_REF_FRAMES(sps->max_num_ref_frames); in set_params()
273 VDPU_REG_FRAMENUM_LEN(sps->log2_max_frame_num_minus4 + 4) | in set_params()
289 VDPU_REG_BLACKWHITE_E(sps->profile_idc >= 100 && sps->chroma_format_idc == 0) | in set_params()
295 VDPU_REG_FIELDPIC_FLAG_E(!(sps->flags & V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY)); in set_params()
443 if (ctrls->sps->profile_idc > 66 && ctrls->decode->nal_ref_idc) { in set_buffers()
447 if (ctrls->sps->profile_idc >= 100 && in set_buffers()
[all …]
A Dhantro_hw.h68 const struct v4l2_ctrl_h264_sps *sps; member
117 const struct v4l2_ctrl_hevc_sps *sps; member
260 size_t hantro_hevc_chroma_offset(const struct v4l2_ctrl_hevc_sps *sps);
261 size_t hantro_hevc_motion_vectors_offset(const struct v4l2_ctrl_hevc_sps *sps);
/linux/drivers/staging/media/sunxi/cedrus/
A Dcedrus_h265.c308 const struct v4l2_ctrl_hevc_sps *sps; in cedrus_h265_setup() local
322 sps = run->h265.sps; in cedrus_h265_setup()
329 sps->log2_min_luma_coding_block_size_minus3 + 3 + in cedrus_h265_setup()
330 sps->log2_diff_max_min_luma_coding_block_size; in cedrus_h265_setup()
431 sps->flags); in cedrus_h265_setup()
435 sps->flags); in cedrus_h265_setup()
439 sps->flags); in cedrus_h265_setup()
442 V4L2_HEVC_SPS_FLAG_AMP_ENABLED, sps->flags); in cedrus_h265_setup()
446 sps->flags); in cedrus_h265_setup()
456 V4L2_HEVC_SPS_FLAG_PCM_ENABLED, sps->flags); in cedrus_h265_setup()
[all …]
A Dcedrus.c34 const struct v4l2_ctrl_h264_sps *sps = ctrl->p_new.p_h264_sps; in cedrus_try_ctrl() local
36 if (sps->chroma_format_idc != 1) in cedrus_try_ctrl()
39 if (sps->bit_depth_luma_minus8 != sps->bit_depth_chroma_minus8) in cedrus_try_ctrl()
42 if (sps->bit_depth_luma_minus8 != 0) in cedrus_try_ctrl()
46 const struct v4l2_ctrl_hevc_sps *sps = ctrl->p_new.p_hevc_sps; in cedrus_try_ctrl() local
49 if (sps->chroma_format_idc != 1) in cedrus_try_ctrl()
53 if (sps->bit_depth_luma_minus8 != sps->bit_depth_chroma_minus8) in cedrus_try_ctrl()
58 if (sps->bit_depth_luma_minus8 != 0 && sps->bit_depth_luma_minus8 != 2) in cedrus_try_ctrl()
62 if (sps->bit_depth_luma_minus8 != 0) in cedrus_try_ctrl()
A 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 …]
/linux/Documentation/devicetree/bindings/power/
A 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";
/linux/drivers/staging/media/rkvdec/
A Drkvdec-h264.c112 const struct v4l2_ctrl_h264_sps *sps; member
639 const struct v4l2_ctrl_h264_sps *sps = run->sps; in assemble_hw_pps() local
663 WRITE_PPS(sps->chroma_format_idc, CHROMA_FORMAT_IDC); in assemble_hw_pps()
670 WRITE_PPS(sps->log2_max_pic_order_cnt_lsb_minus4, in assemble_hw_pps()
734 const struct v4l2_ctrl_h264_sps *sps = run->sps; in assemble_hw_rps() local
885 const struct v4l2_ctrl_h264_sps *sps = run->sps; in config_registers() local
913 if (sps->chroma_format_idc == 0) in config_registers()
915 else if (sps->chroma_format_idc == 1) in config_registers()
917 else if (sps->chroma_format_idc == 2) in config_registers()
1075 run->sps = ctrl ? ctrl->p_cur.p : NULL; in rkvdec_h264_run_preamble()
[all …]
/linux/drivers/iio/imu/
A Dadis16400.c349 int sps, ret; in adis16400_get_freq() local
357 sps /= (t & ADIS16400_SMPL_PRD_DIV_MASK) + 1; in adis16400_get_freq()
359 return sps; in adis16400_get_freq()
405 if (sps / adis16400_3db_divisors[i] >= val) in __adis16400_set_filter()
500 int ret, sps; in adis16400_write_raw() local
515 sps = st->variant->get_freq(st); in adis16400_write_raw()
516 if (sps < 0) { in adis16400_write_raw()
518 return sps; in adis16400_write_raw()
526 sps = val * 1000 + val2 / 1000; in adis16400_write_raw()
528 if (sps <= 0) in adis16400_write_raw()
[all …]
/linux/include/uapi/linux/
A Dv4l2-controls.h1279 #define V4L2_H264_SPS_HAS_CHROMA_FORMAT(sps) \ argument
1280 ((sps)->profile_idc == 100 || (sps)->profile_idc == 110 || \
1281 (sps)->profile_idc == 122 || (sps)->profile_idc == 244 || \
1282 (sps)->profile_idc == 44 || (sps)->profile_idc == 83 || \
1283 (sps)->profile_idc == 86 || (sps)->profile_idc == 118 || \
1284 (sps)->profile_idc == 128 || (sps)->profile_idc == 138 || \
1285 (sps)->profile_idc == 139 || (sps)->profile_idc == 134 || \
1286 (sps)->profile_idc == 135)
/linux/fs/dlm/
A Dconfig.c84 struct dlm_spaces *sps; member
406 struct dlm_spaces *sps = NULL; in make_cluster() local
410 sps = kzalloc(sizeof(struct dlm_spaces), GFP_NOFS); in make_cluster()
413 if (!cl || !sps || !cms) in make_cluster()
416 cl->sps = sps; in make_cluster()
420 config_group_init_type_name(&sps->ss_group, "spaces", &spaces_type); in make_cluster()
423 configfs_add_default_group(&sps->ss_group, &cl->group); in make_cluster()
442 space_list = &sps->ss_group; in make_cluster()
448 kfree(sps); in make_cluster()
469 kfree(cl->sps); in release_cluster()
/linux/sound/soc/sof/
A Dcompress.c15 struct snd_sof_pcm_stream *sps = in snd_sof_compr_fragment_elapsed_work() local
19 snd_compr_fragment_elapsed(sps->cstream); in snd_sof_compr_fragment_elapsed_work()
/linux/arch/powerpc/sysdev/
A 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()
/linux/arch/arm/boot/dts/
A Dowl-s500.dtsi49 power-domains = <&sps S500_PD_CPU2>;
57 power-domains = <&sps S500_PD_CPU3>;
256 sps: power-controller@b01b0100 { label
257 compatible = "actions,s500-sps";
292 power-domains = <&sps S500_PD_DMA>;

Completed in 64 milliseconds

12