/external/pdfium/core/fxcodec/codec/ |
D | fx_codec_flate.cpp | 265 const int row_size = 7; in PNG_PredictorEncode() local 266 const int row_count = (*data_size + row_size - 1) / row_size; in PNG_PredictorEncode() 267 const int last_row_size = *data_size % row_size; in PNG_PredictorEncode() 268 uint8_t* dest_buf = FX_Alloc2D(uint8_t, row_size + 1, row_count); in PNG_PredictorEncode() 273 for (int byte = 0; byte < row_size && byte_cnt < (int)*data_size; byte++) { in PNG_PredictorEncode() 277 up = pSrcData[byte - row_size]; in PNG_PredictorEncode() 281 pDestData += (row_size + 1); in PNG_PredictorEncode() 282 pSrcData += row_size; in PNG_PredictorEncode() 286 *data_size = (row_size + 1) * row_count - in PNG_PredictorEncode() 287 (last_row_size > 0 ? (row_size - last_row_size) : 0); in PNG_PredictorEncode() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | topk_v2.cc | 86 TopContainer(int32 k, int32 row_size) : k_(k) { in TopContainer() argument 87 container_.reserve(std::min(k, row_size) + 1); in TopContainer() 138 void TopK(int32 row_size, int32 num_rows, const T* data, int32 k, in TopK() argument 140 TopContainer<T> topc(k, row_size); in TopK() 142 const T* values_row = data + row * row_size; in TopK() 144 for (int32 c = 0; c < row_size; ++c) { in TopK() 196 const int32 row_size = input->dims->data[input->dims->size - 1]; in Eval() local 203 TopK(row_size, num_rows, input->data.f, k, output_indexes->data.i32, in Eval() 207 TopK(row_size, num_rows, input->data.uint8, k, output_indexes->data.i32, in Eval() 211 TopK(row_size, num_rows, input->data.int8, k, output_indexes->data.i32, in Eval() [all …]
|
D | embedding_lookup.cc | 75 const int row_size = SizeOfDimension(value, 0); in EvalFloat() local 76 const int row_bytes = value->bytes / row_size; in EvalFloat() 80 if (idx >= row_size || idx < 0) { in EvalFloat() 84 idx, row_size - 1); in EvalFloat() 98 const int row_size = SizeOfDimension(value, 0); in EvalHybrid() local 109 if (idx >= row_size || idx < 0) { in EvalHybrid() 113 idx, row_size - 1); in EvalHybrid()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | decode_bmp_op.cc | 113 const int row_size = (channels_ * width + 3) / 4 * 4; in Compute() local 116 (abs_height - 1) * row_size + in Compute() 140 Decode(bmp_pixels, row_size, output->flat<uint8>().data(), width, in Compute() 144 uint8* Decode(const uint8* input, const int row_size, uint8* const output, 153 uint8* DecodeBmpOp::Decode(const uint8* input, const int row_size, in Decode() argument 163 src_pos = ((height - 1 - i) * row_size) + j * channels; in Decode() 165 src_pos = i * row_size + j * channels; in Decode()
|
D | concat_lib_cpu.h | 42 int64 row_size = 0; in ConcatCPUImpl() local 45 row_size += sizes.back(); in ConcatCPUImpl() 78 auto work = [&row_size, &sizes, &inputs, &output, &copier, &num_inputs]( in ConcatCPUImpl() 80 int64 skipped_rows = start / row_size; in ConcatCPUImpl() 81 T* out = output->data() + skipped_rows * row_size; in ConcatCPUImpl() 144 int64 row_size = 0; in ConcatSYCLImpl() local 147 row_size += sizes.back(); in ConcatSYCLImpl()
|
D | reverse_op.cc | 54 const int64 row_size = inner_size * middle_size; in ReverseRows() local 60 in_ptr += start * row_size; in ReverseRows() 61 out_ptr += start * row_size; in ReverseRows() 64 out_ptr += row_size; in ReverseRows() 73 out_ptr += row_size; in ReverseRows()
|
D | ragged_range_op.cc | 93 int64 row_size = rt_nested_splits(row + 1) - rt_nested_splits(row); in Compute() local 96 for (int64 i = 0; i < row_size; ++i) { in Compute()
|
D | scale_and_translate_op_test.cc | 217 const int64 row_size = num_col_squares * square_size * num_channels; in SetCheckerboardImageInput() local 218 const int64 image_size = num_row_squares * square_size * row_size; in SetCheckerboardImageInput() 230 auto it = data.begin() + b * image_size + r * row_size + in SetCheckerboardImageInput()
|
/external/tensorflow/tensorflow/lite/examples/label_image/ |
D | bitmap_helpers.cc | 31 std::vector<uint8_t> decode_bmp(const uint8_t* input, int row_size, int width, in decode_bmp() argument 40 src_pos = ((height - 1 - i) * row_size) + j * channels; in decode_bmp() 42 src_pos = i * row_size + j * channels; in decode_bmp() 107 const int row_size = (8 * *channels * *width + 31) / 32 * 4; in read_bmp() local 115 return decode_bmp(bmp_pixels, row_size, *width, abs(*height), *channels, in read_bmp()
|
/external/autotest/client/deps/glbench/src/ |
D | readpixeltest.cc | 38 const int row_size = g_width * 4; in Run() local 42 std::unique_ptr<char[]> buf(new char[((row_size + 3) & ~3) * g_height + 1]); in Run()
|
/external/mesa3d/src/amd/addrlib/inc/chip/r800/ |
D | si_gb_reg.h | 68 unsigned int row_size : 2; member 78 unsigned int row_size : 2; member
|
/external/mesa3d/src/mesa/main/ |
D | get_hash_generator.py | 88 row_size = 4 89 for i in range(0, hash_table_size, row_size): 90 row = dense_table[i : i + row_size]
|
/external/libdrm/radeon/ |
D | radeon_surface.c | 106 uint32_t row_size; member 554 surf_man->hw_info.row_size = 1024; in eg_init_hw_info() 557 surf_man->hw_info.row_size = 2048; in eg_init_hw_info() 560 surf_man->hw_info.row_size = 4096; in eg_init_hw_info() 563 surf_man->hw_info.row_size = 4096; in eg_init_hw_info() 974 surf->tile_split = surf_man->hw_info.row_size; in eg_surface_best() 975 surf->stencil_tile_split = surf_man->hw_info.row_size / 2; in eg_surface_best() 1270 surf_man->hw_info.row_size = 1024; in si_init_hw_info() 1273 surf_man->hw_info.row_size = 2048; in si_init_hw_info() 1276 surf_man->hw_info.row_size = 4096; in si_init_hw_info() [all …]
|
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderClipping.cpp | 165 const unsigned int row_size = m_texture_width * m_texture_n_components; in iterate() local 225 unsigned char* data_row = buffer + y * row_size; in iterate()
|
D | esextcGeometryShaderLayeredFramebuffer.cpp | 720 const int row_size = TEXTURE_WIDTH * pixel_size; in iterate() local 721 unsigned char* row = (unsigned char*)buffer + y * row_size; in iterate() 1398 int row_size = pixel_size * TEXTURE_WIDTH; in iterate() local 1399 unsigned char* ref_row = ref_data + y * row_size; in iterate() 1400 unsigned char* result_row = result_data + y * row_size; in iterate()
|
/external/libaom/libaom/av1/encoder/x86/ |
D | av1_txfm1d_sse4.h | 81 const int row_size = txfm_size; in transpose_32() local 86 for (r = 0; r < row_size; r += 4) { in transpose_32()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_mipmap_tree.c | 566 int row_size = cpp * width; in intel_miptree_copy_slice_sw() local 567 if (src_stride == row_size && in intel_miptree_copy_slice_sw() 568 dst_stride == row_size) { in intel_miptree_copy_slice_sw() 569 memcpy(dst, src, row_size * height); in intel_miptree_copy_slice_sw() 572 memcpy(dst, src, row_size); in intel_miptree_copy_slice_sw()
|
/external/ImageMagick/coders/ |
D | psd.c | 1076 row_size; in ReadPSDChannelRaw() local 1089 row_size=GetPSDRowSize(image); in ReadPSDChannelRaw() 1090 pixels=(unsigned char *) AcquireQuantumMemory(row_size,sizeof(*pixels)); in ReadPSDChannelRaw() 1100 count=ReadBlob(image,row_size,pixels); in ReadPSDChannelRaw() 1101 if (count != (ssize_t) row_size) in ReadPSDChannelRaw() 1147 row_size; in ReadPSDChannelRLE() local 1161 row_size=GetPSDRowSize(image); in ReadPSDChannelRLE() 1162 pixels=(unsigned char *) AcquireQuantumMemory(row_size,sizeof(*pixels)); in ReadPSDChannelRLE() 1172 if (length > (row_size+2048)) /* arbitrary number */ in ReadPSDChannelRLE() 1198 (ssize_t) (image->depth == 1 ? 123456 : image->depth),row_size,pixels); in ReadPSDChannelRLE() [all …]
|
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderPoints.cpp | 566 const unsigned int row_size = pixel_size * m_rt_width; in iterate() local 579 const unsigned char* rendered_color_ubyte_ptr = buffer + row_size * y + x * pixel_size; in iterate()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_mipmap_tree.c | 1504 int row_size = cpp * width; in intel_miptree_copy_slice_sw() local 1505 if (src_stride == row_size && in intel_miptree_copy_slice_sw() 1506 dst_stride == row_size) { in intel_miptree_copy_slice_sw() 1507 memcpy(dst, src, row_size * height); in intel_miptree_copy_slice_sw() 1510 memcpy(dst, src, row_size); in intel_miptree_copy_slice_sw() 2885 uint32_t row_size = 64 * stride / 2; /* Two rows are interleaved. */ in intel_offset_S8() local 2894 uintptr_t u = tile_y * row_size in intel_offset_S8()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_fs.c | 895 unsigned row_size = dst_count / block_height; in load_unswizzled_block() local 902 unsigned x = i % row_size; in load_unswizzled_block() 903 unsigned y = i / row_size; in load_unswizzled_block() 940 unsigned row_size = src_count / block_height; in store_unswizzled_block() local 947 unsigned x = i % row_size; in store_unswizzled_block() 948 unsigned y = i / row_size; in store_unswizzled_block()
|
/external/mesa3d/src/amd/addrlib/r800/ |
D | siaddrlib.cpp | 2264 switch (reg.f.row_size) in DecodeGbRegs()
|