Home
last modified time | relevance | path

Searched refs:encode (Results 1 – 25 of 79) sorted by relevance

1234

/hardware/interfaces/graphics/mapper/stable-c/implutils/
Dimpltests.cpp72 EXPECT_EQ(8 + HeaderSize, BufferId::encode(18, buffer.data(), 0)); in TEST()
74 EXPECT_EQ(8 + HeaderSize, BufferId::encode(18, buffer.data(), buffer.size())); in TEST()
88 EXPECT_EQ(4 + HeaderSize, DataspaceValue::encode(Dataspace::BT2020, buffer.data(), 0)); in TEST()
91 DataspaceValue::encode(Dataspace::BT2020, buffer.data(), buffer.size())); in TEST()
106 EXPECT_EQ(expectedSize, NameValue::encode("Hello", buffer.data(), buffer.size())); in TEST()
127 NameValue::encode("This is a long string", buffer.data(), buffer.size())); in TEST()
143 NameValue::encode(bad_string, buffer.data(), buffer.size())); in TEST()
148 NameValue::encode(bad_string, buffer.data(), buffer.size())); in TEST()
157 EXPECT_EQ(8 + HeaderSize, WidthValue::encode(100, buffer.data(), buffer.size())); in TEST()
172 EXPECT_EQ(expectedSize, CompressionValue::encode(myCompression, buffer.data(), 0)); in TEST()
[all …]
/hardware/ril/include/telephony/
Dril_mnc.h75 static inline int encode(int mnc, int numDigits) { in encode() function
98 static inline int encode(const std::string & mnc) { in encode() function
99 return encode(std::stoi(mnc), mnc.length()); in encode()
126 if (decode(encode(mncs[i].in)).compare(mncs[i].out)) return 1; in test()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dvideo_encode_extensions.adoc5 [[video-encode-operations]]
11 . Ensure that the implementation can encode the Video Content by querying
17 The formats for <<encode-input-picture,input>> and
30 <<encode-input-picture,input>> and <<reference-picture,reference (DPB)>>
35 <<encode-input-picture,input>> and <<reference-picture,reference>>
41 . Create the <<video-session,video session>> to be used for video encode
43 Before creating the Encode Video Session, the encode capabilities
47 . Bind memory resources with the encode video session by calling
82 structures chained to this, specify the details of the encode operation.
113 [[encode-input-picture]]
[all …]
Dvideo_encode_h265_extensions.adoc5 [[encode-h265]]
25 An H.265 encode profile is specified by including the
31 [open,refpage='VkVideoEncodeH265ProfileInfoEXT',desc='Structure specifying H.265 encode profile',ty…
49 [open,refpage='VkVideoEncodeH265CapabilitiesEXT',desc='Structure specifying H.265 encode capabiliti…
116 [open,refpage='VkVideoEncodeH265CapabilityFlagBitsEXT',desc='Video encode H.265 capability flags',t…
168 If not set, the implementation is only able to encode a single tile for
172 If not set, the implementation is only able to encode a single slice
184 [open,refpage='VkVideoEncodeH265StdFlagBitsEXT',desc='Video encode H.265 syntax capability flags',t…
285 …kVideoEncodeH265CtbSizeFlagBitsEXT',desc='Supported CTB sizes for H.265 video encode',type='enums']
312 …rmBlockSizeFlagBitsEXT',desc='Supported transform block sizes for H.265 video encode',type='enums']
[all …]
Dvideo_encode_h264_extensions.adoc5 [[encode-h264]]
25 [open,refpage='VkVideoEncodeH264ProfileInfoEXT',desc='Structure specifying H.264 encode profile',ty…
37 An H.264 encode profile is specified by including a
49 [open,refpage='VkVideoEncodeH264CapabilitiesEXT',desc='Structure specifying H.264 encode capabiliti…
112 [open,refpage='VkVideoEncodeH264CapabilityFlagBitsEXT',desc='Video encode H.264 capability flags',t…
167 [open,refpage='VkVideoEncodeH264StdFlagBitsEXT',desc='Video encode H.264 syntax capability flags',t…
256 …ncodeH264QualityLevelPropertiesEXT',desc='Structure describing the H.264 encode quality level prop…
263 structure to retrieve additional video encode quality level properties
305 H.264 encode profile by including an instance of the
309 [open,refpage='VkVideoEncodeH264SessionCreateInfoEXT',desc='Structure specifies H.264 encode sessio…
[all …]
Dvideo_extensions.adoc18 * APIs providing codec-independent video decode and video encode related
42 <<encode-input-picture,encode input pictures>>,
390 H.264 video encode operations.
394 H.265 video encode operations.
518 [open,refpage='VkVideoEncodeUsageInfoKHR',desc='Structure specifying video encode usage information…
520 Additional information about the video encode use case can: be provided by
533 use of the video encode profile.
536 to be encoded using the video encode profile.
543 [open,refpage='VkVideoEncodeUsageFlagBitsKHR',desc='Video encode usage flags',type='enums']
547 video encode use case:
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_KHR_video_encode_queue.adoc33 implementations to expose queue families supporting video encode operations.
35 More specifically, it adds video encode specific capabilities and a new
36 command buffer command that allows recording video encode operations against
40 encode extensions that enable encoding video sequences of specific video
74 ** Updates to encode capability interface
110 flag to video encode feedback queries
124 for video encode quality levels
127 encode quality level and removed `qualityLevel` from the encode
DVK_EXT_ycbcr_2plane_444_formats.adoc22 encode and decode, but were not part of the
/hardware/interfaces/identity/aidl/vts/
DUtil.h65 valueCbor = cppbor::Tstr(((const char*)value.data())).encode(); in TestEntryData()
70 valueCbor = cppbor::Bstr(value).encode(); in TestEntryData()
74 valueCbor = cppbor::Bool(value).encode(); in TestEntryData()
79 valueCbor = cppbor::Uint(value).encode(); in TestEntryData()
81 valueCbor = cppbor::Nint(-value).encode(); in TestEntryData()
DEndToEndTests.cpp339 vector<uint8_t> deviceEngagementBytes = deviceEngagement.encode(); in TEST_P()
340 vector<uint8_t> eReaderPubBytes = cppbor::Tstr("ignored").encode(); in TEST_P()
344 vector<uint8_t> sessionTranscriptEncoded = sessionTranscript.encode(); in TEST_P()
355 .encode(); in TEST_P()
377 .encode(); in TEST_P()
379 cppbor::SemanticTag(24, encodedReaderAuthentication).encode(); in TEST_P()
478 cppbor::SemanticTag(24, sessionTranscript.encode()) in TEST_P()
479 .encode()); // SessionTranscriptBytes in TEST_P()
481 support::calcMac(sessionTranscript.encode(), // SessionTranscript in TEST_P()
495 .encode(); in TEST_P()
[all …]
DReaderAuthTests.cpp262 vector<uint8_t> deviceEngagementBytes = deviceEngagement.encode(); in retrieveData()
263 vector<uint8_t> eReaderPubBytes = cppbor::Tstr("ignored").encode(); in retrieveData()
267 vector<uint8_t> sessionTranscriptBytes = sessionTranscript.encode(); in retrieveData()
279 .encode(); in retrieveData()
290 .encode(); in retrieveData()
297 .encode(); in retrieveData()
299 cppbor::SemanticTag(24, encodedReaderAuthentication).encode(); in retrieveData()
517 vector<uint8_t> deviceEngagementBytes = deviceEngagement.encode(); in TEST_P()
518 vector<uint8_t> eReaderPubBytes = cppbor::Tstr("ignored").encode(); in TEST_P()
522 vector<uint8_t> sessionTranscriptBytes = sessionTranscript.encode(); in TEST_P()
[all …]
DUserAuthTests.cpp158 vector<uint8_t> deviceEngagementBytes = deviceEngagement.encode(); in calcSessionTranscript()
159 vector<uint8_t> eReaderPubBytes = cppbor::Tstr("ignored").encode(); in calcSessionTranscript()
199 sessionTranscriptBytes = sessionTranscript_.encode(); in retrieveData()
208 .encode(); in retrieveData()
213 .encode(); in retrieveData()
DUpdateCredentialTests.cpp106 vector<uint8_t> tstrLastName = cppbor::Tstr("Prince").encode(); in provisionData()
188 vector<uint8_t> tstrLastName = cppbor::Tstr("T.A.F.K.A.P").encode(); in TEST_P()
DTestCredentialTests.cpp105 vector<uint8_t> tstrLastName = cppbor::Tstr("Turing").encode(); in TEST_P()
184 .encode(); in TEST_P()
/hardware/google/graphics/common/libhwjpeg/include/
DExynosJpegEncoderForCamera.h109 int encode(int* size, exif_attribute_t* exifInfo, char** pcJpegBuffer,
111 int encode(int* size, exif_attribute_t* exifInfo, int fdJpegBuffer, char** pcJpegBuffer,
113 int encode(int* size, exif_attribute_t* exifInfo, int fdJpegBuffer, char** pcJpegBuffer,
/hardware/google/gfxstream/guest/mesa/src/util/
Dxxd.py50 f.write("0x{:02x}, ".format(ord(b)).encode('utf-8'))
65 outfile.write("static const char {}[] = {{\n".format(name).encode('utf-8'))
/hardware/knowles/athletico/sound_trigger_hal/
Dadnc_strm.c67 int encode; member
437 adnc_strm_dev->encode = TNL_Q15; in adnc_strm_open()
454 adnc_strm_dev->encode); in adnc_strm_open()
497 adnc_strm_dev->encode); in adnc_strm_open()
543 adnc_strm_dev->encode); in adnc_strm_close()
/hardware/interfaces/graphics/mapper/stable-c/implutils/include/android/hardware/graphics/mapper/utils/
DIMapperMetadataTypes.h253 [[nodiscard]] static int32_t encode(T value, void* _Nullable destBuffer,
271 [[nodiscard]] static int32_t encode(T value, void* _Nullable destBuffer,
290 [[nodiscard]] static int32_t encode(const std::string_view& value, void* _Nullable destBuffer,
310 [[nodiscard]] static int32_t encode(const ExtendableType& value, void* _Nullable destBuffer,
328 [[nodiscard]] static int32_t encode(const std::vector<PlaneLayout>& values,
384 [[nodiscard]] static int32_t encode(const std::vector<Rect>& value, void* _Nullable destBuffer,
418 [[nodiscard]] static int32_t encode(const std::optional<Smpte2086>& optValue,
462 [[nodiscard]] static int32_t encode(const std::optional<Cta861_3>& optValue,
497 [[nodiscard]] static int32_t encode(const std::optional<std::vector<uint8_t>>& value,
600 return StandardMetadata<T>::value::encode(value, destBuffer,
/hardware/interfaces/security/keymint/support/
Dremote_prov_utils.cpp238 return coseKey.canonicalize().encode(); in constructCoseKey()
307 return EekChain{eekChain.encode(), pub_key, priv_key}; in generateEekChain()
323 return chain.encode(); in getProdEekChain()
328 auto encodedBcc = bcc->encode(); in validateBcc()
348 bytevec csrCbor = csr.encode(); in jsonEncodeCsrWithBuild()
503 if (parsed->clone()->asMap()->canonicalize().encode() != deviceInfoBytes) { in parseAndValidateDeviceInfo()
713 .encode()); in verifyProtectedData()
722 .encode()) in verifyProtectedData()
724 .add(keysToSign.encode()) // payload (keysToSign) in verifyProtectedData()
919 auto result = parseAndValidateDeviceInfo(signedDeviceInfo->encode(), provisionable, isFactory); in parseAndValidateCsrPayload()
[all …]
/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/
DAstcLookupTables.glsl3 // Number of trits, quints and bits that are used to encode the weights.
10 // Number of trits, quints, and bits that we are used to encode the color endpoints, sorted from
/hardware/google/graphics/common/libhwjpeg/
DExynosJpegEncoderForCamera.cpp318 int ExynosJpegEncoderForCamera::encode(int* size, exif_attribute_t* exifInfo, char** pcJpegBuffer, in encode() function in ExynosJpegEncoderForCamera
320 return encode(size, exifInfo, -1, pcJpegBuffer, debugInfo); in encode()
323 int ExynosJpegEncoderForCamera::encode(int* size, exif_attribute_t* exifInfo, int fdJpegBuffer, in encode() function in ExynosJpegEncoderForCamera
327 return encode(size, exifInfo, fdJpegBuffer, pcJpegBuffer, extra); in encode()
335 return encode(size, exifInfo, fdJpegBuffer, pcJpegBuffer, &m_extraInfo); in encode()
338 int ExynosJpegEncoderForCamera::encode(int* size, exif_attribute_t* exifInfo, int fdJpegBuffer, in encode() function in ExynosJpegEncoderForCamera
/hardware/interfaces/security/secretkeeper/aidl/vts/
Dsecretkeeper_cli.rs264 let hex_id = hex::encode(&id.0); in string_to_id()
288 let hex_secret = hex::encode(&secret.0); in value_to_secret()
298 let hex = hex::encode(&secret.0); in secret_to_value_display()
/hardware/google/gfxstream/guest/mesa/bin/
Dgen_release_notes_test.py192 mock_com = mock.AsyncMock(return_value=(textwrap.dedent(content).encode(), ''))
Dgen_vs_module_defs.py72 f.write(out_file_content.encode('utf-8'))
/hardware/google/graphics/common/gralloc-headers/pixel-gralloc/
Dutils.h79 std::vector<uint8_t> encode(const T& val) { in encode() function

1234