Home
last modified time | relevance | path

Searched full:decoded (Results 1 – 25 of 612) sorted by relevance

12345678910>>...25

/openbmc/linux/tools/net/ynl/lib/
H A Dynl.py149 decoded = self.raw[offset:offset+m['len']]
153 [ decoded ] = format.unpack_from(self.raw, offset)
156 decoded = self.formatted_string(decoded, m.display_hint)
157 value[m.name] = decoded
493 decoded = attr.as_struct(members)
496 decoded[m.name] = self._decode_enum(decoded[m.name], m)
498 decoded = attr.as_c_array(attr_spec.sub_type)
500 decoded = attr.as_bin()
502 decoded = NlAttr.formatted_string(decoded, attr_spec.display_hint)
503 return decoded
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/
H A DCVE-2019-7575.patch9 If a WAV format defines shorter audio stream and decoded MS ADPCM data chunk
31 - Uint8 *freeable, *encoded, *encoded_end, *decoded;
32 + Uint8 *freeable, *encoded, *encoded_end, *decoded, *decoded_end;
39 decoded = *audio_buf;
40 + decoded_end = decoded + *audio_len;
57 + if (decoded + 4 + (stereo ? 4 : 0) > decoded_end) goto invalid_size;
58 decoded[0] = state[0]->iSamp2&0xFF;
59 decoded[1] = state[0]->iSamp2>>8;
60 decoded += 2;
67 + if (decoded + 4 > decoded_end) goto invalid_size;
H A DCVE-2019-7572.patch53 - Uint8 *freeable, *encoded, *encoded_end, *decoded;
54 + Uint8 *freeable, *encoded, *encoded_end, *decoded, *decoded_end;
61 decoded = *audio_buf;
62 + decoded_end = decoded + *audio_len;
70 + if (decoded + 2 > decoded_end) goto invalid_size;
71 decoded[0] = (Uint8)(state[c].sample&0xFF);
72 decoded[1] = (Uint8)(state[c].sample>>8);
73 decoded += 2;
78 + if (decoded + 4 * 4 * channels > decoded_end)
80 Fill_IMA_ADPCM_block(decoded, encoded,
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_txrx_lib.c51 struct ice_rx_ptype_decoded decoded = ice_decode_rx_desc_ptype(ptype); in ice_ptype_to_htype() local
53 if (!decoded.known) in ice_ptype_to_htype()
55 if (decoded.payload_layer == ICE_RX_PTYPE_PAYLOAD_LAYER_PAY4) in ice_ptype_to_htype()
57 if (decoded.payload_layer == ICE_RX_PTYPE_PAYLOAD_LAYER_PAY3) in ice_ptype_to_htype()
59 if (decoded.outer_ip == ICE_RX_PTYPE_OUTER_L2) in ice_ptype_to_htype()
95 * @ptype: the packet type decoded by hardware
103 struct ice_rx_ptype_decoded decoded; in ice_rx_csum() local
110 decoded = ice_decode_rx_desc_ptype(ptype); in ice_rx_csum()
120 /* check if HW has decoded the packet and checksum */ in ice_rx_csum()
124 if (!(decoded.known && decoded.outer_ip)) in ice_rx_csum()
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Ddev-stateless-decoder.rst10 between processed frames. This means that each frame is decoded independently
15 has to do is to provide the raw encoded stream and dequeue decoded frames in
29 Depending on the encoded formats supported by the decoder, a single decoded
100 destination buffers parsed/decoded from the bytestream.
110 frame buffer resolution for the decoded frames.
113 pixel format for decoded frames.
162 frame buffer resolution of the decoded stream; typically unchanged from
201 for the stream to be properly decoded (taking e.g. reference frames
239 controls relevant to the format being decoded.
246 If there is a possibility that the decoded frame will require one or more
[all …]
H A Ddev-decoder.rst51 decoded frames; for encoders, the queue of buffers containing an encoded
82 the order in which frames are decoded; may differ from display order if the
96 Decoded Picture Buffer; an H.264/HEVC term for a buffer that stores a decoded
107 an encoded frame that does not reference frames decoded earlier, i.e.
108 can be decoded fully on its own.
369 initialization sequence completes and the frame is decoded.
398 No decoded frames are produced during this phase.
406 destination buffers parsed/decoded from the bytestream.
416 frame buffer resolution for the decoded frames.
419 pixel format for decoded frames.
[all …]
/openbmc/libcper/sections/
H A Dcper-section-cxl-protocol.c283 UINT8 *decoded; in ir_section_cxl_protocol_to_cper() local
296 decoded = base64_decode( in ir_section_cxl_protocol_to_cper()
301 if (decoded == NULL) { in ir_section_cxl_protocol_to_cper()
306 decoded, decoded_len); in ir_section_cxl_protocol_to_cper()
307 free(decoded); in ir_section_cxl_protocol_to_cper()
342 decoded = base64_decode(json_object_get_string(encodedsrc), in ir_section_cxl_protocol_to_cper()
345 if (decoded == NULL) { in ir_section_cxl_protocol_to_cper()
349 fwrite(decoded, decoded_len, 1, out); in ir_section_cxl_protocol_to_cper()
351 free(decoded); in ir_section_cxl_protocol_to_cper()
358 decoded = base64_decode(json_object_get_string(encodederr), in ir_section_cxl_protocol_to_cper()
[all …]
H A Dcper-section-dmar-iommu.c103 UINT8 *decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_iommu_to_cper() local
106 if (decoded == NULL) { in ir_section_dmar_iommu_to_cper()
109 memcpy(section_cper->EventLogEntry, decoded, decoded_len); in ir_section_dmar_iommu_to_cper()
110 free(decoded); in ir_section_dmar_iommu_to_cper()
116 decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_iommu_to_cper()
119 if (decoded == NULL) { in ir_section_dmar_iommu_to_cper()
122 memcpy(section_cper->DeviceTableEntry, decoded, decoded_len); in ir_section_dmar_iommu_to_cper()
123 free(decoded); in ir_section_dmar_iommu_to_cper()
H A Dcper-section-dmar-vtd.c188 UINT8 *decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_vtd_to_cper() local
191 if (decoded == NULL) { in ir_section_dmar_vtd_to_cper()
194 memcpy(section_cper->RootEntry, decoded, decoded_len); in ir_section_dmar_vtd_to_cper()
195 free(decoded); in ir_section_dmar_vtd_to_cper()
202 decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_vtd_to_cper()
205 if (decoded == NULL) { in ir_section_dmar_vtd_to_cper()
209 memcpy(section_cper->ContextEntry, decoded, decoded_len); in ir_section_dmar_vtd_to_cper()
210 free(decoded); in ir_section_dmar_vtd_to_cper()
H A Dcper-section-cxl-component.c148 //CXL component event log, decoded from base64. in ir_section_cxl_component_to_cper()
166 UINT8 *decoded = base64_decode( in ir_section_cxl_component_to_cper() local
170 if (decoded == NULL) { in ir_section_cxl_component_to_cper()
174 fwrite(decoded, decoded_len, 1, out); in ir_section_cxl_component_to_cper()
176 free(decoded); in ir_section_cxl_component_to_cper()
/openbmc/linux/tools/perf/pmu-events/arch/x86/westmereex/
H A Dfrontend.json3 "BriefDescription": "Instructions decoded",
5 "EventName": "MACRO_INSTS.DECODED",
10 "BriefDescription": "Macro-fused instructions decoded",
17 "BriefDescription": "Two Uop instructions decoded",
/openbmc/linux/tools/perf/pmu-events/arch/x86/westmereep-sp/
H A Dfrontend.json3 "BriefDescription": "Instructions decoded",
5 "EventName": "MACRO_INSTS.DECODED",
10 "BriefDescription": "Macro-fused instructions decoded",
17 "BriefDescription": "Two Uop instructions decoded",
/openbmc/linux/tools/perf/pmu-events/arch/x86/nehalemex/
H A Dfrontend.json3 "BriefDescription": "Instructions decoded",
5 "EventName": "MACRO_INSTS.DECODED",
10 "BriefDescription": "Macro-fused instructions decoded",
17 "BriefDescription": "Two Uop instructions decoded",
/openbmc/linux/tools/perf/pmu-events/arch/x86/westmereep-dp/
H A Dfrontend.json3 "BriefDescription": "Instructions decoded",
5 "EventName": "MACRO_INSTS.DECODED",
10 "BriefDescription": "Macro-fused instructions decoded",
17 "BriefDescription": "Two Uop instructions decoded",
/openbmc/linux/tools/perf/pmu-events/arch/x86/nehalemep/
H A Dfrontend.json3 "BriefDescription": "Instructions decoded",
5 "EventName": "MACRO_INSTS.DECODED",
10 "BriefDescription": "Macro-fused instructions decoded",
17 "BriefDescription": "Two Uop instructions decoded",
/openbmc/linux/drivers/media/platform/st/sti/delta/
H A Ddelta.h54 * @crop: cropping window inside decoded frame (1920x1080@0,0
112 * struct delta_frameinfo - information about decoded frame
187 #define DELTA_FRAME_DEC 0x04 /* contains decoded content */
231 * @pixelformat: pixel format of decoded frame that this decoder support
241 * @get_frameinfo: get decoded frame related infos, see below
242 * @set_frameinfo: (optional) set decoded frame related infos, see below
245 * @get_frame: get the next decoded frame available, see below
289 * in this case the next bitstream access unit must be decoded till
296 * get_frameinfo() - get decoded frame related infos
306 * set_frameinfo() - set decoded frame related infos
[all …]
/openbmc/linux/drivers/soc/qcom/
H A Dqmi_encdec.c426 * @buf_dst: Buffer to store the decoded element.
428 * @elem_len: Number of elements to be decoded.
429 * @elem_size: Size of a single instance of the element to be decoded.
433 * the decoded elements in the destination buffer "buf_dst". The elements are
435 * function returns the number of bytes of decoded information.
437 * Return: The total size of the decoded data elements, in bytes.
455 * @buf_dst: Buffer to store the decoded element.
457 * @elem_len: Number of elements to be decoded.
464 * and stores the decoded elements in the destination buffer "buf_dst". The
466 * function returns the number of bytes of decoded information.
[all …]
/openbmc/qemu/tests/unit/
H A Dcheck-qjson.c795 int64_t decoded; in int_number() member
817 g_assert_cmpint(ival, ==, test_cases[i].decoded); in int_number()
818 if (test_cases[i].decoded >= 0) { in int_number()
820 g_assert_cmpuint(uval, ==, (uint64_t)test_cases[i].decoded); in int_number()
825 (double)test_cases[i].decoded); in int_number()
840 uint64_t decoded; in uint_number() member
859 g_assert_cmpuint(uval, ==, test_cases[i].decoded); in uint_number()
862 (double)test_cases[i].decoded); in uint_number()
877 double decoded; in float_number() member
899 g_assert_cmpfloat(qnum_get_double(qnum), ==, test_cases[i].decoded); in float_number()
[all …]
/openbmc/libcper/tests/
H A Dbase64_test.c45 UINT8 *decoded = in test_base64_decode_good() local
47 assert(decoded != NULL); in test_base64_decode_good()
49 assert(memcmp(decoded, good_decode_outputs[i], decoded_len) == in test_base64_decode_good()
51 free(decoded); in test_base64_decode_good()
/openbmc/qemu/include/qemu/
H A Dbase64.h30 * @out_len: filled with length of decoded data
43 * If decoding is successful, the decoded data will
45 * number of bytes in the decoded data. The caller
49 * Returns: the decoded data or NULL
/openbmc/linux/arch/arm64/kernel/probes/
H A Ddecode-insn.c138 enum probe_insn decoded; in arm_kprobe_decode_insn() local
146 decoded = INSN_GOOD_NO_SLOT; in arm_kprobe_decode_insn()
149 decoded = INSN_GOOD_NO_SLOT; in arm_kprobe_decode_insn()
151 decoded = arm_probe_decode_insn(insn, &asi->api); in arm_kprobe_decode_insn()
171 if (decoded != INSN_REJECTED && scan_end) in arm_kprobe_decode_insn()
175 return decoded; in arm_kprobe_decode_insn()
/openbmc/libcper/cli-app/
H A Dcper-convert.c114 UINT8 *decoded = base64_decode(fbuff, readsize, &decoded_len); in cper_to_json() local
115 if (decoded == NULL) { in cper_to_json()
119 free(decoded); in cper_to_json()
122 if (!header_valid((const char *)decoded, decoded_len)) { in cper_to_json()
125 free(decoded); in cper_to_json()
128 // Swap the buffer to the base64 decoded buffer. in cper_to_json()
130 fbuff = (char *)decoded; in cper_to_json()
133 decoded = NULL; in cper_to_json()
/openbmc/linux/tools/testing/selftests/ir/
H A Dir_loopback.c7 // will send this IR to the receiver side, where we try to read the decoded
181 bool decoded = true; in main() local
187 ksft_test_result_error("no scancode decoded: %m\n"); in main()
188 decoded = false; in main()
192 if (!decoded) in main()
196 ksft_test_result_error("decoded protocol is different: %d\n", in main()
200 ksft_test_result_error("decoded scancode is different: %llx\n", in main()
/openbmc/u-boot/fs/jffs2/
H A Dmini_inflate.c30 stream->decoded = 0; in init_stream()
115 stream->decoded += length; in decompress_none()
150 stream->decoded++; in decompress_huffman()
172 stream->decoded += length; in decompress_huffman()
347 /* returns the number of bytes decoded, < 0 if there was an error. Note that
360 if (btype == NO_COMP) decompress_none(&stream, dest + stream.decoded); in decompress_block()
362 decompress_dynamic(&stream, dest + stream.decoded); in decompress_block()
363 else if (btype == FIXED_COMP) decompress_fixed(&stream, dest + stream.decoded); in decompress_block()
370 putLabeledWord("stream.decoded = ",stream.decoded); in decompress_block()
374 return stream.error ? -stream.error : stream.decoded; in decompress_block()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_lirc_mode2_user.c14 // BPF and then decoded into scancodes. The lirc chardev must be the one
120 /* Read decoded IR */ in main()
123 printf("Failed to read decoded IR: %m\n"); in main()
143 /* Read decoded IR */ in main()
146 printf("Failed to read decoded IR: %m\n"); in main()

12345678910>>...25