| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_fourcc.c | 41 * @depth: bit depth per pixel 43 * Computes a drm fourcc pixel format code for the given @bpp/@depth values. 46 uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth) in drm_mode_legacy_fb_format() argument 52 if (depth == 8) in drm_mode_legacy_fb_format() 57 switch (depth) { in drm_mode_legacy_fb_format() 70 if (depth == 24) in drm_mode_legacy_fb_format() 75 switch (depth) { in drm_mode_legacy_fb_format() 102 * @depth: bit depth per pixel 104 * Computes a drm fourcc pixel format code for the given @bpp/@depth values. 110 uint32_t bpp, uint32_t depth) in drm_driver_legacy_fb_format() argument [all …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | sbitmap.c | 44 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, in sbitmap_init_node() argument 58 if (depth >= 4) { in sbitmap_init_node() 59 while ((4U << shift) > depth) in sbitmap_init_node() 68 sb->depth = depth; in sbitmap_init_node() 69 sb->map_nr = DIV_ROUND_UP(sb->depth, bits_per_word); in sbitmap_init_node() 71 if (depth == 0) { in sbitmap_init_node() 81 sb->map[i].depth = min(depth, bits_per_word); in sbitmap_init_node() 82 depth -= sb->map[i].depth; in sbitmap_init_node() 89 void sbitmap_resize(struct sbitmap *sb, unsigned int depth) in sbitmap_resize() argument 97 sb->depth = depth; in sbitmap_resize() [all …]
|
| /OK3568_Linux_fs/buildroot/package/rubix/ |
| H A D | 0002-misc-fixes.patch | 8 - } else if (d->depth==16) { /* here 16bpp */ 9 + } else if ((d->depth==16) | (d->depth==15)) { /* here 16bpp */ 18 if (d->depth==8) 20 - else if (d->depth==16) 21 + else if ((d->depth==16) | (d->depth==15)) 23 else if (d->depth==24) 70 + if (s->depth == 15) { 73 + temp=s->depth; 76 - s->buffer=(char *)malloc(((SCREEN_X+7)/8)*SCREEN_Y*s->depth); 85 - s->depth==32?24:s->depth, ZPixmap, [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/ |
| H A D | traits.hpp | 59 @note Deprecated. This is replaced by "single purpose" traits: traits::Type and traits::Depth 64 form CV_\<bit-depth\>{U|S|F}C(\<number_of_channels\>), for example: uchar \~ CV_8UC1, 3-element 89 enum { depth = DataDepth<_Tp>::value, channels=2, 91 type=CV_MAKETYPE(depth, channels) }; 102 // the statement below will print 6, 2 , that is depth == CV_64F, channels == 2 103 cout << B.depth() << ", " << B.channels() << endl; 121 depth = -1, enumerator 124 type = CV_MAKETYPE(depth, channels) 137 depth = CV_8U, enumerator 140 type = CV_MAKETYPE(depth, channels) [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/ |
| H A D | traits.hpp | 59 @note Deprecated. This is replaced by "single purpose" traits: traits::Type and traits::Depth 64 form CV_\<bit-depth\>{U|S|F}C(\<number_of_channels\>), for example: uchar \~ CV_8UC1, 3-element 89 enum { depth = DataDepth<_Tp>::value, channels=2, 91 type=CV_MAKETYPE(depth, channels) }; 102 // the statement below will print 6, 2 , that is depth == CV_64F, channels == 2 103 cout << B.depth() << ", " << B.channels() << endl; 121 depth = -1, enumerator 124 type = CV_MAKETYPE(depth, channels) 137 depth = CV_8U, enumerator 140 type = CV_MAKETYPE(depth, channels) [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/ |
| H A D | traits.hpp | 59 @note Deprecated. This is replaced by "single purpose" traits: traits::Type and traits::Depth 64 form CV_\<bit-depth\>{U|S|F}C(\<number_of_channels\>), for example: uchar \~ CV_8UC1, 3-element 89 enum { depth = DataDepth<_Tp>::value, channels=2, 91 type=CV_MAKETYPE(depth, channels) }; 102 // the statement below will print 6, 2 , that is depth == CV_64F, channels == 2 103 cout << B.depth() << ", " << B.channels() << endl; 121 depth = -1, enumerator 124 type = CV_MAKETYPE(depth, channels) 137 depth = CV_8U, enumerator 140 type = CV_MAKETYPE(depth, channels) [all …]
|
| /OK3568_Linux_fs/external/xserver/mi/ |
| H A D | micmap.c | 292 int depth; member 320 miSetVisualTypesAndMasks(int depth, int visuals, int bitsPerRGB, in miSetVisualTypesAndMasks() argument 331 redMask = _RM(depth); in miSetVisualTypesAndMasks() 332 greenMask = _GM(depth); in miSetVisualTypesAndMasks() 333 blueMask = _BM(depth); in miSetVisualTypesAndMasks() 336 new->depth = depth; in miSetVisualTypesAndMasks() 353 miSetVisualTypes(int depth, int visuals, int bitsPerRGB, int preferredCVC) in miSetVisualTypes() argument 355 return miSetVisualTypesAndMasks(depth, visuals, bitsPerRGB, in miSetVisualTypes() 360 miGetDefaultVisualMask(int depth) in miGetDefaultVisualMask() argument 362 if (depth > MAX_PSEUDO_DEPTH) in miGetDefaultVisualMask() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ext4/ |
| H A D | extents.c | 195 int depth = path->p_depth; in ext4_ext_find_goal() local 215 ex = path[depth].p_ext; in ext4_ext_find_goal() 228 if (path[depth].p_bh) in ext4_ext_find_goal() 229 return path[depth].p_bh->b_blocknr; in ext4_ext_find_goal() 324 ext4_ext_max_entries(struct inode *inode, int depth) in ext4_ext_max_entries() argument 328 if (depth == ext_depth(inode)) { in ext4_ext_max_entries() 329 if (depth == 0) in ext4_ext_max_entries() 334 if (depth == 0) in ext4_ext_max_entries() 370 int depth) in ext4_valid_extent_entries() argument 381 if (depth == 0) { in ext4_valid_extent_entries() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/rkflash/ |
| H A D | rk_sftl_arm_v8_clang.S | 658 .LBB1_6: // =>This Inner Loop Header: Depth=1 665 // %bb.7: // in Loop: Header=BB1_6 Depth=1 728 .LBB1_17: // =>This Inner Loop Header: Depth=1 749 // %bb.18: // in Loop: Header=BB1_17 Depth=1 772 .LBB1_22: // =>This Inner Loop Header: Depth=1 790 // %bb.23: // in Loop: Header=BB1_22 Depth=1 869 .LBB3_3: // =>This Inner Loop Header: Depth=1 876 // %bb.4: // in Loop: Header=BB3_3 Depth=1 916 .LBB4_3: // =>This Inner Loop Header: Depth=1 921 // %bb.4: // in Loop: Header=BB4_3 Depth=1 [all …]
|
| /OK3568_Linux_fs/kernel/fs/minix/ |
| H A D | itree_common.c | 31 int depth, in get_branch() argument 33 Indirect chain[DEPTH], in get_branch() argument 45 while (--depth) { in get_branch() 116 Indirect chain[DEPTH], in splice_branch() argument 156 int offsets[DEPTH]; in get_block() 157 Indirect chain[DEPTH]; in get_block() 160 int depth = block_to_path(inode, block, offsets); in get_block() local 162 if (depth == 0) in get_block() 166 partial = get_branch(inode, depth, offsets, chain, &err); in get_block() 171 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key)); in get_block() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | sbitmap.h | 22 * @depth: Number of bits being used in @word/@cleared 24 unsigned long depth; member 50 * @depth: Number of bits used in the whole bitmap. 52 unsigned int depth; member 138 * @min_shallow_depth: The minimum shallow depth which may be passed to 147 * @depth: Number of bits to allocate. 155 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, 171 * @depth: New number of bits to resize to. 174 * depth doesn't exceed the depth that the sb was initialized with. 176 void sbitmap_resize(struct sbitmap *sb, unsigned int depth); [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-inzi.rst | 9 Infrared 10-bit linked with Depth 16-bit images 15 Proprietary multi-planar format used by Intel SR300 Depth cameras, comprise of 16 Infrared image followed by Depth data. The pixel definition is 32-bpp, 17 with the Depth and Infrared Data split into separate continuous planes of 29 The second plane provides 16-bit per-pixel Depth data arranged in 64 * - Depth\ :sub:`0,0` 65 - Depth\ :sub:`0,1` 66 - Depth\ :sub:`0,2` 71 * - :cspan:`5` Depth Data 76 - Depth\ :sub:`n-1,n-3` [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/common/ |
| H A D | xf86Helper.c | 308 xf86AddPixFormat(ScrnInfoPtr pScrn, int depth, int bpp, int pad) in xf86AddPixFormat() argument 316 if (depth == 1) in xf86AddPixFormat() 318 else if (depth <= 8) in xf86AddPixFormat() 320 else if (depth <= 16) in xf86AddPixFormat() 322 else if (depth <= 32) in xf86AddPixFormat() 331 pScrn->formats[i].depth = depth; in xf86AddPixFormat() 338 * Set the depth we are using based on (in the following order of preference): 344 * Also find a Display subsection matching the depth/bpp found. 347 * bitsPerPixel, depth, display, imageByteOrder, 361 xf86SetDepthBpp(ScrnInfoPtr scrp, int depth, int dummy, int fbbpp, in xf86SetDepthBpp() argument [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/ |
| H A D | opal-tracepoints.c | 51 unsigned int *depth; in __trace_opal_entry() local 55 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_entry() 57 if (*depth) in __trace_opal_entry() 60 (*depth)++; in __trace_opal_entry() 63 (*depth)--; in __trace_opal_entry() 72 unsigned int *depth; in __trace_opal_exit() local 76 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_exit() 78 if (*depth) in __trace_opal_exit() 81 (*depth)++; in __trace_opal_exit() 84 (*depth)--; in __trace_opal_exit()
|
| /OK3568_Linux_fs/kernel/drivers/iio/adc/ |
| H A D | max1027.c | 94 #define MAX1027_V_CHAN(index, depth) \ argument 104 .realbits = depth, \ 106 .shift = (depth == 10) ? 2 : 0, \ 126 #define MAX1X27_CHANNELS(depth) \ argument 128 MAX1027_V_CHAN(0, depth), \ 129 MAX1027_V_CHAN(1, depth), \ 130 MAX1027_V_CHAN(2, depth), \ 131 MAX1027_V_CHAN(3, depth), \ 132 MAX1027_V_CHAN(4, depth), \ 133 MAX1027_V_CHAN(5, depth), \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | commonring.c | 31 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth, in brcmf_commonring_config() argument 34 commonring->depth = depth; in brcmf_commonring_config() 75 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_write_available() 83 if (available > commonring->depth / 8) { in brcmf_commonring_write_available() 116 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write() 125 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write() 152 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write_multiple() 161 if (*alloced + commonring->w_ptr > commonring->depth) in brcmf_commonring_reserve_for_write_multiple() 162 *alloced = commonring->depth - commonring->w_ptr; in brcmf_commonring_reserve_for_write_multiple() 164 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write_multiple() [all …]
|
| /OK3568_Linux_fs/kernel/arch/sh/oprofile/ |
| H A D | backtrace.c | 24 unsigned int *depth = data; in backtrace_address() local 26 if ((*depth)--) in backtrace_address() 60 void sh_backtrace(struct pt_regs * const regs, unsigned int depth) in sh_backtrace() argument 65 * Paranoia - clip max depth as we could get lost in the weeds. in sh_backtrace() 67 if (depth > backtrace_limit) in sh_backtrace() 68 depth = backtrace_limit; in sh_backtrace() 72 if (depth) in sh_backtrace() 74 &backtrace_ops, &depth); in sh_backtrace() 78 while (depth-- && (stackaddr != NULL)) in sh_backtrace()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/dp/ |
| H A D | dp_link.h | 87 * mdss_dp_test_bit_depth_to_bpp() - convert test bit depth to bpp 88 * @tbd: test bit depth 91 * git bit depth value. This function assumes that bit depth has 98 * 1. Bit depth is per color component in dp_link_bit_depth_to_bpp() 99 * 2. If bit depth is unknown return 0 in dp_link_bit_depth_to_bpp() 116 * dp_test_bit_depth_to_bpc() - convert test bit depth to bpc 117 * @tbd: test bit depth 120 * bit depth value. This function assumes that bit depth has
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/ti-vpe/ |
| H A D | vpdma.c | 32 .depth = 8, 37 .depth = 8, 42 .depth = 8, 47 .depth = 8, 52 .depth = 8, 57 .depth = 4, 62 .depth = 4, 67 .depth = 16, 72 .depth = 24, 77 .depth = 16, [all …]
|
| /OK3568_Linux_fs/external/xserver/render/ |
| H A D | picture.c | 60 return PictureMatchVisual(pScreen, pWindow->drawable.depth, in PictureWindowFormat() 141 return pDepth->depth; in visualDepth() 148 CARD8 depth; member 152 addFormat(FormatInitRec formats[256], int *nformat, CARD32 format, CARD8 depth) in addFormat() argument 157 if (formats[n].format == format && formats[n].depth == depth) in addFormat() 160 formats[*nformat].depth = depth; in addFormat() 173 CARD8 depth; in PictureCreateDefaultFormats() local 185 formats[nformats].depth = 1; in PictureCreateDefaultFormats() 189 formats[nformats].depth = 8; in PictureCreateDefaultFormats() 193 formats[nformats].depth = 4; in PictureCreateDefaultFormats() [all …]
|
| /OK3568_Linux_fs/u-boot/fs/reiserfs/ |
| H A D | reiserfs.c | 353 printf ("root read_in: block=%d, depth=%d\n", in reiserfs_mount() 389 /* Read in the node at the current path and depth into the node cache. 390 * You must set INFO->blocks[depth] before. 393 read_tree_node (unsigned int blockNr, int depth) in read_tree_node() argument 395 char* cache = CACHE(depth); in read_tree_node() 397 if (depth < num_cached) in read_tree_node() 402 if (blockNr == INFO->blocks[depth]) in read_tree_node() 409 printf (" next read_in: block=%d (depth=%d)\n", in read_tree_node() 410 blockNr, depth); in read_tree_node() 415 if (__le16_to_cpu(BLOCKHEAD (cache)->blk_level) != depth) in read_tree_node() [all …]
|
| /OK3568_Linux_fs/u-boot/scripts/dtc/libfdt/ |
| H A D | fdt.c | 162 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() argument 181 if (depth) in fdt_next_node() 182 (*depth)++; in fdt_next_node() 186 if (depth && ((--(*depth)) < 0)) in fdt_next_node() 192 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node() 204 int depth = 0; in fdt_first_subnode() local 206 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode() 207 if (offset < 0 || depth != 1) in fdt_first_subnode() 215 int depth = 1; in fdt_next_subnode() local 218 * With respect to the parent, the depth of the next subnode will be in fdt_next_subnode() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/trace/ |
| H A D | trace_functions_graph.c | 24 int depth; member 196 .depth = 0, in __trace_graph_function() 200 .depth = 0, in __trace_graph_function() 649 * Comments display at + 1 to depth. Since in print_graph_entry_leaf() 651 * equal to this depth. in print_graph_entry_leaf() 653 cpu_data->depth = call->depth - 1; in print_graph_entry_leaf() 655 /* No need to keep this function around for this depth */ in print_graph_entry_leaf() 656 if (call->depth < FTRACE_RETFUNC_DEPTH && in print_graph_entry_leaf() 657 !WARN_ON_ONCE(call->depth < 0)) in print_graph_entry_leaf() 658 cpu_data->enter_funcs[call->depth] = 0; in print_graph_entry_leaf() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/can/ |
| H A D | xilinx_can.txt | 19 - tx-fifo-depth : Can Tx fifo depth (Zynq, Axi CAN). 20 - rx-fifo-depth : Can Rx fifo depth (Zynq, Axi CAN, CAN FD in 37 tx-fifo-depth = <0x40>; 38 rx-fifo-depth = <0x40>; 48 tx-fifo-depth = <0x40>; 49 rx-fifo-depth = <0x40>; 60 rx-fifo-depth = <0x20>;
|
| /OK3568_Linux_fs/external/xserver/Xext/ |
| H A D | shm.c | 476 int depth, unsigned int format, in doShmPutImage() argument 482 if (format == ZPixmap || (format == XYPixmap && depth == 1)) { in doShmPutImage() 483 pPixmap = GetScratchPixmapHeader(dst->pScreen, w, h, depth, in doShmPutImage() 484 BitsPerPixel(depth), in doShmPutImage() 485 PixmapBytePad(w, depth), data); in doShmPutImage() 493 GCPtr putGC = GetScratchGC(depth, dst->pScreen); in doShmPutImage() 498 pPixmap = (*dst->pScreen->CreatePixmap) (dst->pScreen, sw, sh, depth, in doShmPutImage() 505 (*putGC->ops->PutImage) (&pPixmap->drawable, putGC, depth, -sx, -sy, w, in doShmPutImage() 536 if (stuff->depth != 1) in ProcShmPutImage() 541 if (pDraw->depth != stuff->depth) in ProcShmPutImage() [all …]
|