| /OK3568_Linux_fs/kernel/drivers/media/common/saa7146/ |
| H A D | saa7146_hlp.c | 563 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev, pixelformat); in saa7146_set_position() local 609 vdma1.base_page = sfmt->swap; in saa7146_set_position() 707 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat); in calculate_video_dma_grab_packed() local 714 int depth = sfmt->depth; in calculate_video_dma_grab_packed() 725 vdma1.base_page = buf->pt[0].dma | ME1 | sfmt->swap; in calculate_video_dma_grab_packed() 832 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat); in calculate_video_dma_grab_planar() local 871 switch( sfmt->depth ) { in calculate_video_dma_grab_planar() 920 if( (sfmt->flags & FORMAT_BYTE_SWAP) != 0 ) { in calculate_video_dma_grab_planar() 999 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat); in saa7146_set_capture() local 1013 saa7146_set_output_format(dev, sfmt->trans); in saa7146_set_capture() [all …]
|
| H A D | saa7146_video.c | 202 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat); in saa7146_pgtable_build() local 206 if( 0 != IS_PLANAR(sfmt->trans)) { in saa7146_pgtable_build() 216 switch( sfmt->depth ) { in saa7146_pgtable_build() 1081 struct saa7146_format *sfmt; in buffer_prepare() local 1091 sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat); in buffer_prepare() 1094 if( 0 != IS_PLANAR(sfmt->trans)) { in buffer_prepare()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/rga/ |
| H A D | im2d_single.h | 127 IM_API IM_STATUS imcvtcolor(rga_buffer_t src, rga_buffer_t dst, int sfmt, int dfmt, int mode = IM_C… 487 IM_C_API IM_STATUS imcvtcolor_t(rga_buffer_t src, rga_buffer_t dst, int sfmt, int dfmt, int mode, i… 582 #define imcvtcolor(src, dst, sfmt, dfmt, ...) \ argument 588 __ret = imcvtcolor_t(src, dst, sfmt, dfmt, IM_COLOR_SPACE_DEFAULT, 1); \ 590 __ret = imcvtcolor_t(src, dst, sfmt, dfmt, (int)__args[RGA_GET_MIN(__argc, 0)], 1); \ 592 …__ret = imcvtcolor_t(src, dst, sfmt, dfmt, (int)__args[RGA_GET_MIN(__argc, 0)], (int)__args[RGA_GE…
|
| H A D | im2d_task.h | 162 int sfmt, int dfmt, int mode = IM_COLOR_SPACE_DEFAULT);
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK3588/include/ |
| H A D | im2d_single.h | 127 IM_API IM_STATUS imcvtcolor(rga_buffer_t src, rga_buffer_t dst, int sfmt, int dfmt, int mode = IM_C… 487 IM_C_API IM_STATUS imcvtcolor_t(rga_buffer_t src, rga_buffer_t dst, int sfmt, int dfmt, int mode, i… 582 #define imcvtcolor(src, dst, sfmt, dfmt, ...) \ argument 588 __ret = imcvtcolor_t(src, dst, sfmt, dfmt, IM_COLOR_SPACE_DEFAULT, 1); \ 590 __ret = imcvtcolor_t(src, dst, sfmt, dfmt, (int)__args[RGA_GET_MIN(__argc, 0)], 1); \ 592 …__ret = imcvtcolor_t(src, dst, sfmt, dfmt, (int)__args[RGA_GET_MIN(__argc, 0)], (int)__args[RGA_GE…
|
| H A D | im2d_task.h | 162 int sfmt, int dfmt, int mode = IM_COLOR_SPACE_DEFAULT);
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK356X/include/ |
| H A D | im2d_single.h | 127 IM_API IM_STATUS imcvtcolor(rga_buffer_t src, rga_buffer_t dst, int sfmt, int dfmt, int mode = IM_C… 487 IM_C_API IM_STATUS imcvtcolor_t(rga_buffer_t src, rga_buffer_t dst, int sfmt, int dfmt, int mode, i… 582 #define imcvtcolor(src, dst, sfmt, dfmt, ...) \ argument 588 __ret = imcvtcolor_t(src, dst, sfmt, dfmt, IM_COLOR_SPACE_DEFAULT, 1); \ 590 __ret = imcvtcolor_t(src, dst, sfmt, dfmt, (int)__args[RGA_GET_MIN(__argc, 0)], 1); \ 592 …__ret = imcvtcolor_t(src, dst, sfmt, dfmt, (int)__args[RGA_GET_MIN(__argc, 0)], (int)__args[RGA_GE…
|
| H A D | im2d_task.h | 162 int sfmt, int dfmt, int mode = IM_COLOR_SPACE_DEFAULT);
|
| /OK3568_Linux_fs/external/linux-rga/im2d_api/ |
| H A D | im2d_single.h | 127 IM_API IM_STATUS imcvtcolor(rga_buffer_t src, rga_buffer_t dst, int sfmt, int dfmt, int mode = IM_C… 487 IM_C_API IM_STATUS imcvtcolor_t(rga_buffer_t src, rga_buffer_t dst, int sfmt, int dfmt, int mode, i… 582 #define imcvtcolor(src, dst, sfmt, dfmt, ...) \ argument 588 __ret = imcvtcolor_t(src, dst, sfmt, dfmt, IM_COLOR_SPACE_DEFAULT, 1); \ 590 __ret = imcvtcolor_t(src, dst, sfmt, dfmt, (int)__args[RGA_GET_MIN(__argc, 0)], 1); \ 592 …__ret = imcvtcolor_t(src, dst, sfmt, dfmt, (int)__args[RGA_GET_MIN(__argc, 0)], (int)__args[RGA_GE…
|
| H A D | im2d_task.h | 162 int sfmt, int dfmt, int mode = IM_COLOR_SPACE_DEFAULT);
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/hwi/ |
| H A D | image_processor.h | 62 virtual XCamReturn cvtcolor(img_buffer_t& src, img_buffer_t& dst, int sfmt, int dfmt, int mode, 84 XCamReturn cvtcolor(img_buffer_t& src, img_buffer_t& dst, int sfmt, int dfmt, int mode,
|
| H A D | image_processor.cpp | 43 using fp_imcvtcolor_t = int (*)(rga_buffer_t src, rga_buffer_t dst, int sfmt, int dfmt, int mode, 195 virtual XCamReturn cvtcolor(img_buffer_t& src, img_buffer_t& dst, int sfmt, int dfmt, int mode, in cvtcolor() argument 237 XCamReturn ImageOperator::cvtcolor(img_buffer_t& src, img_buffer_t& dst, int sfmt, int dfmt, in cvtcolor() argument
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RV110X/include/ |
| H A D | im2d.h | 615 #define imcvtcolor(src, dst, sfmt, dfmt, ...) \ argument 621 __ret = imcvtcolor_t(src, dst, sfmt, dfmt, IM_COLOR_SPACE_DEFAULT, 1); \ 623 __ret = imcvtcolor_t(src, dst, sfmt, dfmt, (int)__args[RGA_GET_MIN(__argc, 0)], 1); \ 625 …__ret = imcvtcolor_t(src, dst, sfmt, dfmt, (int)__args[RGA_GET_MIN(__argc, 0)], (int)__args[RGA_GE… 633 IM_API IM_STATUS imcvtcolor_t(rga_buffer_t src, rga_buffer_t dst, int sfmt, int dfmt, int mode, int…
|
| H A D | im2d.hpp | 257 IM_API IM_STATUS imcvtcolor(rga_buffer_t src, rga_buffer_t dst, int sfmt, int dfmt, int mode = IM_C…
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/exynos4-is/ |
| H A D | fimc-capture.c | 766 struct v4l2_subdev_format sfmt; in fimc_pipeline_try_format() local 767 struct v4l2_mbus_framefmt *mf = &sfmt.format; in fimc_pipeline_try_format() 777 memset(&sfmt, 0, sizeof(sfmt)); in fimc_pipeline_try_format() 778 sfmt.format = *tfmt; in fimc_pipeline_try_format() 779 sfmt.which = set ? V4L2_SUBDEV_FORMAT_ACTIVE : V4L2_SUBDEV_FORMAT_TRY; in fimc_pipeline_try_format() 799 sfmt.pad = 0; in fimc_pipeline_try_format() 800 ret = v4l2_subdev_call(sd, pad, set_fmt, NULL, &sfmt); in fimc_pipeline_try_format() 805 sfmt.pad = me->num_pads - 1; in fimc_pipeline_try_format() 808 &sfmt); in fimc_pipeline_try_format() 813 pad = media_entity_remote_pad(&me->pads[sfmt.pad]); in fimc_pipeline_try_format()
|
| /OK3568_Linux_fs/kernel/sound/sh/ |
| H A D | aica.h | 54 uint32_t sfmt; /* Sound format */ member
|
| H A D | aica.c | 338 channel->sfmt = SM_8BIT; in snd_aicapcm_pcm_open() 371 dreamcastcard->channel->sfmt = SM_16BIT; in snd_aicapcm_pcm_prepare()
|
| /OK3568_Linux_fs/external/mpp/mpp/vproc/inc/ |
| H A D | iep2_api.h | 97 enum IEP2_FMT sfmt; member
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/ |
| H A D | via-camera.c | 867 struct v4l2_format sfmt; in viacam_try_fmt_vid_cap() local 869 return viacam_do_try_fmt(cam, &fmt->fmt.pix, &sfmt.fmt.pix); in viacam_try_fmt_vid_cap() 887 struct v4l2_format sfmt; in viacam_s_fmt_vid_cap() local 900 ret = viacam_do_try_fmt(cam, &fmt->fmt.pix, &sfmt.fmt.pix); in viacam_s_fmt_vid_cap() 907 cam->sensor_format = sfmt.fmt.pix; in viacam_s_fmt_vid_cap()
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/m5mols/ |
| H A D | m5mols_core.c | 576 struct v4l2_mbus_framefmt *sfmt; in m5mols_set_fmt() local 585 sfmt = __find_format(info, cfg, fmt->which, type); in m5mols_set_fmt() 586 if (!sfmt) in m5mols_set_fmt() 596 *sfmt = *format; in m5mols_set_fmt()
|
| /OK3568_Linux_fs/kernel/sound/soc/sof/ |
| H A D | sof-priv.h | 46 #define SOF_DAI_STREAM(sname, scmin, scmax, srates, sfmt) \ argument 48 .rates = srates, .formats = sfmt}
|
| /OK3568_Linux_fs/kernel/drivers/firewire/ |
| H A D | sbp2.c | 1292 int sfmt = (sbp2_status[0] >> 6) & 0x03; in sbp2_status_to_sense_data() local 1294 if (sfmt == 2 || sfmt == 3) { in sbp2_status_to_sense_data() 1302 sense_data[0] = 0x70 | sfmt | (sbp2_status[1] & 0x80); in sbp2_status_to_sense_data()
|
| /OK3568_Linux_fs/external/linux-rga/im2d_api/src/ |
| H A D | im2d.cpp | 889 IM_API IM_STATUS imcvtcolor(rga_buffer_t src, rga_buffer_t dst, int sfmt, int dfmt, int mode, int s… in imcvtcolor() argument 903 src.format = sfmt; in imcvtcolor() 1607 …rTask(im_job_handle_t job_handle, rga_buffer_t src, rga_buffer_t dst, int sfmt, int dfmt, int mode… in imcvtcolorTask() argument 1617 src.format = sfmt; in imcvtcolorTask() 2004 IM_API IM_STATUS imcvtcolor_t(rga_buffer_t src, rga_buffer_t dst, int sfmt, int dfmt, int mode, int… in imcvtcolor_t() argument 2005 return imcvtcolor(src, dst, sfmt, dfmt, mode, sync, NULL); in imcvtcolor_t()
|
| /OK3568_Linux_fs/external/mpp/mpp/vproc/iep2/test/ |
| H A D | iep2_test.c | 280 params.param.com.sfmt = cfg->src_fmt; in iep2_test()
|
| /OK3568_Linux_fs/external/mpp/mpp/vproc/ |
| H A D | mpp_dec_vproc.cpp | 430 params.param.com.sfmt = IEP2_FMT_YUV420; in dec_vproc_set_dei_v2() 537 params.param.com.sfmt = IEP2_FMT_YUV420; in dec_vproc_set_dei_v2()
|