Lines Matching refs:h264

60 	dma_addr_t addr = buf->codec.h264.mv_col_buf_dma;
63 addr += field * buf->codec.h264.mv_col_buf_size / 2;
78 pic->frame_info = cpu_to_le32(buf->codec.h264.pic_type << 8);
90 const struct v4l2_ctrl_h264_decode_params *decode = run->h264.decode_params;
91 const struct v4l2_ctrl_h264_sps *sps = run->h264.sps;
117 position = cedrus_buf->codec.h264.position;
140 output_buf->codec.h264.position = position;
142 if (!output_buf->codec.h264.mv_col_buf_size) {
143 const struct v4l2_ctrl_h264_sps *sps = run->h264.sps;
153 output_buf->codec.h264.mv_col_buf_size = field_size * 2;
155 output_buf->codec.h264.mv_col_buf =
157 output_buf->codec.h264.mv_col_buf_size,
158 &output_buf->codec.h264.mv_col_buf_dma,
161 if (!output_buf->codec.h264.mv_col_buf) {
162 output_buf->codec.h264.mv_col_buf_size = 0;
168 output_buf->codec.h264.pic_type = CEDRUS_H264_PIC_TYPE_FIELD;
170 output_buf->codec.h264.pic_type = CEDRUS_H264_PIC_TYPE_MBAFF;
172 output_buf->codec.h264.pic_type = CEDRUS_H264_PIC_TYPE_FRAME;
194 const struct v4l2_ctrl_h264_decode_params *decode = run->h264.decode_params;
223 position = cedrus_buf->codec.h264.position;
237 const struct v4l2_ctrl_h264_slice_params *slice = run->h264.slice_params;
248 const struct v4l2_ctrl_h264_slice_params *slice = run->h264.slice_params;
260 run->h264.scaling_matrix;
261 const struct v4l2_ctrl_h264_pps *pps = run->h264.pps;
284 run->h264.pred_weights;
344 const struct v4l2_ctrl_h264_decode_params *decode = run->h264.decode_params;
345 const struct v4l2_ctrl_h264_slice_params *slice = run->h264.slice_params;
346 const struct v4l2_ctrl_h264_pps *pps = run->h264.pps;
347 const struct v4l2_ctrl_h264_sps *sps = run->h264.sps;
371 ctx->codec.h264.deblk_buf_dma);
373 ctx->codec.h264.intra_pred_buf_dma);
525 ctx->codec.h264.pic_info_buf_dma);
527 ctx->codec.h264.neighbor_info_buf_dma);
566 ctx->codec.h264.pic_info_buf_size = pic_info_size;
567 ctx->codec.h264.pic_info_buf =
568 dma_alloc_attrs(dev->dev, ctx->codec.h264.pic_info_buf_size,
569 &ctx->codec.h264.pic_info_buf_dma,
571 if (!ctx->codec.h264.pic_info_buf)
581 ctx->codec.h264.neighbor_info_buf =
583 &ctx->codec.h264.neighbor_info_buf_dma,
585 if (!ctx->codec.h264.neighbor_info_buf) {
596 ctx->codec.h264.deblk_buf_size =
598 ctx->codec.h264.deblk_buf =
600 ctx->codec.h264.deblk_buf_size,
601 &ctx->codec.h264.deblk_buf_dma,
603 if (!ctx->codec.h264.deblk_buf) {
612 ctx->codec.h264.intra_pred_buf_size =
614 ctx->codec.h264.intra_pred_buf =
616 ctx->codec.h264.intra_pred_buf_size,
617 &ctx->codec.h264.intra_pred_buf_dma,
619 if (!ctx->codec.h264.intra_pred_buf) {
628 dma_free_attrs(dev->dev, ctx->codec.h264.deblk_buf_size,
629 ctx->codec.h264.deblk_buf,
630 ctx->codec.h264.deblk_buf_dma,
635 ctx->codec.h264.neighbor_info_buf,
636 ctx->codec.h264.neighbor_info_buf_dma,
640 dma_free_attrs(dev->dev, ctx->codec.h264.pic_info_buf_size,
641 ctx->codec.h264.pic_info_buf,
642 ctx->codec.h264.pic_info_buf_dma,
664 if (buf->codec.h264.mv_col_buf_size > 0) {
666 buf->codec.h264.mv_col_buf_size,
667 buf->codec.h264.mv_col_buf,
668 buf->codec.h264.mv_col_buf_dma,
671 buf->codec.h264.mv_col_buf_size = 0;
676 ctx->codec.h264.neighbor_info_buf,
677 ctx->codec.h264.neighbor_info_buf_dma,
679 dma_free_attrs(dev->dev, ctx->codec.h264.pic_info_buf_size,
680 ctx->codec.h264.pic_info_buf,
681 ctx->codec.h264.pic_info_buf_dma,
683 if (ctx->codec.h264.deblk_buf_size)
684 dma_free_attrs(dev->dev, ctx->codec.h264.deblk_buf_size,
685 ctx->codec.h264.deblk_buf,
686 ctx->codec.h264.deblk_buf_dma,
688 if (ctx->codec.h264.intra_pred_buf_size)
689 dma_free_attrs(dev->dev, ctx->codec.h264.intra_pred_buf_size,
690 ctx->codec.h264.intra_pred_buf,
691 ctx->codec.h264.intra_pred_buf_dma,