Home
last modified time | relevance | path

Searched refs:encoding (Results 1 – 25 of 270) sorted by relevance

1234567891011

/Linux-v5.4/drivers/gpu/drm/sun4i/
Dsun8i_csc.c155 enum drm_color_encoding encoding, in sun8i_csc_set_coefficients() argument
163 table = yuv2rgb[range][encoding]; in sun8i_csc_set_coefficients()
166 table = yvu2rgb[range][encoding]; in sun8i_csc_set_coefficients()
179 enum drm_color_encoding encoding, in sun8i_de3_ccsc_set_coefficients() argument
187 table = yuv2rgb_de3[range][encoding]; in sun8i_de3_ccsc_set_coefficients()
190 table = yvu2rgb_de3[range][encoding]; in sun8i_de3_ccsc_set_coefficients()
230 enum drm_color_encoding encoding, in sun8i_csc_set_ccsc_coefficients() argument
237 mode, encoding, range); in sun8i_csc_set_ccsc_coefficients()
244 mode, encoding, range); in sun8i_csc_set_ccsc_coefficients()
/Linux-v5.4/Documentation/media/uapi/v4l/
Dcolorspaces-defs.rst17 default Y'CbCr encoding and the default quantization method. The second
20 transfer functions. The third is the Y'CbCr encoding identifier (enum
36 :c:type:`v4l2_hsv_encoding` specifies which encoding is used.
124 - Use the default Y'CbCr encoding as defined by the colorspace.
126 - Use the BT.601 Y'CbCr encoding.
128 - Use the Rec. 709 Y'CbCr encoding.
130 - Use the extended gamut xvYCC BT.601 encoding.
132 - Use the extended gamut xvYCC Rec. 709 encoding.
134 - Use the default non-constant luminance BT.2020 Y'CbCr encoding.
136 - Use the constant luminance BT.2020 Yc'CbcCrc encoding.
[all …]
Dcolorspaces-details.rst22 ``V4L2_XFER_FUNC_709``. The default Y'CbCr encoding is
78 the following ``V4L2_YCBCR_ENC_601`` encoding:
104 default Y'CbCr encoding is ``V4L2_YCBCR_ENC_709``. The default Y'CbCr
137 extended gamut xvYCC encoding values outside that range are allowed.
158 the following ``V4L2_YCBCR_ENC_709`` encoding:
174 The ``V4L2_YCBCR_ENC_709`` encoding described above is the default for
176 in which case the BT.601 Y'CbCr encoding is used.
181 The xvYCC 709 encoding (``V4L2_YCBCR_ENC_XV709``, :ref:`xvycc`) is
182 similar to the Rec. 709 encoding, but it allows for R', G' and B' values
194 The xvYCC 601 encoding (``V4L2_YCBCR_ENC_XV601``, :ref:`xvycc`) is
[all …]
/Linux-v5.4/tools/testing/selftests/kvm/include/x86_64/
Dvmx.h492 static inline int vmread(uint64_t encoding, uint64_t *value) in vmread() argument
498 return evmcs_vmread(encoding, value); in vmread()
502 : [encoding]"r"(encoding) in vmread()
513 static inline uint64_t vmreadz(uint64_t encoding) in vmreadz() argument
516 vmread(encoding, &value); in vmreadz()
520 static inline int vmwrite(uint64_t encoding, uint64_t value) in vmwrite() argument
525 return evmcs_vmwrite(encoding, value); in vmwrite()
529 : [value]"rm"(value), [encoding]"r"(encoding) in vmwrite()
/Linux-v5.4/drivers/media/platform/vicodec/
Dcodec-fwht.c692 u32 encoding = 0; in encode_plane() local
715 encoding |= FWHT_FRAME_PCODED; in encode_plane()
746 encoding |= FWHT_FRAME_UNENCODED; in encode_plane()
754 if (encoding & FWHT_FRAME_UNENCODED) { in encode_plane()
771 encoding &= ~FWHT_FRAME_PCODED; in encode_plane()
773 return encoding; in encode_plane()
786 u32 encoding; in fwht_encode_frame() local
789 encoding = encode_plane(frm->luma, ref_frm->luma, &rlco, rlco_max, cf, in fwht_encode_frame()
792 if (encoding & FWHT_FRAME_UNENCODED) in fwht_encode_frame()
793 encoding |= FWHT_LUMA_UNENCODED; in fwht_encode_frame()
[all …]
Dcodec-v4l2-fwht.c236 u32 encoding; in v4l2_fwht_encode() local
256 encoding = fwht_encode_frame(&rf, &state->ref_frame, &cf, in v4l2_fwht_encode()
262 if (!(encoding & FWHT_FRAME_PCODED)) in v4l2_fwht_encode()
275 if (encoding & FWHT_LUMA_UNENCODED) in v4l2_fwht_encode()
277 if (encoding & FWHT_CB_UNENCODED) in v4l2_fwht_encode()
279 if (encoding & FWHT_CR_UNENCODED) in v4l2_fwht_encode()
281 if (encoding & FWHT_ALPHA_UNENCODED) in v4l2_fwht_encode()
283 if (!(encoding & FWHT_FRAME_PCODED)) in v4l2_fwht_encode()
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_btf.h13 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \ argument
14 ((encoding) << 24 | (bits_offset) << 16 | (nr_bits))
15 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument
17 BTF_INT_ENC(encoding, bits_offset, bits)
/Linux-v5.4/tools/lib/bpf/
Dlibbpf_internal.h17 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \ argument
18 ((encoding) << 24 | (bits_offset) << 16 | (nr_bits))
19 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument
21 BTF_INT_ENC(encoding, bits_offset, bits)
/Linux-v5.4/drivers/net/wan/
Dhdlc_raw.c67 if (new_settings.encoding == ENCODING_DEFAULT) in raw_ioctl()
68 new_settings.encoding = ENCODING_NRZ; in raw_ioctl()
73 result = hdlc->attach(dev, new_settings.encoding, in raw_ioctl()
Dhdlc_raw_eth.c83 if (new_settings.encoding == ENCODING_DEFAULT) in raw_eth_ioctl()
84 new_settings.encoding = ENCODING_NRZ; in raw_eth_ioctl()
89 result = hdlc->attach(dev, new_settings.encoding, in raw_eth_ioctl()
Dhd64572.c428 switch(port->encoding) { in sca_open()
492 static int sca_attach(struct net_device *dev, unsigned short encoding, in sca_attach() argument
495 if (encoding != ENCODING_NRZ && in sca_attach()
496 encoding != ENCODING_NRZI && in sca_attach()
497 encoding != ENCODING_FM_MARK && in sca_attach()
498 encoding != ENCODING_FM_SPACE && in sca_attach()
499 encoding != ENCODING_MANCHESTER) in sca_attach()
509 dev_to_port(dev)->encoding = encoding; in sca_attach()
/Linux-v5.4/drivers/pci/pcie/
Daspm.c306 static u32 calc_l0s_latency(u32 encoding) in calc_l0s_latency() argument
308 if (encoding == 0x7) in calc_l0s_latency()
310 return (64 << encoding); in calc_l0s_latency()
314 static u32 calc_l0s_acceptable(u32 encoding) in calc_l0s_acceptable() argument
316 if (encoding == 0x7) in calc_l0s_acceptable()
318 return (64 << encoding); in calc_l0s_acceptable()
322 static u32 calc_l1_latency(u32 encoding) in calc_l1_latency() argument
324 if (encoding == 0x7) in calc_l1_latency()
326 return (1000 << encoding); in calc_l1_latency()
330 static u32 calc_l1_acceptable(u32 encoding) in calc_l1_acceptable() argument
[all …]
/Linux-v5.4/crypto/asymmetric_keys/
Dpublic_key.c63 int software_key_determine_akcipher(const char *encoding, in software_key_determine_akcipher() argument
70 if (strcmp(encoding, "pkcs1") == 0) { in software_key_determine_akcipher()
86 if (strcmp(encoding, "raw") == 0) { in software_key_determine_akcipher()
112 ret = software_key_determine_akcipher(params->encoding, in software_key_query()
177 ret = software_key_determine_akcipher(params->encoding, in software_key_eds_op()
267 ret = software_key_determine_akcipher(sig->encoding, in public_key_verify_signature()
/Linux-v5.4/arch/sh/kernel/
Ddwarf.c224 char encoding) in dwarf_read_encoded_value() argument
229 switch (encoding & 0x70) { in dwarf_read_encoded_value()
236 pr_debug("encoding=0x%x\n", (encoding & 0x70)); in dwarf_read_encoded_value()
240 if ((encoding & 0x07) == 0x00) in dwarf_read_encoded_value()
241 encoding |= DW_EH_PE_udata4; in dwarf_read_encoded_value()
243 switch (encoding & 0x0f) { in dwarf_read_encoded_value()
251 pr_debug("encoding=0x%x\n", encoding); in dwarf_read_encoded_value()
809 cie->encoding = *(char *)p++; in dwarf_parse_cie()
892 if (cie->encoding) in dwarf_parse_fde()
894 cie->encoding); in dwarf_parse_fde()
[all …]
/Linux-v5.4/drivers/net/wireless/intel/ipw2x00/
Dlibipw_wx.c300 struct iw_point *erq = &(wrqu->encoding); in libipw_wx_set_encode()
466 struct iw_point *erq = &(wrqu->encoding); in libipw_wx_get_encode()
507 struct iw_point *encoding = &wrqu->encoding; in libipw_wx_set_encodeext() local
519 idx = encoding->flags & IW_ENCODE_INDEX; in libipw_wx_set_encodeext()
541 if ((encoding->flags & IW_ENCODE_DISABLED) || in libipw_wx_set_encodeext()
667 struct iw_point *encoding = &wrqu->encoding; in libipw_wx_get_encodeext() local
672 max_key_len = encoding->length - sizeof(*ext); in libipw_wx_get_encodeext()
676 idx = encoding->flags & IW_ENCODE_INDEX; in libipw_wx_get_encodeext()
689 encoding->flags = idx + 1; in libipw_wx_get_encodeext()
695 encoding->flags |= IW_ENCODE_DISABLED; in libipw_wx_get_encodeext()
[all …]
/Linux-v5.4/drivers/staging/rtl8192u/ieee80211/
Dieee80211_wx.c277 struct iw_point *erq = &(wrqu->encoding); in ieee80211_wx_set_encode()
450 struct iw_point *erq = &(wrqu->encoding); in ieee80211_wx_get_encode()
495 struct iw_point *encoding = &wrqu->encoding; in ieee80211_wx_set_encode_ext() local
506 idx = encoding->flags & IW_ENCODE_INDEX; in ieee80211_wx_set_encode_ext()
532 if ((encoding->flags & IW_ENCODE_DISABLED) || in ieee80211_wx_set_encode_ext()
659 struct iw_point *encoding = &wrqu->encoding; in ieee80211_wx_get_encode_ext() local
664 max_key_len = encoding->length - sizeof(*ext); in ieee80211_wx_get_encode_ext()
668 idx = encoding->flags & IW_ENCODE_INDEX; in ieee80211_wx_get_encode_ext()
682 encoding->flags = idx + 1; in ieee80211_wx_get_encode_ext()
688 encoding->flags |= IW_ENCODE_DISABLED; in ieee80211_wx_get_encode_ext()
[all …]
/Linux-v5.4/Documentation/bpf/
Dbtf.rst53 The magic is ``0xeB9F``, which has different encoding for big and little
119 The following sections detail encoding of each kind.
124 ``struct btf_type`` encoding requirement:
144 bool, for the int type. The char and bool encoding are mostly useful for
145 pretty print. At most one encoding can be specified for the int type.
170 bitfield encoding. Currently, both llvm and pahole generate
176 ``struct btf_type`` encoding requirement:
188 ``struct btf_type`` encoding requirement:
203 The ``struct btf_array`` encoding:
233 ``struct btf_type`` encoding requirement:
[all …]
/Linux-v5.4/drivers/staging/vc04_services/bcm2835-camera/
Dmmal-msg-format.h58 u32 encoding; /* FourCC specifying encoding of the elementary member
84 u32 encoding; /* FourCC specifying encoding of the elementary member
/Linux-v5.4/Documentation/
Dlzo.txt35 The first byte of the block follows a different encoding from other bytes, it
43 around 255:1). The variable length encoding using #bits is always the same::
79 encoding.
87 length encoding. This improves speed for data with many zeros, which is a
92 (lzo and lzo-rle). Differences in the encoding are noted in this document with
98 First byte encoding::
100 0..16 : follow regular instruction encoding, see below. It is worth
120 Instruction encoding::
125 encoding will be a copy of 4 or more literal, and must be interpreted
195 encoding. The code is tricky, it is possible that this document contains
/Linux-v5.4/Documentation/media/uapi/rc/
Drc-protos.rst34 This IR protocol uses manchester encoding to encode 14 bits. There is a
37 The scancode encoding is *not* consistent with the lirc daemon (lircd) rc5
81 This is done so it the scancodes and encoding is compatible with existing
193 The sony protocol is a pulse-width encoding. There are three variants,
194 which just differ in number of bits and scancode encoding.
220 The sony protocol is a pulse-width encoding. There are three variants,
221 which just differ in number of bits and scancode encoding.
247 The sony protocol is a pulse-width encoding. There are three variants,
248 which just differ in number of bits and scancode encoding.
307 The scancode has a somewhat unusual encoding.
/Linux-v5.4/Documentation/devicetree/bindings/input/
Drotary-encoder.txt23 - rotary-encoder,encoding: String, the method used to encode steps.
39 rotary-encoder,encoding = "gray";
48 rotary-encoder,encoding = "binary";
/Linux-v5.4/drivers/staging/rtl8192u/
Dr8192U_wx.c528 if (wrqu->encoding.length != 0) { in r8192_wx_set_enc()
532 if (i == 1 && (4*i+1) == wrqu->encoding.length) in r8192_wx_set_enc()
534 if (i == 3 && (4*i+1) == wrqu->encoding.length) in r8192_wx_set_enc()
544 switch (wrqu->encoding.flags & IW_ENCODE_INDEX) { in r8192_wx_set_enc()
564 if (wrqu->encoding.length == 0x5) { in r8192_wx_set_enc()
578 else if (wrqu->encoding.length == 0xd) { in r8192_wx_set_enc()
738 struct iw_point *encoding = &wrqu->encoding; in r8192_wx_set_enc_ext() local
741 if ((encoding->flags & IW_ENCODE_DISABLED) || ext->alg == IW_ENCODE_ALG_NONE) in r8192_wx_set_enc_ext()
747 idx = encoding->flags & IW_ENCODE_INDEX; in r8192_wx_set_enc_ext()
/Linux-v5.4/Documentation/media/v4l-drivers/
Divtv.rst9 The cx23415 can do both encoding and decoding, the cx23416 can only do MPEG
10 encoding. Currently the only card featuring full decoding support is the
96 /dev/video0 is listed as the 'base' encoding capture device so we have:
98 - /dev/video0 is the encoding capture device for the first card (card 0)
99 - /dev/video1 is the encoding capture device for the second card (card 1)
100 - /dev/video2 is the encoding capture device for the third card (card 2)
113 The encoding capture device(s).
/Linux-v5.4/drivers/input/misc/
Drotary_encoder.c42 enum rotary_encoder_encoding encoding; member
65 if (encoder->encoding == ROTENC_GRAY && ret & 1) in rotary_encoder_get_state()
224 encoder->encoding = ROTENC_GRAY; in rotary_encoder_probe()
228 encoder->encoding = ROTENC_BINARY; in rotary_encoder_probe()
/Linux-v5.4/drivers/staging/wlan-ng/
Dp80211conv.h78 unsigned int encoding; /* P80211ENUM_encoding_* */ member
122 __be32 encoding; member

1234567891011