Searched refs:fmtinfo (Results 1 - 6 of 6) sorted by relevance
/linux-4.1.27/drivers/media/platform/vsp1/ |
H A D | vsp1_rpf.c | 78 const struct vsp1_format_info *fmtinfo = rpf->video.fmtinfo; rpf_s_stream() local 106 + crop->left * fmtinfo->bpp[0] / 8; rpf_s_stream() 115 + crop->left * fmtinfo->bpp[1] / 8; rpf_s_stream() 131 | (fmtinfo->hwfmt << VI6_RPF_INFMT_RDFMT_SHIFT); rpf_s_stream() 133 if (fmtinfo->swap_yc) rpf_s_stream() 135 if (fmtinfo->swap_uv) rpf_s_stream() 143 vsp1_rpf_write(rpf, VI6_RPF_DSWAP, fmtinfo->swap); rpf_s_stream() 155 (fmtinfo->alpha ? VI6_RPF_ALPH_SEL_ASEL_PACKED rpf_s_stream()
|
H A D | vsp1_wpf.c | 133 const struct vsp1_format_info *fmtinfo = wpf->video.fmtinfo; wpf_s_stream() local 135 outfmt = fmtinfo->hwfmt << VI6_WPF_OUTFMT_WRFMT_SHIFT; wpf_s_stream() 137 if (fmtinfo->alpha) wpf_s_stream() 139 if (fmtinfo->swap_yc) wpf_s_stream() 141 if (fmtinfo->swap_uv) wpf_s_stream() 144 vsp1_wpf_write(wpf, VI6_WPF_DSWAP, fmtinfo->swap); wpf_s_stream()
|
H A D | vsp1_video.c | 188 if (video->fmtinfo->mbus != fmt.format.code || vsp1_video_verify_format() 198 const struct vsp1_format_info **fmtinfo) __vsp1_video_try_format() 271 if (fmtinfo) __vsp1_video_try_format() 272 *fmtinfo = info; __vsp1_video_try_format() 828 uds->scale_alpha = rpf->video.fmtinfo->alpha; vsp1_video_start_streaming() 973 video->fmtinfo = info; vsp1_video_set_format() 1150 video->fmtinfo = vsp1_get_format_info(VSP1_VIDEO_DEF_FORMAT); vsp1_video_init() 1151 video->format.pixelformat = video->fmtinfo->fourcc; vsp1_video_init() 1158 video->format.width * video->fmtinfo->bpp[0] / 8; vsp1_video_init() 196 __vsp1_video_try_format(struct vsp1_video *video, struct v4l2_pix_format_mplane *pix, const struct vsp1_format_info **fmtinfo) __vsp1_video_try_format() argument
|
H A D | vsp1_video.h | 126 const struct vsp1_format_info *fmtinfo; member in struct:vsp1_video
|
/linux-4.1.27/drivers/media/platform/xilinx/ |
H A D | xilinx-dma.h | 64 * @lock: protects the @format, @fmtinfo and @queue fields 66 * @fmtinfo: format information corresponding to the active @format 88 const struct xvip_video_format *fmtinfo; member in struct:xvip_dma
|
H A D | xilinx-dma.c | 77 if (dma->fmtinfo->code != fmt.format.code || xvip_dma_verify_format() 363 dma->sgl[0].size = dma->format.width * dma->fmtinfo->bpp; xvip_dma_buffer_queue() 521 strlcpy(f->description, dma->fmtinfo->description, xvip_dma_enum_format() 540 const struct xvip_video_format **fmtinfo) __xvip_dma_try_format() 585 if (fmtinfo) __xvip_dma_try_format() 586 *fmtinfo = info; __xvip_dma_try_format() 612 dma->fmtinfo = info; xvip_dma_set_format() 666 dma->fmtinfo = xvip_get_format_by_fourcc(XVIP_DMA_DEF_FORMAT); xvip_dma_init() 667 dma->format.pixelformat = dma->fmtinfo->fourcc; xvip_dma_init() 672 dma->format.bytesperline = dma->format.width * dma->fmtinfo->bpp; xvip_dma_init() 539 __xvip_dma_try_format(struct xvip_dma *dma, struct v4l2_pix_format *pix, const struct xvip_video_format **fmtinfo) __xvip_dma_try_format() argument
|
Completed in 175 milliseconds