Searched refs:sps (Results 1 - 25 of 54) sorted by relevance

123

/linux-master/drivers/pmdomain/actions/
H A DMakefile2 obj-$(CONFIG_OWL_PM_DOMAINS_HELPER) += owl-sps-helper.o
3 obj-$(CONFIG_OWL_PM_DOMAINS) += owl-sps.o
H A Dowl-sps.c16 #include <linux/soc/actions/owl-sps.h>
46 struct owl_sps *sps; member in struct:owl_sps_domain
56 return owl_sps_set_pg(pd->sps->base, pwr_mask, ack_mask, enable);
63 dev_dbg(pd->sps->dev, "%s power on", pd->info->name);
72 dev_dbg(pd->sps->dev, "%s power off", pd->info->name);
77 static int owl_sps_init_domain(struct owl_sps *sps, int index) argument
81 pd = devm_kzalloc(sps->dev, sizeof(*pd), GFP_KERNEL);
85 pd->info = &sps->info->domains[index];
86 pd->sps = sps;
102 struct owl_sps *sps; local
[all...]
H A Dowl-sps-helper.c13 #include <linux/soc/actions/owl-sps.h>
/linux-master/drivers/media/platform/chips-media/coda/
H A Dcoda-h264.c259 struct rbsp sps; local
266 sps.buf = buf + 5; /* Skip NAL header */
267 sps.size = *size - 5;
269 profile_idc = sps.buf[0];
272 sps.pos = 24;
275 ret = rbsp_read_uev(&sps, NULL);
291 ret = rbsp_read_uev(&sps, NULL);
295 ret = rbsp_read_uev(&sps, &pic_order_cnt_type);
301 ret = rbsp_read_uev(&sps, NULL);
308 ret = rbsp_read_bit(&sps);
[all...]
/linux-master/sound/soc/sof/
H A Dstream-ipc.c30 struct snd_sof_pcm_stream *sps,
33 if (!sps || !sdev->stream_box.size) {
38 if (sps->substream) {
39 struct sof_stream *stream = sps->substream->runtime->private_data;
48 struct sof_compr_stream *sstream = sps->cstream->runtime->private_data;
64 struct snd_sof_pcm_stream *sps,
74 if (sps->substream) {
75 struct sof_stream *stream = sps->substream->runtime->private_data;
79 sps->substream->stream, posn_offset);
80 } else if (sps
29 sof_ipc_msg_data(struct snd_sof_dev *sdev, struct snd_sof_pcm_stream *sps, void *p, size_t sz) argument
63 sof_set_stream_data_offset(struct snd_sof_dev *sdev, struct snd_sof_pcm_stream *sps, size_t posn_offset) argument
[all...]
/linux-master/drivers/media/platform/allegro-dvt/
H A Dnal-h264.c198 static void nal_h264_rbsp_sps(struct rbsp *rbsp, struct nal_h264_sps *sps) argument
202 if (!sps) {
207 rbsp_bits(rbsp, 8, &sps->profile_idc);
208 rbsp_bit(rbsp, &sps->constraint_set0_flag);
209 rbsp_bit(rbsp, &sps->constraint_set1_flag);
210 rbsp_bit(rbsp, &sps->constraint_set2_flag);
211 rbsp_bit(rbsp, &sps->constraint_set3_flag);
212 rbsp_bit(rbsp, &sps->constraint_set4_flag);
213 rbsp_bit(rbsp, &sps->constraint_set5_flag);
214 rbsp_bits(rbsp, 2, &sps
353 nal_h264_write_sps(const struct device *dev, void *dest, size_t n, struct nal_h264_sps *sps) argument
394 nal_h264_read_sps(const struct device *dev, struct nal_h264_sps *sps, void *src, size_t n) argument
[all...]
H A Dnal-hevc.c340 static void nal_hevc_rbsp_sps(struct rbsp *rbsp, struct nal_hevc_sps *sps) argument
344 rbsp_bits(rbsp, 4, &sps->video_parameter_set_id);
345 rbsp_bits(rbsp, 3, &sps->max_sub_layers_minus1);
346 rbsp_bit(rbsp, &sps->temporal_id_nesting_flag);
347 nal_hevc_rbsp_profile_tier_level(rbsp, &sps->profile_tier_level);
348 rbsp_uev(rbsp, &sps->seq_parameter_set_id);
350 rbsp_uev(rbsp, &sps->chroma_format_idc);
351 if (sps->chroma_format_idc == 3)
352 rbsp_bit(rbsp, &sps->separate_colour_plane_flag);
353 rbsp_uev(rbsp, &sps
614 nal_hevc_write_sps(const struct device *dev, void *dest, size_t n, struct nal_hevc_sps *sps) argument
658 nal_hevc_read_sps(const struct device *dev, struct nal_hevc_sps *sps, void *src, size_t n) argument
[all...]
H A Dallegro-core.c1572 struct nal_h264_sps *sps; local
1583 sps = kzalloc(sizeof(*sps), GFP_KERNEL);
1584 if (!sps)
1590 sps->profile_idc = nal_h264_profile(profile);
1591 sps->constraint_set0_flag = 0;
1592 sps->constraint_set1_flag = 1;
1593 sps->constraint_set2_flag = 0;
1594 sps->constraint_set3_flag = 0;
1595 sps
1762 struct nal_hevc_sps *sps; local
[all...]
H 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-master/drivers/platform/x86/amd/pmf/
H A DMakefile8 amd-pmf-objs := core.o acpi.o sps.o \
/linux-master/drivers/media/platform/verisilicon/
H A Dhantro_g1_h264_dec.c26 const struct v4l2_ctrl_h264_sps *sps = ctrls->sps; local
33 if (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD)
35 if (sps->profile_idc > 66) {
41 if (!(sps->flags & V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY) &&
42 (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD ||
54 G1_REG_DEC_CTRL1_REF_FRAMES(sps->max_num_ref_frames);
63 if (!(sps->flags & V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY))
74 reg = G1_REG_DEC_CTRL4_FRAMENUM_LEN(sps->log2_max_frame_num_minus4 + 4) |
79 if (sps
[all...]
H A Dhantro_g2_hevc_dec.c16 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; local
30 max_log2_ctb_size = sps->log2_min_luma_coding_block_size_minus3 + 3 +
31 sps->log2_diff_max_min_luma_coding_block_size;
32 pic_width_in_ctbs = (sps->pic_width_in_luma_samples +
34 pic_height_in_ctbs = (sps->pic_height_in_luma_samples + (1 << max_log2_ctb_size) - 1)
110 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; local
118 if (sps->flags & V4L2_HEVC_SPS_FLAG_SEPARATE_COLOUR_PLANE)
124 skip += sps
144 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; local
519 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; local
[all...]
H A Dhantro_hevc.c76 const struct v4l2_ctrl_hevc_sps *sps = ctrls->sps; local
78 unsigned int height64 = (sps->pic_height_in_luma_samples + 63) & ~63;
152 static int hantro_hevc_validate_sps(struct hantro_ctx *ctx, const struct v4l2_ctrl_hevc_sps *sps) argument
160 ALIGN(sps->pic_width_in_luma_samples, ctx->vpu_dst_fmt->frmsize.step_width))
164 ALIGN(sps->pic_height_in_luma_samples, ctx->vpu_dst_fmt->frmsize.step_height))
189 ctrls->sps =
191 if (WARN_ON(!ctrls->sps))
194 ret = hantro_hevc_validate_sps(ctx, ctrls->sps);
H A Drockchip_vpu2_hw_h264_dec.c197 const struct v4l2_ctrl_h264_sps *sps = ctrls->sps; local
238 VDPU_REG_PIC_INTERLACE_E(!(sps->flags & V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY) &&
239 (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD ||
243 VDPU_REG_WRITE_MVS_E((sps->profile_idc > 66) && dec_param->nal_ref_idc) |
244 VDPU_REG_SEQ_MBAFF_E(sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD) |
245 VDPU_REG_PICORD_COUNT_E(sps->profile_idc > 66) |
268 VDPU_REG_REF_FRAMES(sps->max_num_ref_frames);
273 VDPU_REG_FRAMENUM_LEN(sps->log2_max_frame_num_minus4 + 4) |
288 VDPU_REG_DIR_8X8_INFER_E(sps
[all...]
/linux-master/include/media/
H A Dv4l2-h264.h51 const struct v4l2_ctrl_h264_sps *sps,
/linux-master/drivers/staging/media/rkvdec/
H A Drkvdec-h264.c109 const struct v4l2_ctrl_h264_sps *sps; member in struct:rkvdec_h264_run
637 const struct v4l2_ctrl_h264_sps *sps = run->sps; local
657 /* write sps */
661 WRITE_PPS(sps->chroma_format_idc, CHROMA_FORMAT_IDC);
662 WRITE_PPS(sps->bit_depth_luma_minus8, BIT_DEPTH_LUMA);
663 WRITE_PPS(sps->bit_depth_chroma_minus8, BIT_DEPTH_CHROMA);
665 WRITE_PPS(sps->log2_max_frame_num_minus4, LOG2_MAX_FRAME_NUM_MINUS4);
666 WRITE_PPS(sps->max_num_ref_frames, MAX_NUM_REF_FRAMES);
667 WRITE_PPS(sps
888 const struct v4l2_ctrl_h264_sps *sps = run->sps; local
1029 rkvdec_h264_validate_sps(struct rkvdec_ctx *ctx, const struct v4l2_ctrl_h264_sps *sps) argument
[all...]
/linux-master/drivers/media/test-drivers/visl/
H A Dvisl-dec.h32 const struct v4l2_ctrl_h264_sps *sps; member in struct:visl_h264_run
41 const struct v4l2_ctrl_hevc_sps *sps; member in struct:visl_hevc_run
/linux-master/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_h265.c420 const struct v4l2_ctrl_hevc_sps *sps; local
439 sps = run->h265.sps;
457 sps->log2_min_luma_coding_block_size_minus3 + 3 +
458 sps->log2_diff_max_min_luma_coding_block_size;
461 DIV_ROUND_UP(sps->pic_width_in_luma_samples, ctb_size_luma);
568 reg = VE_DEC_H265_DEC_SPS_HDR_MAX_TRANSFORM_HIERARCHY_DEPTH_INTRA(sps->max_transform_hierarchy_depth_intra) |
569 VE_DEC_H265_DEC_SPS_HDR_MAX_TRANSFORM_HIERARCHY_DEPTH_INTER(sps->max_transform_hierarchy_depth_inter) |
570 VE_DEC_H265_DEC_SPS_HDR_LOG2_DIFF_MAX_MIN_TRANSFORM_BLOCK_SIZE(sps->log2_diff_max_min_luma_transform_block_size) |
571 VE_DEC_H265_DEC_SPS_HDR_LOG2_MIN_TRANSFORM_BLOCK_SIZE_MINUS2(sps
[all...]
H A Dcedrus_dec.c61 run.h264.sps = cedrus_find_control_data(ctx,
68 run.h265.sps = cedrus_find_control_data(ctx,
H A Dcedrus_h264.c91 const struct v4l2_ctrl_h264_sps *sps = run->h264.sps; local
143 const struct v4l2_ctrl_h264_sps *sps = run->h264.sps; local
148 if (!(sps->flags & V4L2_H264_SPS_FLAG_DIRECT_8X8_INFERENCE))
150 if (!(sps->flags & V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY))
169 else if (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD)
347 const struct v4l2_ctrl_h264_sps *sps = run->h264.sps; local
423 reg |= (sps
[all...]
H A Dcedrus.c34 const struct v4l2_ctrl_h264_sps *sps = ctrl->p_new.p_h264_sps; local
36 if (sps->chroma_format_idc != 1)
39 if (sps->bit_depth_luma_minus8 != sps->bit_depth_chroma_minus8)
42 if (sps->bit_depth_luma_minus8 != 0)
46 const struct v4l2_ctrl_hevc_sps *sps = ctrl->p_new.p_hevc_sps; local
51 if (sps->chroma_format_idc != 1)
55 bit_depth = max(sps->bit_depth_luma_minus8,
56 sps->bit_depth_chroma_minus8) + 8;
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_req_multi_if.c34 * @sps: h264 sps syntax parameters
42 struct mtk_h264_sps_param sps; member in struct:vdec_h264_slice_lat_dec_param
115 * @sps: sequence header information from user space
123 struct v4l2_ctrl_h264_sps sps; member in struct:vdec_h264_slice_share_info
179 const struct v4l2_ctrl_h264_sps *sps; local
192 sps = mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_SPS);
193 if (IS_ERR(sps))
194 return PTR_ERR(sps);
206 mtk_vdec_h264_copy_sps_params(&slice_param->sps, sp
219 const struct v4l2_ctrl_h264_sps *sps; local
280 struct v4l2_ctrl_h264_sps *sps = &share_info->sps; local
[all...]
H A Dvdec_h264_req_if.c20 struct mtk_h264_sps_param sps; member in struct:mtk_h264_dec_slice_param
99 const struct v4l2_ctrl_h264_sps *sps; local
116 sps = mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_SPS);
117 if (IS_ERR(sps))
118 return PTR_ERR(sps);
131 mtk_vdec_h264_copy_sps_params(&slice_param->sps, sps);
140 v4l2_h264_init_reflist_builder(&reflist_builder, dec_params, sps,
/linux-master/sound/soc/sof/intel/
H A Dhda-ipc.c395 struct snd_sof_pcm_stream *sps,
398 if (!sps || !sdev->stream_box.size) {
401 struct snd_pcm_substream *substream = sps->substream;
420 struct snd_sof_pcm_stream *sps,
423 struct snd_pcm_substream *substream = sps->substream;
394 hda_ipc_msg_data(struct snd_sof_dev *sdev, struct snd_sof_pcm_stream *sps, void *p, size_t sz) argument
419 hda_set_stream_data_offset(struct snd_sof_dev *sdev, struct snd_sof_pcm_stream *sps, size_t posn_offset) argument
/linux-master/sound/soc/sof/amd/
H A Dacp-ipc.c240 int acp_sof_ipc_msg_data(struct snd_sof_dev *sdev, struct snd_sof_pcm_stream *sps, argument
245 if (!sps || !sdev->stream_box.size) {
248 struct snd_pcm_substream *substream = sps->substream;
267 struct snd_sof_pcm_stream *sps,
270 struct snd_pcm_substream *substream = sps->substream;
266 acp_set_stream_data_offset(struct snd_sof_dev *sdev, struct snd_sof_pcm_stream *sps, size_t posn_offset) argument

Completed in 323 milliseconds

123