| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/v4l2apps/v4l-utils/ |
| H A D | 0002-libv4l-mplane-Filter-out-multiplane-formats.patch | 4 Subject: [PATCH 2/6] libv4l: mplane: Filter out multiplane formats 6 The multiplane formats are not supported here, reporting them to the 25 + struct v4l2_format formats[MPLANE_MAX_FORMATS]; 48 +/* Setup supported(single plane) formats */ 49 +static void mplane_setup_formats(int fd, struct mplane_formats *formats, 54 + formats->num_formats = 0; 55 + formats->def_format = -1; 57 + for (n = 0; formats->num_formats < MPLANE_MAX_FORMATS; n++) { 78 + if (formats->def_format < 0) 79 + formats->def_format = formats->num_formats; [all …]
|
| /OK3568_Linux_fs/buildroot/package/libv4l/ |
| H A D | 0002-libv4l-mplane-Filter-out-multiplane-formats.patch | 4 Subject: [PATCH 2/7] libv4l: mplane: Filter out multiplane formats 6 The multiplane formats are not supported here, reporting them to the 25 + struct v4l2_format formats[MPLANE_MAX_FORMATS]; 48 +/* Setup supported(single plane) formats */ 49 +static void mplane_setup_formats(int fd, struct mplane_formats *formats, 54 + formats->num_formats = 0; 55 + formats->def_format = -1; 57 + for (n = 0; formats->num_formats < MPLANE_MAX_FORMATS; n++) { 78 + if (formats->def_format < 0) 79 + formats->def_format = formats->num_formats; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/firmware/google/ |
| H A D | framebuffer-coreboot.c | 23 static const struct simplefb_format formats[] = SIMPLEFB_FORMATS; variable 39 for (i = 0; i < ARRAY_SIZE(formats); ++i) { in framebuffer_probe() 40 if (fb->bits_per_pixel == formats[i].bits_per_pixel && in framebuffer_probe() 41 fb->red_mask_pos == formats[i].red.offset && in framebuffer_probe() 42 fb->red_mask_size == formats[i].red.length && in framebuffer_probe() 43 fb->green_mask_pos == formats[i].green.offset && in framebuffer_probe() 44 fb->green_mask_size == formats[i].green.length && in framebuffer_probe() 45 fb->blue_mask_pos == formats[i].blue.offset && in framebuffer_probe() 46 fb->blue_mask_size == formats[i].blue.length && in framebuffer_probe() 47 fb->reserved_mask_pos == formats[i].transp.offset && in framebuffer_probe() [all …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/ |
| H A D | 0059-pixel-formats-Support-NV15-YU08-YU10.patch | 4 Subject: [PATCH 59/79] pixel-formats: Support NV15/YU08/YU10 10 libweston/pixel-formats.c | 12 ++++++++++++ 11 libweston/pixel-formats.h | 12 ++++++++++++ 14 diff --git a/libweston/pixel-formats.c b/libweston/pixel-formats.c 16 --- a/libweston/pixel-formats.c 17 +++ b/libweston/pixel-formats.c 37 diff --git a/libweston/pixel-formats.h b/libweston/pixel-formats.h 39 --- a/libweston/pixel-formats.h 40 +++ b/libweston/pixel-formats.h 58 * Contains information about pixel formats, mapping format codes from
|
| /OK3568_Linux_fs/external/xserver/render/ |
| H A D | picture.c | 96 if (ps->formats[n].type == PictTypeIndexed) in PictureCloseScreen() 97 (*ps->CloseIndexed) (pScreen, &ps->formats[n]); in PictureCloseScreen() 100 free(ps->formats); in PictureCloseScreen() 117 PictFormatPtr format = ps->formats; in PictureStoreColors() 152 addFormat(FormatInitRec formats[256], int *nformat, CARD32 format, CARD8 depth) in addFormat() 157 if (formats[n].format == format && formats[n].depth == depth) in addFormat() 159 formats[*nformat].format = format; in addFormat() 160 formats[*nformat].depth = depth; in addFormat() 171 FormatInitRec formats[1024]; in PictureCreateDefaultFormats() local 184 formats[nformats].format = PICT_a1; in PictureCreateDefaultFormats() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt.rst | 13 version (see :ref:`planar-apis`). Image formats are negotiated with 15 focus on video capturing and output, for overlay frame buffer formats 28 yuv-formats 29 hsv-formats 30 depth-formats 32 sdr-formats 33 tch-formats 34 meta-formats
|
| H A D | pixfmt-intro.rst | 8 necessary to have standard image data formats which both sides will 9 interpret the same way. V4L2 includes several such formats, and this 11 image data formats in V4L2. 13 V4L2 drivers are not limited to these formats, however. Driver-specific 14 formats are possible. In that case the application may depend on a codec 15 to convert images to one of the standard formats when needed. But the 22 Even so, ultimately, some standard formats are needed, so the V4L2 24 formats. 26 The V4L2 standard formats are mainly uncompressed formats. The pixels 44 For some formats, data is stored in separate, discontiguous memory [all …]
|
| H A D | vidioc-g-dv-timings.rst | 60 the formats in the :ref:`cea861` and :ref:`vesadmt` standards. If 100 formats the height of the active video in each field is 126 - Vertical front porch in lines. For interlaced formats this refers 130 - Vertical sync length in lines. For interlaced formats this refers 134 - Vertical back porch in lines. For interlaced formats this refers 139 interlaced field formats. Must be 0 for progressive formats. 143 interlaced field formats. Must be 0 for progressive formats. 147 interlaced field formats. Must be 0 for progressive formats. 256 - CEA-861 specific: set for CEA-861 formats with a framerate that is 257 a multiple of six. These formats can be optionally played at 1 / [all …]
|
| H A D | planar-apis.rst | 13 of such formats see :ref:`pixfmt`. 28 Multi-planar formats 31 Multi-planar API introduces new multi-planar formats. Those formats use 34 can handle all single-planar formats as well (as long as they are passed 36 handle multi-planar formats. 45 single- and multi-planar formats. 48 New structures for describing multi-planar formats are added: struct 51 Drivers may define new multi-planar formats, which have distinct
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | alsa.c | 34 } formats[] = { variable 57 while (formats[from].bits < *nbits_ && formats[from].bits != 0) in select_format() 59 for (to = from; formats[to].bits != 0; to++) ; /* find end of list */ in select_format() 65 if (snd_pcm_format_mask_test(mask, formats[i].alsa_fmt)) { in select_format() 66 if (formats[i].enc == *encoding_) { in select_format() 79 bits_next = formats[from-1].bits; in select_format() 80 while (from && formats[from-1].bits == bits_next) in select_format() 89 if (*nbits_ != formats[cand].bits || *encoding_ != formats[cand].enc) { in select_format() 92 *nbits_ = formats[cand].bits; in select_format() 93 *encoding_ = formats[cand].enc; in select_format() [all …]
|
| /OK3568_Linux_fs/kernel/sound/firewire/oxfw/ |
| H A D | oxfw-stream.c | 60 u8 **formats; in set_stream_format() local 67 formats = oxfw->tx_stream_formats; in set_stream_format() 70 formats = oxfw->rx_stream_formats; in set_stream_format() 76 err = snd_oxfw_stream_parse_format(formats[i], &formation); in set_stream_format() 91 len = 5 + formats[i][4] * 2; in set_stream_format() 93 err = avc_stream_set_format(oxfw->unit, dir, 0, formats[i], len); in set_stream_format() 196 u8 **formats; in keep_resources() local 204 formats = oxfw->rx_stream_formats; in keep_resources() 208 formats = oxfw->tx_stream_formats; in keep_resources() 219 if (formats[i] == NULL) in keep_resources() [all …]
|
| H A D | oxfw-pcm.c | 13 u8 **formats = rule->private; in hw_rule_rate() local 25 if (formats[i] == NULL) in hw_rule_rate() 28 err = snd_oxfw_stream_parse_format(formats[i], &formation); in hw_rule_rate() 44 u8 **formats = rule->private; in hw_rule_channels() local 55 if (formats[i] == NULL) in hw_rule_channels() 58 err = snd_oxfw_stream_parse_format(formats[i], &formation); in hw_rule_channels() 80 static void limit_channels_and_rates(struct snd_pcm_hardware *hw, u8 **formats) in limit_channels_and_rates() argument 93 if (formats[i] == NULL) in limit_channels_and_rates() 96 err = snd_oxfw_stream_parse_format(formats[i], &formation); in limit_channels_and_rates() 113 u8 **formats; in init_hw_params() local [all …]
|
| /OK3568_Linux_fs/kernel/sound/firewire/motu/ |
| H A D | motu-proc.c | 48 struct snd_motu_packet_format *formats; in proc_read_format() local 58 formats = &motu->tx_packet_formats; in proc_read_format() 62 formats->msg_chunks, in proc_read_format() 64 formats->pcm_chunks[mode]); in proc_read_format() 71 formats = &motu->rx_packet_formats; in proc_read_format() 75 formats->msg_chunks, in proc_read_format() 77 formats->pcm_chunks[mode]); in proc_read_format()
|
| H A D | motu-pcm.c | 14 struct snd_motu_packet_format *formats = rule->private; in motu_rate_constraint() local 29 pcm_channels = formats->pcm_chunks[mode]; in motu_rate_constraint() 43 struct snd_motu_packet_format *formats = rule->private; in motu_channels_constraint() local 61 pcm_channels = formats->pcm_chunks[mode]; in motu_channels_constraint() 71 struct snd_motu_packet_format *formats) in limit_channels_and_rates() argument 83 pcm_channels = formats->pcm_chunks[mode]; in limit_channels_and_rates() 101 struct snd_motu_packet_format *formats; in init_hw_info() local 105 hw->formats = SNDRV_PCM_FMTBIT_S32; in init_hw_info() 107 formats = &motu->tx_packet_formats; in init_hw_info() 109 hw->formats = SNDRV_PCM_FMTBIT_S32; in init_hw_info() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/arm/ |
| H A D | malidp_mw.c | 191 u32 *formats; in get_writeback_formats() local 194 formats = kcalloc(map->n_pixel_formats, sizeof(*formats), in get_writeback_formats() 196 if (!formats) in get_writeback_formats() 201 formats[n++] = map->pixel_formats[i].format; in get_writeback_formats() 206 return formats; in get_writeback_formats() 212 u32 *formats; in malidp_mw_connector_init() local 222 formats = get_writeback_formats(malidp, &n_formats); in malidp_mw_connector_init() 223 if (!formats) in malidp_mw_connector_init() 229 formats, n_formats); in malidp_mw_connector_init() 230 kfree(formats); in malidp_mw_connector_init()
|
| /OK3568_Linux_fs/buildroot/package/weston/ |
| H A D | 0056-pixel-formats-Support-NV15-YU08-YU10.patch | 4 Subject: [PATCH 56/79] pixel-formats: Support NV15/YU08/YU10 10 libweston/pixel-formats.c | 12 ++++++++++++ 14 diff --git a/libweston/pixel-formats.c b/libweston/pixel-formats.c 16 --- a/libweston/pixel-formats.c 17 +++ b/libweston/pixel-formats.c 57 /* The kernel header drm_fourcc.h defines the DRM formats below. We duplicate
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/ |
| H A D | 0056-pixel-formats-Support-NV15-YU08-YU10.patch | 4 Subject: [PATCH 56/93] pixel-formats: Support NV15/YU08/YU10 10 libweston/pixel-formats.c | 12 ++++++++++++ 14 diff --git a/libweston/pixel-formats.c b/libweston/pixel-formats.c 16 --- a/libweston/pixel-formats.c 17 +++ b/libweston/pixel-formats.c 57 /* The kernel header drm_fourcc.h defines the DRM formats below. We duplicate
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/hantro/ |
| H A D | hantro_v4l2.c | 41 const struct hantro_fmt *formats; in hantro_get_formats() local 44 formats = ctx->dev->variant->enc_fmts; in hantro_get_formats() 47 formats = ctx->dev->variant->dec_fmts; in hantro_get_formats() 51 return formats; in hantro_get_formats() 70 const struct hantro_fmt *formats; in hantro_find_format() local 73 formats = hantro_get_formats(ctx, &num_fmts); in hantro_find_format() 75 if (formats[i].fourcc == fourcc) in hantro_find_format() 76 return &formats[i]; in hantro_find_format() 78 formats = hantro_get_postproc_formats(ctx, &num_fmts); in hantro_find_format() 80 if (formats[i].fourcc == fourcc) in hantro_find_format() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/test-drivers/vivid/ |
| H A D | vivid-sdr-cap.c | 32 static const struct vivid_format formats[] = { variable 444 if (f->index >= ARRAY_SIZE(formats)) in vidioc_enum_fmt_sdr_cap() 446 f->pixelformat = formats[f->index].pixelformat; in vidioc_enum_fmt_sdr_cap() 470 for (i = 0; i < ARRAY_SIZE(formats); i++) { in vidioc_s_fmt_sdr_cap() 471 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in vidioc_s_fmt_sdr_cap() 472 dev->sdr_pixelformat = formats[i].pixelformat; in vidioc_s_fmt_sdr_cap() 473 dev->sdr_buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap() 474 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap() 478 dev->sdr_pixelformat = formats[0].pixelformat; in vidioc_s_fmt_sdr_cap() 479 dev->sdr_buffersize = formats[0].buffersize; in vidioc_s_fmt_sdr_cap() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/uniphier/ |
| H A D | aio-ld11.c | 223 .formats = SNDRV_PCM_FMTBIT_S32_LE, 230 .formats = SNDRV_PCM_FMTBIT_S32_LE, 245 .formats = SNDRV_PCM_FMTBIT_S32_LE, 258 .formats = SNDRV_PCM_FMTBIT_S32_LE, 265 .formats = SNDRV_PCM_FMTBIT_S32_LE, 278 .formats = SNDRV_PCM_FMTBIT_S32_LE, 291 .formats = SNDRV_PCM_FMTBIT_S32_LE, 304 .formats = SNDRV_PCM_FMTBIT_S32_LE, 317 .formats = SNDRV_PCM_FMTBIT_S32_LE, 332 .formats = SNDRV_PCM_FMTBIT_S32_LE,
|
| /OK3568_Linux_fs/kernel/sound/soc/intel/skylake/ |
| H A D | skl-pcm.c | 39 .formats = SNDRV_PCM_FMTBIT_S16_LE | 693 .formats = SNDRV_PCM_FMTBIT_S16_LE | 702 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 715 .formats = SNDRV_PCM_FMTBIT_S16_LE | 728 .formats = SNDRV_PCM_FMTBIT_S16_LE | 740 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 752 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 764 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 776 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 791 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | [all …]
|
| /OK3568_Linux_fs/external/xserver/dri3/ |
| H A D | dri3_screen.c | 162 CARD32 *formats; in cache_formats_and_modifiers() local 174 ds->formats = NULL; in cache_formats_and_modifiers() 180 if (!info->get_formats(screen, &num_formats, &formats)) in cache_formats_and_modifiers() 189 ds->formats = calloc(num_formats, sizeof(dri3_dmabuf_format_rec)); in cache_formats_and_modifiers() 190 if (!ds->formats) in cache_formats_and_modifiers() 194 dri3_dmabuf_format_ptr iter = &ds->formats[i]; in cache_formats_and_modifiers() 196 if (!info->get_modifiers(screen, formats[i], in cache_formats_and_modifiers() 204 iter->format = formats[i]; in cache_formats_and_modifiers() 245 if (ds->formats[i].format == format) { in dri3_get_supported_modifiers() 246 screen_format = &ds->formats[i]; in dri3_get_supported_modifiers()
|
| /OK3568_Linux_fs/kernel/sound/usb/ |
| H A D | quirks-table.h | 56 .formats = SNDRV_PCM_FMTBIT_S16_LE, 100 .formats = SNDRV_PCM_FMTBIT_S16_LE, 459 .formats = SNDRV_PCM_FMTBIT_S16_LE, 476 .formats = SNDRV_PCM_FMTBIT_S16_LE, 947 .formats = SNDRV_PCM_FMTBIT_S24_3LE, 964 .formats = SNDRV_PCM_FMTBIT_S24_3LE, 1568 .formats = SNDRV_PCM_FMTBIT_S32_LE, 1586 .formats = SNDRV_PCM_FMTBIT_S32_LE, 1635 .formats = SNDRV_PCM_FMTBIT_S32_LE, 1653 .formats = SNDRV_PCM_FMTBIT_S32_LE, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/atmel-hlcdc/ |
| H A D | atmel_hlcdc_dc.c | 36 .formats = &atmel_hlcdc_plane_rgb_formats, 66 .formats = &atmel_hlcdc_plane_rgb_formats, 82 .formats = &atmel_hlcdc_plane_rgb_formats, 101 .formats = &atmel_hlcdc_plane_rgb_and_yuv_formats, 123 .formats = &atmel_hlcdc_plane_rgb_formats, 159 .formats = &atmel_hlcdc_plane_rgb_formats, 175 .formats = &atmel_hlcdc_plane_rgb_formats, 194 .formats = &atmel_hlcdc_plane_rgb_formats, 213 .formats = &atmel_hlcdc_plane_rgb_and_yuv_formats, 239 .formats = &atmel_hlcdc_plane_rgb_formats, [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-multimedia/recipes-multimedia/sox/sox/ |
| H A D | 0001-remove-the-error-line-and-live-without-file-type-det.patch | 11 src/formats.c | 1 - 14 diff --git a/src/formats.c b/src/formats.c 16 --- a/src/formats.c 17 +++ b/src/formats.c
|