Home
last modified time | relevance | path

Searched refs:pps_buf (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/venc/
H A Dvenc_h264_if.c134 * @pps_buf: buffer to store the pps bitstream
148 struct mtk_vcodec_mem pps_buf; member
238 mtk_vcodec_mem_free(inst->ctx, &inst->pps_buf); in h264_enc_free_work_buf()
310 /* the pps_buf is used by AP side only */ in h264_enc_alloc_work_buf()
311 inst->pps_buf.size = 128; in h264_enc_alloc_work_buf()
312 ret = mtk_vcodec_mem_alloc(inst->ctx, &inst->pps_buf); in h264_enc_alloc_work_buf()
314 mtk_vcodec_err(inst, "cannot allocate pps_buf"); in h264_enc_alloc_work_buf()
423 ret = h264_encode_pps(inst, &inst->pps_buf, &bs_size_pps); in h264_encode_header()
427 memcpy(bs_buf->va + bs_size_sps, inst->pps_buf.va, bs_size_pps); in h264_encode_header()
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/encoder/venc/
H A Dvenc_h264_if.c199 * @pps_buf: buffer to store the pps bitstream
215 struct mtk_vcodec_mem pps_buf; member
308 mtk_vcodec_mem_free(inst->ctx, &inst->pps_buf); in h264_enc_free_work_buf()
392 /* the pps_buf is used by AP side only */ in h264_enc_alloc_work_buf()
393 inst->pps_buf.size = 128; in h264_enc_alloc_work_buf()
394 ret = mtk_vcodec_mem_alloc(inst->ctx, &inst->pps_buf); in h264_enc_alloc_work_buf()
396 mtk_venc_err(inst->ctx, "cannot allocate pps_buf"); in h264_enc_alloc_work_buf()
495 ret = h264_encode_pps(inst, &inst->pps_buf, &bs_size_pps); in h264_encode_header()
499 memcpy(bs_buf->va + bs_size_sps, inst->pps_buf.va, bs_size_pps); in h264_encode_header()
/kernel/linux/linux-6.6/include/drm/display/
H A Ddrm_dp_helper.h772 int drm_dp_pcon_pps_override_buf(struct drm_dp_aux *aux, u8 pps_buf[128]);
/kernel/linux/linux-6.6/drivers/gpu/drm/display/
H A Ddrm_dp_helper.c3345 * @pps_buf: 128 bytes to be written into PPS buffer for HDMI sink by PCON.
3349 int drm_dp_pcon_pps_override_buf(struct drm_dp_aux *aux, u8 pps_buf[128]) in drm_dp_pcon_pps_override_buf() argument
3353 ret = drm_dp_dpcd_write(aux, DP_PCON_HDMI_PPS_OVERRIDE_BASE, &pps_buf, 128); in drm_dp_pcon_pps_override_buf()

Completed in 8 milliseconds