Home
last modified time | relevance | path

Searched refs:block_size (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/msm8998/gpt-utils/
Dgpt-utils.cpp1130 uint32_t block_size = 0; in gpt_get_block_size() local
1136 if (ioctl(fd, BLKSSZGET, &block_size) != 0) { in gpt_get_block_size()
1142 return block_size; in gpt_get_block_size()
1152 uint32_t block_size = 0; in gpt_set_header() local
1159 block_size = gpt_get_block_size(fd); in gpt_set_header()
1160 ALOGI("%s: Block size is : %d", __func__, block_size); in gpt_set_header()
1161 if (block_size == 0) { in gpt_set_header()
1166 gpt_header_offset = block_size; in gpt_set_header()
1168 gpt_header_offset = lseek64(fd, 0, SEEK_END) - block_size; in gpt_set_header()
1175 if (blk_rw(fd, 1, gpt_header_offset, gpt_header, block_size)) { in gpt_set_header()
[all …]
Dgpt-utils.h137 uint32_t block_size; member
/hardware/interfaces/neuralnetworks/1.0/
Dtypes.hal248 * The value block_size indicates the input block size and how the data is moved.
250 * Chunks of data of size block_size * block_size from depth are rearranged into
251 * non-overlapping blocks of size block_size x block_size.
253 * The width of the output tensor is input_depth * block_size, whereas the height is
254 * input_height * block_size.
255 * The depth of the input tensor must be divisible by block_size * block_size
263 * 1: An INT32 value, specifying the block_size. block_size must be >=1 and
264 * block_size * block_size must be a divisor of the input depth.
267 * 0: The output 4-D tensor, of shape [batch, height*block_size, width*block_size,
268 * depth/(block_size*block_size)].
[all …]
/hardware/intel/img/psb_video/src/
Dpsb_cmdbuf.c1467 uint32_t block_size = cmdbuf->cmd_idx - (cmdbuf->skip_block_start + 1); in psb_cmdbuf_skip_end_block() local
1469 *cmdbuf->skip_block_start = CMD_CONDITIONAL_SKIP | (cmdbuf->skip_condition << 20) | block_size; in psb_cmdbuf_skip_end_block()