Home
last modified time | relevance | path

Searched defs:usize (Results 1 – 25 of 91) sorted by relevance

1234

/system/cros-codecs/src/
Dimage_processing.rs23 src_y_stride: usize, in nv12_copy()
25 dst_y_stride: usize, in nv12_copy()
27 src_uv_stride: usize, in nv12_copy()
29 dst_uv_stride: usize, in nv12_copy()
30 width: usize, in nv12_copy()
31 height: usize, in nv12_copy()
48 visible_width: usize, in extend_border_nv12()
49 visible_height: usize, in extend_border_nv12()
50 coded_width: usize, in extend_border_nv12()
51 coded_height: usize, in extend_border_nv12()
[all …]
Dvideo_frame.rs122 fn num_planes(&self) -> usize { in num_planes()
141 fn get_horizontal_subsampling(&self) -> Vec<usize> { in get_horizontal_subsampling()
169 fn get_vertical_subsampling(&self) -> Vec<usize> { in get_vertical_subsampling()
199 fn get_bytes_per_element(&self) -> Vec<usize> { in get_bytes_per_element()
226 fn get_plane_size(&self) -> Vec<usize>; in get_plane_size()
229 fn get_plane_pitch(&self) -> Vec<usize>; in get_plane_pitch()
271 fn fill_v4l2_plane(&self, index: usize, plane: &mut v4l2_plane); in fill_v4l2_plane()
297 fn len(&self) -> usize { in len()
301 fn fill_v4l2_plane(&self, index: usize, plane: &mut v4l2_plane) { in fill_v4l2_plane()
Dencoder.rs228 pub fn gen_test_frame<F>(frame_width: usize, frame_height: usize, t: f32, mut set_pix: F) in gen_test_frame()
230 F: FnMut(usize, usize, [f32; 3]), in gen_test_frame()
265 width: usize, in fill_test_frame_nm12()
266 height: usize, in fill_test_frame_nm12()
297 width: usize, in fill_test_frame_nv12()
298 height: usize, in fill_test_frame_nv12()
311 width: usize, in fill_test_frame_p010()
312 height: usize, in fill_test_frame_p010()
349 buffer_size: usize, in userptr_test_frame_generator()
/system/cros-codecs/src/codec/av1/
Dwriter.rs44 pub fn write_f<T: Into<u32>>(&mut self, bits: usize, value: T) -> ObuWriterResult<usize> { in write_f()
50 pub fn write_uvlc<T: Into<u32>>(&mut self, value: T) -> ObuWriterResult<usize> { in write_uvlc()
64 pub fn write_le<T: Into<u32>>(&mut self, n: usize, value: T) -> ObuWriterResult<usize> { in write_le()
83 min_bytes: usize, in write_leb128()
84 ) -> ObuWriterResult<usize> { in write_leb128()
110 pub fn write_su<T: Into<i32>>(&mut self, bits: usize, value: T) -> ObuWriterResult<usize> { in write_su()
/system/security/fsverity/libfsverity_rs/
Dlib.rs26 fn read_metadata(fd: i32, metadata_type: u64, offset: u64, buf: &mut [u8]) -> io::Result<usize> { in read_metadata()
40 pub fn read_merkle_tree(fd: i32, offset: u64, buf: &mut [u8]) -> io::Result<usize> { in read_merkle_tree()
45 pub fn read_signature(fd: i32, buf: &mut [u8]) -> io::Result<usize> { in read_signature()
/system/security/keystore2/src/hal_instance_names/
Dlib.rs26 major_version: usize, in get_hidl_instances()
27 minor_version: usize, in get_hidl_instances()
/system/cros-codecs/src/video_frame/
Dgeneric_dma_video_frame.rs104 fn detile_y_tile(dst: &mut [u8], src: &[u8], width: usize, height: usize) { in detile_y_tile()
137 offsets: Vec<usize>, in new()
138 pitches: Vec<usize>, in new()
139 lens: Vec<usize>, in new()
377 fn get_single_plane_size(&self, index: usize) -> usize { in get_single_plane_size()
394 fn get_plane_offset(&self) -> Vec<usize> { in get_plane_offset()
494 fn get_plane_size(&self) -> Vec<usize> { in get_plane_size()
498 fn get_plane_pitch(&self) -> Vec<usize> { in get_plane_pitch()
511 fn fill_v4l2_plane(&self, index: usize, plane: &mut v4l2_plane) { in fill_v4l2_plane()
Dframe_pool.rs50 fn get_plane_size(&self) -> Vec<usize> { in get_plane_size()
54 fn get_plane_pitch(&self) -> Vec<usize> { in get_plane_pitch()
67 fn fill_v4l2_plane(&self, index: usize, plane: &mut v4l2_plane) { in fill_v4l2_plane()
Dv4l2_mmap_video_frame.rs108 fn get_plane_size(&self) -> Vec<usize> { in get_plane_size()
130 fn get_plane_pitch(&self) -> Vec<usize> { in get_plane_pitch()
148 fn fill_v4l2_plane(&self, _index: usize, plane: &mut v4l2_plane) { in fill_v4l2_plane()
Dgbm_video_frame.rs199 fn get_plane_offset(&self) -> Vec<usize> { in get_plane_offset()
350 fn get_plane_size(&self) -> Vec<usize> { in get_plane_size()
364 fn get_plane_pitch(&self) -> Vec<usize> { in get_plane_pitch()
388 fn fill_v4l2_plane(&self, index: usize, plane: &mut v4l2_plane) { in fill_v4l2_plane()
619 strides: Vec<usize>, in import_from_v4l2()
/system/libfmq/
Dlibfmq.rs100 pub fn contiguous_count(&self, idx: usize) -> usize { in contiguous_count()
106 pub fn required_elements(&self) -> usize { in required_elements()
134 pub unsafe fn assume_written(&mut self, n_newly_written: usize) { in assume_written()
159 pub fn new(elems: usize, event_word: bool) -> Self { in new()
334 fn contiguous_count(txn: &MemTransaction, idx: usize, n_elems: usize) -> usize { in contiguous_count()
386 pub fn contiguous_count(&self, idx: usize) -> usize { in contiguous_count()
392 pub fn unread_elements(&self) -> usize { in unread_elements()
418 pub fn assume_read(&mut self, n_newly_read: usize) { in assume_read()
/system/extras/libatrace_rust/benchmark/src/
Datrace_benchmark.rs21 fn bench_tracing_off_begin(c: &mut Criterion, name_len: usize) { in bench_tracing_off_begin()
34 fn bench_tracing_on_begin(c: &mut Criterion, name_len: usize) { in bench_tracing_on_begin()
/system/cros-codecs/src/codec/h264/
Dnalu_writer.rs54 fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> { in write()
130 pub fn write_f<T: Into<u32>>(&mut self, bits: usize, value: T) -> NaluWriterResult<usize> { in write_f()
135 pub fn write_u<T: Into<u32>>(&mut self, bits: usize, value: T) -> NaluWriterResult<usize> { in write_u()
Dnalu.rs18 fn len(&self) -> usize; in len()
99 fn find_start_code(data: &mut Cursor<&'a [u8]>, offset: usize) -> Option<usize> { in find_start_code()
Ddpb.rs151 pub fn len(&self) -> usize { in len()
165 pub fn set_limits(&mut self, max_num_pics: usize, max_num_reorder_frames: usize) { in set_limits()
171 pub fn max_num_pics(&self) -> usize { in max_num_pics()
177 pub fn num_ref_frames(&self) -> usize { in num_ref_frames()
232 fn find_short_term_with_pic_num_pos(&self, pic_num: i32) -> Option<usize> { in find_short_term_with_pic_num_pos()
250 fn find_long_term_with_long_term_pic_num_pos(&self, long_term_pic_num: u32) -> Option<usize> { in find_long_term_with_long_term_pic_num_pos()
491 pub fn num_not_outputted(&self) -> usize { in num_not_outputted()
/system/cros-codecs/src/codec/h265/
Ddpb.rs43 pub fn len(&self) -> usize { in len()
57 pub fn set_max_num_pics(&mut self, max_num_pics: usize) { in set_max_num_pics()
62 pub fn max_num_pics(&self) -> usize { in max_num_pics()
74 fn get_position(&self, needle: &Rc<RefCell<PictureData>>) -> Option<usize> { in get_position()
/system/cros-codecs/src/backend/dummy/
Ddecoder.rs32 fn image_size(&mut self) -> usize { in image_size()
116 fn num_free_frames(&self) -> usize { in num_free_frames()
120 fn num_managed_frames(&self) -> usize { in num_managed_frames()
/system/security/keystore2/apc_compat/
Dapc_compat.rs82 tbs_message_size: usize, in confirmation_result_callback()
84 confirmation_token_size: usize, in confirmation_result_callback()
/system/security/keystore2/src/
Dshared_secret_negotiation.rs95 version: (usize, usize), in filter_map_legacy_km_instances() argument
Dboot_level_keys.rs274 boot_level: usize, in expand_key()
275 out_len: usize, in expand_key()
/system/cros-codecs/src/backend/v4l2/
Ddecoder.rs16 fn min_num_frames(&self) -> usize; in min_num_frames()
/system/secretkeeper/dice_policy/building/src/
Dlib.rs144 fn wildcard_position(path: &[i64]) -> Result<usize, Error> { in wildcard_position()
152 fn size_of_array_in_nested_container(container: &Value, path: &[i64]) -> Result<usize, Error> { in size_of_array_in_nested_container()
174 fn replace_key(spec: &ConstraintSpec, pos: usize, new_key: i64) -> ConstraintSpec { in replace_key()
/system/keymint/common/src/crypto/
Daes.rs44 pub fn key_size(&self) -> usize { in key_size()
230 pub fn tag_len(&self) -> usize { in tag_len()
/system/authgraph/boringssl/src/
Dec.rs167 fn ec_cose_signature_to_der(coord_len: usize, signature: &[u8]) -> Result<Vec<u8>, Error> { in ec_cose_signature_to_der()
183 fn ec_der_signature_to_cose(coord_len: usize, signature: &[u8]) -> Result<Vec<u8>, Error> { in ec_der_signature_to_cose()
213 coord_len: usize, in create_nist_key_pair()
264 coord_len: usize, in coords_from_nist_pub_key()
/system/security/keystore2/src/database/
Dutils.rs61 pub fn new(index: usize, row: &'a Row<'a>) -> Self { in new()

1234