/linux/net/netrom/ |
A D | nr_route.c | 83 if (nr_node->routes[y].quality > nr_node->routes[x].quality) { in re_sort_routes() 182 nr_neigh->quality = quality; in nr_add_node() 199 nr_node->routes[0].quality = quality; in nr_add_node() 216 if (quality != 0) in nr_add_node() 221 nr_node->routes[i].quality = quality; in nr_add_node() 234 nr_node->routes[0].quality = quality; in nr_add_node() 244 if (quality > nr_node->routes[2].quality) { in nr_add_node() 251 nr_node->routes[2].quality = quality; in nr_add_node() 391 nr_neigh->quality = quality; in nr_add_neigh() 404 nr_neigh->quality = quality; in nr_add_neigh() [all …]
|
/linux/drivers/media/usb/gspca/ |
A D | jpeg.h | 139 int quality) in jpeg_set_qual() argument 143 if (quality <= 0) in jpeg_set_qual() 145 else if (quality < 50) in jpeg_set_qual() 146 sc = 5000 / quality; in jpeg_set_qual() 148 sc = 200 - quality * 2; in jpeg_set_qual()
|
A D | jeilinj.c | 53 u8 quality; /* image quality */ member 312 dev->quality = QUALITY_DEF; in sd_config() 372 jpeg_set_qual(dev->jpeg_hdr, dev->quality); in sd_start() 470 v4l2_ctrl_s_ctrl(sd->jpegqual, jcomp->quality); in sd_set_jcomp() 480 jcomp->quality = v4l2_ctrl_g_ctrl(sd->jpegqual); in sd_get_jcomp()
|
A D | topro.c | 957 int quality) in jpeg_set_qual() argument 961 if (quality <= 0) in jpeg_set_qual() 963 else if (quality < 50) in jpeg_set_qual() 964 sc = 5000 / quality; in jpeg_set_qual() 966 sc = 200 - quality * 2; in jpeg_set_qual() 1445 sd->quality = q; in set_dqt() 4550 set_dqt(gspca_dev, sd->quality); in sd_start() 4635 if ((data[6] & 0x0f) != sd->quality) in sd_pkt_scan() 4663 if (data[7] != sd->quality) in sd_pkt_scan() 4818 v4l2_ctrl_s_ctrl(sd->jpegqual, jcomp->quality); in sd_set_jcomp() [all …]
|
/linux/drivers/staging/media/hantro/ |
A D | hantro_jpeg.c | 280 static void jpeg_set_quality(unsigned char *buffer, int quality) in jpeg_set_quality() argument 288 if (quality < 50) in jpeg_set_quality() 289 scale = 5000 / quality; in jpeg_set_quality() 291 scale = 200 - 2 * quality; in jpeg_set_quality() 327 jpeg_set_quality(buf, ctx->quality); in hantro_jpeg_header_assemble()
|
A D | hantro_jpeg.h | 8 int quality; member
|
/linux/Documentation/devicetree/bindings/rng/ |
A D | timeriomem_rng.txt | 9 - quality : estimated number of bits of true entropy per 1024 bits read from the 10 rng. Defaults to zero which causes the kernel's default quality to 11 be used instead. Note that the default quality is usually zero
|
/linux/drivers/char/hw_random/ |
A D | timeriomem-rng.c | 147 priv->rng_ops.quality = i; in timeriomem_rng_probe() 149 priv->rng_ops.quality = 0; in timeriomem_rng_probe() 152 priv->rng_ops.quality = pdata->quality; in timeriomem_rng_probe()
|
A D | core.c | 164 current_quality = rng->quality ? : default_quality; in hwrng_init() 487 if (tmp->quality < rng->quality) in hwrng_register() 493 (!cur_rng_set_by_user && rng->quality > current_rng->quality)) { in hwrng_register()
|
/linux/Documentation/userspace-api/media/v4l/ |
A D | ext-ctrls-jpeg.rst | 64 .. _jpeg-quality-control: 67 Determines trade-off between image quality and size. 68 It provides simpler method for applications to control image quality, 77 where larger values correspond to better image quality.
|
A D | vidioc-g-jpegcomp.rst | 39 :ref:`JPEG class controls <jpeg-controls>` for image quality and JPEG 67 - ``quality`` 69 :ref:`V4L2_CID_JPEG_COMPRESSION_QUALITY <jpeg-quality-control>`
|
A D | vidioc-g-parm.rst | 235 - High quality imaging mode. High quality mode is intended for still 237 quality that the hardware can deliver. It is not defined how the 239 the ingenuity of the driver writer. High quality mode is a 241 high quality mode:
|
/linux/drivers/staging/wlan-ng/ |
A D | cfg80211.c | 243 struct p80211msg_lnxreq_commsquality quality; in prism2_get_station() local 252 quality.msgcode = DIDMSG_LNXREQ_COMMSQUALITY; in prism2_get_station() 253 quality.dbm.data = P80211ENUM_truth_true; in prism2_get_station() 254 quality.dbm.status = P80211ENUM_msgitem_status_data_ok; in prism2_get_station() 260 result = wlandev->mlmerequest(wlandev, (struct p80211msg *)&quality); in prism2_get_station() 263 sinfo->txrate.legacy = quality.txrate.data; in prism2_get_station() 265 sinfo->signal = quality.level.data; in prism2_get_station()
|
/linux/drivers/media/pci/meye/ |
A D | meye.c | 198 static u16 *jpeg_quantisation_tables(int *length, int quality) in jpeg_quantisation_tables() argument 333 if (quality < 0 || quality > 10) { in jpeg_quantisation_tables() 335 "meye: invalid quality level %d - using 8\n", quality); in jpeg_quantisation_tables() 336 quality = 8; in jpeg_quantisation_tables() 339 *length = ARRAY_SIZE(jpeg_tables[quality]); in jpeg_quantisation_tables() 340 return jpeg_tables[quality]; in jpeg_quantisation_tables() 485 tables = jpeg_quantisation_tables(&length, meye.params.quality); in mchip_load_tables() 875 if (jp->quality > 10) in meyeioc_s_params() 887 meye.params.quality != jp->quality) in meyeioc_s_params() 1084 meye.params.quality = ctrl->val; in meye_s_ctrl()
|
/linux/drivers/media/platform/coda/ |
A D | coda-jpeg.c | 1010 void coda_set_jpeg_compression_quality(struct coda_ctx *ctx, int quality) in coda_set_jpeg_compression_quality() argument 1014 ctx->params.jpeg_quality = quality; in coda_set_jpeg_compression_quality() 1017 if (quality > 100) in coda_set_jpeg_compression_quality() 1018 quality = 100; in coda_set_jpeg_compression_quality() 1019 if (quality < 5) in coda_set_jpeg_compression_quality() 1020 quality = 5; in coda_set_jpeg_compression_quality() 1026 if (quality < 50) in coda_set_jpeg_compression_quality() 1027 scale = 5000 / quality; in coda_set_jpeg_compression_quality() 1029 scale = 200 - 2 * quality; in coda_set_jpeg_compression_quality()
|
/linux/include/linux/ |
A D | timeriomem-rng.h | 18 unsigned int quality; member
|
A D | hw_random.h | 47 unsigned short quality; member
|
/linux/include/net/ |
A D | netrom.h | 94 unsigned char quality; member 103 unsigned char quality; member
|
/linux/include/uapi/linux/ |
A D | netrom.h | 29 unsigned int quality; member
|
A D | meye.h | 40 unsigned char quality; member
|
/linux/drivers/media/dvb-frontends/ |
A D | ves1820.c | 282 u8 quality = ~ves1820_readreg(state, 0x18); in ves1820_read_snr() local 283 *snr = (quality << 8) | quality; in ves1820_read_snr()
|
A D | tda10021.c | 366 u8 quality = ~tda10021_readreg(state, 0x18); in tda10021_read_snr() local 367 *snr = (quality << 8) | quality; in tda10021_read_snr()
|
/linux/Documentation/driver-api/media/drivers/ |
A D | vidtv.rst | 18 - A fake tuner driver, which will report a bad signal quality if the chosen 22 - A fake demod driver, which will constantly poll the fake signal quality 80 Probability of losing the TS lock if the signal quality is bad. 82 eventually return a status of 0 when the signal quality is not 88 return a status of 0x1f when/if the signal quality improves. 477 report a bad signal quality. 479 A nice addition is to simulate some noise when the signal quality is bad by:
|
/linux/drivers/media/i2c/s5c73m3/ |
A D | s5c73m3-ctrls.c | 276 static int s5c73m3_set_jpeg_quality(struct s5c73m3 *state, int quality) in s5c73m3_set_jpeg_quality() argument 280 if (quality <= 65) in s5c73m3_set_jpeg_quality() 282 else if (quality <= 75) in s5c73m3_set_jpeg_quality()
|
/linux/drivers/crypto/gemini/ |
A D | sl3516-ce-rng.c | 50 ce->trng.quality = 700; in sl3516_ce_rng_register()
|