| /OK3568_Linux_fs/kernel/drivers/staging/greybus/ |
| H A D | loopback.c | 53 struct gb_loopback *gb; member 127 struct gb_loopback *gb = dev_get_drvdata(dev); \ 128 return sprintf(buf, "%u\n", gb->field); \ 137 struct gb_loopback *gb = dev_get_drvdata(dev); \ 139 if (!gb->requests_completed) \ 141 return sprintf(buf, "%" #type "\n", gb->name.field); \ 151 struct gb_loopback *gb; \ 154 gb = dev_get_drvdata(dev); \ 155 stats = &gb->name; \ 175 struct gb_loopback *gb = dev_get_drvdata(dev); \ [all …]
|
| H A D | Makefile | 6 gb-bootrom-y := bootrom.o 7 gb-camera-y := camera.o 8 gb-firmware-y := fw-core.o fw-download.o fw-management.o authentication.o 9 gb-spilib-y := spilib.o 10 gb-hid-y := hid.o 11 gb-light-y := light.o 12 gb-log-y := log.o 13 gb-loopback-y := loopback.o 14 gb-power-supply-y := power_supply.o 15 gb-raw-y := raw.o [all …]
|
| H A D | Kconfig | 12 will be called gb-audio.ko 23 will be called gb-audio-codec.ko 33 will be called gb-bootrom.ko 43 will be called gb-camera.ko 53 will be called gb-firmware.ko 63 will be called gb-hid.ko 73 will be called gb-light.ko 82 will be called gb-log.ko 91 will be called gb-log.ko 101 will be called gb-power-supply.ko [all …]
|
| H A D | audio_topology.c | 140 static const char **gb_generate_enum_strings(struct gbaudio_module_info *gb, in gb_generate_enum_strings() argument 149 strings = devm_kcalloc(gb->dev, items, sizeof(char *), GFP_KERNEL); in gb_generate_enum_strings() 225 struct gbaudio_codec_info *gb = snd_soc_component_get_drvdata(comp); in gbcodec_mixer_ctl_get() local 229 module = find_gb_module(gb, kcontrol->id.name); in gbcodec_mixer_ctl_get() 287 struct gbaudio_codec_info *gb = snd_soc_component_get_drvdata(comp); in gbcodec_mixer_ctl_put() local 291 module = find_gb_module(gb, kcontrol->id.name); in gbcodec_mixer_ctl_put() 391 struct gbaudio_codec_info *gb = dev_get_drvdata(codec_dev); in gbcodec_mixer_dapm_ctl_get() local 395 module = find_gb_module(gb, kcontrol->id.name); in gbcodec_mixer_dapm_ctl_get() 440 struct gbaudio_codec_info *gb = dev_get_drvdata(codec_dev); in gbcodec_mixer_dapm_ctl_put() local 444 module = find_gb_module(gb, kcontrol->id.name); in gbcodec_mixer_dapm_ctl_put() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/h265/ |
| H A D | h265d_sei.c | 36 static RK_S32 decode_nal_sei_decoded_picture_hash(BitReadCtx_t *gb) in decode_nal_sei_decoded_picture_hash() argument 40 READ_BITS(gb, 8, &hash_type); in decode_nal_sei_decoded_picture_hash() 46 SKIP_BITS(gb, 8); in decode_nal_sei_decoded_picture_hash() 48 SKIP_BITS(gb, 16); in decode_nal_sei_decoded_picture_hash() 50 SKIP_BITS(gb, 32); in decode_nal_sei_decoded_picture_hash() 58 static RK_S32 decode_nal_sei_frame_packing_arrangement(HEVCContext *s, BitReadCtx_t *gb) in decode_nal_sei_frame_packing_arrangement() argument 62 READ_UE(gb, &value); // frame_packing_arrangement_id in decode_nal_sei_frame_packing_arrangement() 63 READ_ONEBIT(gb, &value); in decode_nal_sei_frame_packing_arrangement() 67 READ_BITS(gb, 7, &s->frame_packing_arrangement_type); in decode_nal_sei_frame_packing_arrangement() 68 READ_ONEBIT(gb, &s->quincunx_subsampling); in decode_nal_sei_frame_packing_arrangement() [all …]
|
| H A D | h265d_ps.c | 139 BitReadCtx_t *gb = &lc->gb; in mpp_hevc_decode_short_term_rps() local 142 READ_ONEBIT(gb, &rps_predict); in mpp_hevc_decode_short_term_rps() 152 READ_UE(gb, &delta_idx); in mpp_hevc_decode_short_term_rps() 164 READ_BITS(gb, 1, &delta_rps_sign); in mpp_hevc_decode_short_term_rps() 166 READ_UE(gb, &abs_delta_rps); in mpp_hevc_decode_short_term_rps() 173 READ_ONEBIT(gb, &used); in mpp_hevc_decode_short_term_rps() 178 READ_ONEBIT(gb, &use_delta_flag); in mpp_hevc_decode_short_term_rps() 230 READ_UE(gb, &rps->num_negative_pics); in mpp_hevc_decode_short_term_rps() 232 READ_UE(gb, &nb_positive_pics); in mpp_hevc_decode_short_term_rps() 244 READ_UE(gb, &delta_poc); in mpp_hevc_decode_short_term_rps() [all …]
|
| H A D | h265d_parser.c | 315 static RK_S32 pred_weight_table(HEVCContext *s, BitReadCtx_t *gb) in pred_weight_table() argument 324 READ_UE(gb, &s->sh.luma_log2_weight_denom); in pred_weight_table() 327 READ_SE(gb, &delta); in pred_weight_table() 332 READ_ONEBIT(gb, &luma_weight_l0_flag[i]); in pred_weight_table() 341 READ_ONEBIT(gb, &chroma_weight_l0_flag[i]); in pred_weight_table() 351 READ_SE(gb, &delta_luma_weight_l0); in pred_weight_table() 353 READ_SE(gb, &s->sh.luma_offset_l0[i]); in pred_weight_table() 359 READ_SE(gb, &delta_chroma_weight_l0); in pred_weight_table() 360 READ_SE(gb, &delta_chroma_offset_l0); in pred_weight_table() 375 READ_ONEBIT(gb, &luma_weight_l1_flag[i]); in pred_weight_table() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/mpg4/ |
| H A D | mpg4d_parser.c | 217 static MPP_RET mpg4d_parse_matrix(BitReadCtx_t *gb, RK_U8 * matrix) in mpg4d_parse_matrix() argument 224 READ_BITS(gb, 8, &value); in mpg4d_parse_matrix() 263 static MPP_RET read_vol_complexity_estimation_header(Mpeg4Estimation *e, BitReadCtx_t *gb) in read_vol_complexity_estimation_header() argument 267 READ_BITS(gb, 2, &(e->method)); /* estimation_method */ in read_vol_complexity_estimation_header() 270 READ_BITS(gb, 1, &val); in read_vol_complexity_estimation_header() 272 READ_BITS(gb, 1, &(e->opaque)); /* opaque */ in read_vol_complexity_estimation_header() 273 READ_BITS(gb, 1, &(e->transparent)); /* transparent */ in read_vol_complexity_estimation_header() 274 READ_BITS(gb, 1, &(e->intra_cae)); /* intra_cae */ in read_vol_complexity_estimation_header() 275 READ_BITS(gb, 1, &(e->inter_cae)); /* inter_cae */ in read_vol_complexity_estimation_header() 276 READ_BITS(gb, 1, &(e->no_update)); /* no_update */ in read_vol_complexity_estimation_header() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/av1/ |
| H A D | av1d_cbs.c | 345 CHECK(mpp_av1_read_unsigned(gb, width, #name, \ 352 CHECK(mpp_av1_read_signed(gb, width, #name, \ 361 CHECK(mpp_av1_read_uvlc(gb, #name, \ 368 CHECK(mpp_av1_read_ns(gb, #name, max_value, \ 375 CHECK(mpp_av1_read_increment(gb, min, max, #name, &value)); \ 381 CHECK(mpp_av1_read_subexp(gb, max, \ 399 CHECK(mpp_av1_read_leb128(gb, &value)); \ 407 #define byte_alignment(gb) (mpp_get_bits_count(gb) % 8) argument 409 static RK_S32 mpp_av1_read_obu_header(AV1Context *ctx, BitReadCtx_t *gb, in mpp_av1_read_obu_header() argument 437 static RK_S32 mpp_av1_trailing_bits(AV1Context *ctx, BitReadCtx_t *gb, RK_S32 nb_bits) in mpp_av1_trailing_bits() argument [all …]
|
| H A D | av1d_parser.c | 520 GetByteCxt gb; in get_tiles_info() local 525 bytestream_init(&gb, tile_group->tile_data.data, in get_tiles_info() 533 s->tile_offset_start[tile_num] = bytestream_tell(&gb) + s->tile_offset; in get_tiles_info() 534 …s->tile_offset_end[tile_num] = bytestream_tell(&gb) + bytestream_get_bytes_left(&gb) + s->tile_off… in get_tiles_info() 539 if (bytestream_get_bytes_left(&gb) < size_bytes) in get_tiles_info() 543 size |= bytestream_get_byteu(&gb) << 8 * i; in get_tiles_info() 544 if (bytestream_get_bytes_left(&gb) <= size) in get_tiles_info() 548 s->tile_offset_start[tile_num] = bytestream_tell(&gb) + s->tile_offset; in get_tiles_info() 550 s->tile_offset_end[tile_num] = bytestream_tell(&gb) + size + s->tile_offset; in get_tiles_info() 552 bytestream_skipu(&gb, size); in get_tiles_info() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h265d/ |
| H A D | hal_h265d_com.c | 375 BitReadCtx_t gb_cxt, *gb; in hal_h265d_slice_output_rps() local 402 gb = &gb_cxt; in hal_h265d_slice_output_rps() 404 READ_ONEBIT(gb, &value); in hal_h265d_slice_output_rps() 409 READ_BITS(gb, 6, &nal_type); in hal_h265d_slice_output_rps() 415 SKIP_BITS(gb, 9); in hal_h265d_slice_output_rps() 417 READ_ONEBIT(gb, &sh.first_slice_in_pic_flag); in hal_h265d_slice_output_rps() 420 READ_ONEBIT(gb, &sh.no_output_of_prior_pics_flag); in hal_h265d_slice_output_rps() 422 READ_UE(gb, &sh.pps_id); in hal_h265d_slice_output_rps() 443 READ_ONEBIT(gb, &sh.dependent_slice_segment_flag); in hal_h265d_slice_output_rps() 447 READ_BITS(gb, slice_address_length, &sh.slice_segment_addr); in hal_h265d_slice_output_rps() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/jpeg/ |
| H A D | jpegd_parser.c | 178 static inline RK_U16 jpegd_read_len(BitReadCtx_t *gb) in jpegd_read_len() argument 181 READ_BITS(gb, 8, &lh); in jpegd_read_len() 182 READ_BITS(gb, 8, &ll); in jpegd_read_len() 191 BitReadCtx_t *gb = ctx->bit_ctx; in jpegd_skip_section() local 194 if (gb->bytes_left_ < 2) in jpegd_skip_section() 196 len = jpegd_read_len(gb); in jpegd_skip_section() 197 if (len < 2 /* invalid marker */ || (RK_U32)len - 2 > gb->bytes_left_) { in jpegd_skip_section() 202 SKIP_BITS(gb, (len - 2) * 8); in jpegd_skip_section() 213 BitReadCtx_t *gb = ctx->bit_ctx; in jpegd_decode_dht() local 219 len = jpegd_read_len(gb); in jpegd_decode_dht() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/platform/intel-mid/device_libs/ |
| H A D | platform_gpio_keys.c | 60 struct gpio_keys_button *gb = gpio_button; in pb_keys_init() local 64 gb[i].gpio = get_gpio_by_name(gb[i].desc); in pb_keys_init() 65 pr_debug("info[%2d]: name = %s, gpio = %d\n", i, gb[i].desc, in pb_keys_init() 66 gb[i].gpio); in pb_keys_init() 67 if (gb[i].gpio < 0) in pb_keys_init() 71 gb[good] = gb[i]; in pb_keys_init()
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/vp9/ |
| H A D | vp9d_parser.c | 438 static RK_S32 get_sbits_inv(BitReadCtx_t *gb, RK_S32 n) in get_sbits_inv() argument 442 READ_BITS(gb, n, &v); in get_sbits_inv() 443 READ_ONEBIT(gb, &value); in get_sbits_inv() 536 static RK_S32 mpp_get_bit1(BitReadCtx_t *gb) in mpp_get_bit1() argument 539 READ_ONEBIT(gb, &value); in mpp_get_bit1() 545 static RK_S32 mpp_get_bits(BitReadCtx_t *gb, RK_S32 num_bit) in mpp_get_bits() argument 548 READ_BITS(gb, num_bit, &value); in mpp_get_bits() 562 RK_S32 bits = ctx->profile <= 1 ? 0 : 1 + mpp_get_bit1(&s->gb); // 0:8, 1:10, 2:12 in read_colorspace_details() 568 ctx->colorspace = colorspaces[mpp_get_bits(&s->gb, 3)]; in read_colorspace_details() 588 ctx->color_range = mpp_get_bit1(&s->gb) ? MPP_FRAME_RANGE_JPEG : MPP_FRAME_RANGE_MPEG; in read_colorspace_details() [all …]
|
| /OK3568_Linux_fs/buildroot/package/weston/ |
| H A D | 0003-Revert-gl-renderer-require-GL_EXT_unpack_subimage.patch | 39 struct gl_buffer_state *gb = gs->buffer; 47 + for (j = 0; j < gb->num_textures; j++) { 51 + glBindTexture(GL_TEXTURE_2D, gb->textures[j]); 53 + gb->gl_format[j], 54 + gb->pitch / hsub, 57 + gl_format_from_internal(gb->gl_format[j]), 58 + gb->gl_pixel_type, 59 + data + gb->offset[j]); 66 if (gb->needs_full_upload || quirks->gl_force_full_upload) {
|
| H A D | 0073-gl-renderer-Support-more-SHM-RGB-formats.patch | 169 sconf->req.variant = gb->shader_variant; 170 + sconf->req.color_swap = gb->color_swap; 172 gl_shader_texture_variant_can_be_premult(gb->shader_variant); 213 for (i = 0; i < ARRAY_LENGTH(gb->gl_format); i++) { 215 wl_list_init(&gb->destroy_listener.link); 216 pixman_region32_init(&gb->texture_damage); 218 + gb->color_swap = color_swap; 220 gb->pitch = pitch; 221 gb->shader_variant = shader_variant; 222 ARRAY_COPY(gb->offset, offset);
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/ |
| H A D | 0003-Revert-gl-renderer-require-GL_EXT_unpack_subimage.patch | 39 struct gl_buffer_state *gb = gs->buffer; 47 + for (j = 0; j < gb->num_textures; j++) { 51 + glBindTexture(GL_TEXTURE_2D, gb->textures[j]); 53 + gb->gl_format[j], 54 + gb->pitch / hsub, 57 + gl_format_from_internal(gb->gl_format[j]), 58 + gb->gl_pixel_type, 59 + data + gb->offset[j]); 66 if (gb->needs_full_upload || quirks->gl_force_full_upload) {
|
| H A D | 0074-gl-renderer-Support-more-SHM-RGB-formats.patch | 169 sconf->req.variant = gb->shader_variant; 170 + sconf->req.color_swap = gb->color_swap; 172 gl_shader_texture_variant_can_be_premult(gb->shader_variant); 213 for (i = 0; i < ARRAY_LENGTH(gb->gl_format); i++) { 215 wl_list_init(&gb->destroy_listener.link); 216 pixman_region32_init(&gb->texture_damage); 218 + gb->color_swap = color_swap; 220 gb->pitch = pitch; 221 gb->shader_variant = shader_variant; 222 ARRAY_COPY(gb->offset, offset);
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/h263/ |
| H A D | h263d_parser.c | 147 static MPP_RET h263_parse_picture_header(H263dParserImpl *p, BitReadCtx_t *gb) in h263_parse_picture_header() argument 154 READ_BITS(gb, 17, &val); /* start code */ in h263_parse_picture_header() 158 READ_BITS(gb, 5, &val); /* gob */ in h263_parse_picture_header() 162 READ_BITS(gb, 8, &hdr_curr->TR); in h263_parse_picture_header() 165 SKIP_BITS(gb, 5); in h263_parse_picture_header() 168 READ_BITS(gb, 3, &val); /* source format */ in h263_parse_picture_header() 177 READ_BITS(gb, 1, &val); in h263_parse_picture_header() 181 READ_BITS(gb, 4, &val); in h263_parse_picture_header() 187 READ_BITS(gb, 5, &val); in h263_parse_picture_header() 190 SKIP_BITS(gb, 1); in h263_parse_picture_header() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/isp/kernels/dp/dp_1.0/ |
| H A D | ia_css_dp.host.c | 55 int gb = from->gb; in ia_css_dp_encode() local 68 uDIGIT_FITTING(gain * gb / r, 8, SH_CSS_DP_GAIN_SHIFT); in ia_css_dp_encode() 70 uDIGIT_FITTING(gain * gb / b, 8, SH_CSS_DP_GAIN_SHIFT); in ia_css_dp_encode() 78 uDIGIT_FITTING(gain * b / gb, 8, SH_CSS_DP_GAIN_SHIFT); in ia_css_dp_encode() 80 uDIGIT_FITTING(gain * r / gb, 8, SH_CSS_DP_GAIN_SHIFT); in ia_css_dp_encode()
|
| /OK3568_Linux_fs/u-boot/disk/ |
| H A D | part_mac.c | 74 ldiv_t mb, gb; in part_print_mac() local 92 gb = ldiv(10 * mb.quot + mb.rem, 10240); in part_print_mac() 93 gb.rem += 512; in part_print_mac() 94 gb.rem /= 1024; in part_print_mac() 104 mb.quot, mb.rem, gb.quot, gb.rem, in part_print_mac()
|
| /OK3568_Linux_fs/external/linux-rga/samples/im2d_api_demo/ |
| H A D | rgaImDemo.cpp | 89 sp<GraphicBuffer> gb(new GraphicBuffer(width, height, format, 0, usage)); in GraphicBuffer_Init() local 91 if (gb->initCheck()) { in GraphicBuffer_Init() 97 return gb; in GraphicBuffer_Init() 101 int GraphicBuffer_Fill(sp<GraphicBuffer> gb, int flag, int index) { in GraphicBuffer_Fill() argument 104 ret = gb->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)&buf); in GraphicBuffer_Fill() 113 memset(buf,0x00,gb->getPixelFormat()*gb->getWidth()*gb->getHeight()); in GraphicBuffer_Fill() 115 ret = get_buf_from_file(buf, gb->getPixelFormat(), gb->getWidth(), gb->getHeight(), index); in GraphicBuffer_Fill() 124 ret = gb->unlock(); in GraphicBuffer_Fill()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/share/i18n/locales/ |
| H A D | yo_NG | 66 % order: a, b, c, d, e, e., f, g, gb, h, i, j, k, l, m, n, o, o., p 78 % &G<gb<<<Gb<<<GB 96 collating-symbol <gb-digraph> 103 collating-element <g-b> from "gb" 117 % &G<gb<<<Gb<<<GB 119 <gb-digraph> 133 % &G<gb<<<Gb<<<GB 134 <g-b> <gb-digraph>;"<BASE><BASE>";"<MIN><MIN>";IGNORE 135 <g-B> <gb-digraph>;"<BASE><BASE>";"<MIN><CAP>";IGNORE 136 <G-b> <gb-digraph>;"<BASE><BASE>";"<CAP><MIN>";IGNORE [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/share/i18n/locales/ |
| H A D | yo_NG | 66 % order: a, b, c, d, e, e., f, g, gb, h, i, j, k, l, m, n, o, o., p 78 % &G<gb<<<Gb<<<GB 96 collating-symbol <gb-digraph> 103 collating-element <g-b> from "gb" 117 % &G<gb<<<Gb<<<GB 119 <gb-digraph> 133 % &G<gb<<<Gb<<<GB 134 <g-b> <gb-digraph>;"<BASE><BASE>";"<MIN><MIN>";IGNORE 135 <g-B> <gb-digraph>;"<BASE><BASE>";"<MIN><CAP>";IGNORE 136 <G-b> <gb-digraph>;"<BASE><BASE>";"<CAP><MIN>";IGNORE [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/common/ |
| H A D | h2645d_sei.c | 30 MPP_RET check_encoder_sei_info(BitReadCtx_t *gb, RK_S32 payload_size, RK_U32 *is_match) in check_encoder_sei_info() argument 42 READ_BITS(gb, 8, &payload[i]); in check_encoder_sei_info() 56 return gb->ret; in check_encoder_sei_info()
|