/third_party/ffmpeg/libavcodec/ |
D | bmp_parser.c | 42 BMPParseContext *bpc = s->priv_data; in bmp_parse() local 43 uint64_t state = bpc->pc.state64; in bmp_parse() 51 if (bpc->pc.frame_start_found <= 2+4+4) { in bmp_parse() 54 if (bpc->pc.frame_start_found == 0) { in bmp_parse() 56 bpc->fsize = av_bswap32(state >> 16); in bmp_parse() 57 if (bpc->fsize > 17) in bmp_parse() 58 bpc->pc.frame_start_found = 1; in bmp_parse() 60 } else if (bpc->pc.frame_start_found == 2+4+4) { in bmp_parse() 64 bpc->pc.frame_start_found = 0; in bmp_parse() 67 bpc->pc.frame_start_found++; in bmp_parse() [all …]
|
D | cri_parser.c | 49 CRIParser *bpc = s->priv_data; in cri_parse() local 50 uint64_t state = bpc->pc.state64; in cri_parse() 62 bpc->read_bytes++; in cri_parse() 64 if (bpc->skip_bytes > 0) { in cri_parse() 65 bpc->skip_bytes--; in cri_parse() 66 if (bpc->skip_bytes == 0) in cri_parse() 67 bpc->read_bytes = 0; in cri_parse() 73 if (bpc->skip_bytes == 0 && bpc->read_bytes >= 8) { in cri_parse() 74 bpc->skip_bytes = av_bswap32(state & 0xFFFFFFFF); in cri_parse() 75 bpc->chunk = state >> 32; in cri_parse() [all …]
|
D | xbm_parser.c | 46 XBMParseContext *bpc = s->priv_data; in xbm_init() local 48 bpc->count = 1; in xbm_init() 57 XBMParseContext *bpc = s->priv_data; in xbm_parse() local 58 uint64_t state = bpc->pc.state64; in xbm_parse() 59 uint16_t state16 = bpc->state16; in xbm_parse() 74 bpc->count++; in xbm_parse() 76 if ((state == KEY && bpc->count == 1)) { in xbm_parse() 81 bpc->count = 0; in xbm_parse() 86 bpc->pc.state64 = state; in xbm_parse() 87 bpc->state16 = state16; in xbm_parse() [all …]
|
D | videodsp.c | 39 av_cold void ff_videodsp_init(VideoDSPContext *ctx, int bpc) in ff_videodsp_init() argument 42 if (bpc <= 8) { in ff_videodsp_init() 49 ff_videodsp_init_aarch64(ctx, bpc); in ff_videodsp_init() 51 ff_videodsp_init_arm(ctx, bpc); in ff_videodsp_init() 53 ff_videodsp_init_ppc(ctx, bpc); in ff_videodsp_init() 55 ff_videodsp_init_x86(ctx, bpc); in ff_videodsp_init() 57 ff_videodsp_init_mips(ctx, bpc); in ff_videodsp_init() 59 ff_videodsp_init_loongarch(ctx, bpc); in ff_videodsp_init()
|
D | videodsp.h | 78 void ff_videodsp_init(VideoDSPContext *ctx, int bpc); 81 void ff_videodsp_init_aarch64(VideoDSPContext *ctx, int bpc); 82 void ff_videodsp_init_arm(VideoDSPContext *ctx, int bpc); 83 void ff_videodsp_init_ppc(VideoDSPContext *ctx, int bpc); 84 void ff_videodsp_init_x86(VideoDSPContext *ctx, int bpc); 85 void ff_videodsp_init_mips(VideoDSPContext *ctx, int bpc); 86 void ff_videodsp_init_loongarch(VideoDSPContext *ctx, int bpc);
|
/third_party/ffmpeg/libavfilter/ |
D | vf_neighbor.c | 47 int bpc; member 236 s->bpc = (s->depth + 7) / 8; in config_input() 266 const int bpc = s->bpc; in filter_slice() local 278 av_image_copy_plane(dst, dstride, src, stride, width * bpc, slice_end - slice_start); in filter_slice() 285 …nst uint8_t *coordinates[] = { src - nh * stride, src + 1 * bpc - nh * stride, src + 2 * bpc - nh … in filter_slice() 286 … src, src + 2 * bpc, in filter_slice() 287 … src + ph * stride, src + 1 * bpc + ph * stride, src + 2 * bpc + ph * stride}; in filter_slice() 289 …const uint8_t *coordinateslb[] = { src + 1 * bpc - nh * stride, src - nh * stride, src + 1 * bpc -… in filter_slice() 290 … src + 1 * bpc, src + 1 * bpc, in filter_slice() 291 … src + 1 * bpc + ph * stride, src + ph * stride, src + 1 * bpc + ph * stride}; in filter_slice() [all …]
|
D | vf_convolution.c | 556 int x, int w, int y, int h, int bpc) in setup_3x3() argument 567 c[i] = src + xoff * bpc + yoff * stride; in setup_3x3() 572 int x, int w, int y, int h, int bpc) in setup_5x5() argument 583 c[i] = src + xoff * bpc + yoff * stride; in setup_5x5() 588 int x, int w, int y, int h, int bpc) in setup_7x7() argument 599 c[i] = src + xoff * bpc + yoff * stride; in setup_7x7() 604 int x, int w, int y, int h, int bpc) in setup_row() argument 613 c[i] = src + xoff * bpc + y * stride; in setup_row() 618 int x, int w, int y, int h, int bpc) in setup_column() argument 627 c[i] = src + y * bpc + xoff * stride; in setup_column() [all …]
|
D | convolution.h | 46 int bpc; member 56 int x, int width, int y, int height, int bpc);
|
D | vf_deblock.c | 53 int bpc; member 271 s->bpc = (s->depth + 7) / 8; in config_output() 331 width * s->bpc, height); in filter_frame() 337 s->deblockv(dst + x * s->bpc, out->linesize[plane], in filter_frame() 348 s->deblockh(dst + x * s->bpc, out->linesize[plane], in filter_frame() 351 s->deblockv(dst + x * s->bpc, out->linesize[plane], in filter_frame() 359 s->deblockv(dst + x * s->bpc, out->linesize[plane], in filter_frame()
|
D | vf_libvmaf.c | 60 unsigned bpc; member 109 static int copy_picture_data(AVFrame *src, VmafPicture *dst, unsigned bpc) in copy_picture_data() argument 111 int err = vmaf_picture_alloc(dst, pix_fmt_map(src->format), bpc, in copy_picture_data() 143 err = copy_picture_data(ref, &pic_ref, s->bpc); in do_vmaf() 149 err = copy_picture_data(dist, &pic_dist, s->bpc); in do_vmaf() 572 s->bpc = desc->comp[0].depth; in config_input_ref()
|
D | vf_threshold_init.h | 81 s->bpc = 1; in ff_threshold_init() 84 s->bpc = 2; in ff_threshold_init()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_convert_ycbcr.c | 30 int bpc, in y_range() argument 40 nir_imm_float(b, pow(2, bpc) - 1)), in y_range() 41 nir_imm_float(b, -16.0f * pow(2, bpc - 8))), in y_range() 42 nir_frcp(b, nir_imm_float(b, 219.0f * pow(2, bpc - 8)))); in y_range() 52 int bpc, in chroma_range() argument 58 nir_imm_float(b, -pow(2, bpc - 1) / (pow(2, bpc) - 1.0f))); in chroma_range() 63 nir_imm_float(b, pow(2, bpc) - 1)), in chroma_range() 64 nir_imm_float(b, -128.0f * pow(2, bpc - 8))), in chroma_range() 65 nir_frcp(b, nir_imm_float(b, 224.0f * pow(2, bpc - 8)))); in chroma_range()
|
/third_party/cups-filters/filter/ |
D | rastertops.c | 83 int bpc) /* I - Original bits per color of data */ in find_bits() argument 85 if (bpc == 1 && in find_bits() 92 if (bpc == 16) in find_bits() 95 return bpc; in find_bits() 105 int bpc, /* I - bits per color */ in writeImage() argument 133 if (bpc == 16) in writeImage() 140 "/BitsPerComponent %d\n", pixwidth, pixheight, find_bits(mode, bpc)); in writeImage() 166 if(bpc==16) in writeImage()
|
D | rastertopdf.cpp | 280 bpp(0), bpc(0), in pdf_info() 304 unsigned bpc; member 357 void modify_pdf_color(struct pdf_info * info, int bpp, int bpc, convertFunction fn) in modify_pdf_color() argument 360 unsigned old_bpc = info->bpc; in modify_pdf_color() 365 double new_ncolor = (bpp/bpc); in modify_pdf_color() 369 info->bpc = bpc; in modify_pdf_color() 618 unsigned width, std::vector<unsigned>& strip_height, cups_cspace_t cs, unsigned bpc) in makePclmStrips() argument 630 dict["/BitsPerComponent"]=QPDFObjectHandle::newInteger(bpc); in makePclmStrips() 707 … unsigned height, std::string render_intent, cups_cspace_t cs, unsigned bpc) in makeImage() argument 720 dict["/BitsPerComponent"]=QPDFObjectHandle::newInteger(bpc); in makeImage() [all …]
|
/third_party/ffmpeg/libavformat/ |
D | dxa.c | 34 int bpc; member 121 c->bpc = (fsize + (int64_t)c->frames - 1) / c->frames; in dxa_read_header() 123 if (c->bpc > INT_MAX - ast->codecpar->block_align + 1) in dxa_read_header() 125 …c->bpc = ((c->bpc + ast->codecpar->block_align - 1) / ast->codecpar->block_align) * ast->codecpar-… in dxa_read_header() 166 size = FFMIN(c->bytes_left, c->bpc); in dxa_read_packet()
|
D | rawutils.c | 31 int64_t bpc = par->bits_per_coded_sample != 15 ? par->bits_per_coded_sample : 16; in ff_reshuffle_raw_rgb() local 32 int min_stride = (par->width * bpc + 7) >> 3; in ff_reshuffle_raw_rgb() 34 int contains_pal = bpc == 8 && pkt->size == with_pal_size; in ff_reshuffle_raw_rgb()
|
/third_party/lame/libmp3lame/ |
D | util.c | 551 int bpc; /* number of convolution functions to pre-compute */ in fill_buffer_resample() local 552 bpc = cfg->samplerate_out / gcd(cfg->samplerate_out, cfg->samplerate_in); in fill_buffer_resample() 553 if (bpc > BPC) in fill_buffer_resample() 554 bpc = BPC; in fill_buffer_resample() 569 for (i = 0; i <= 2 * bpc; ++i) in fill_buffer_resample() 576 for (j = 0; j <= 2 * bpc; j++) { in fill_buffer_resample() 578 offset = (j - bpc) / (2. * bpc); in fill_buffer_resample() 608 joff = floor((offset * 2 * bpc) + bpc + .5); in fill_buffer_resample()
|
/third_party/ffmpeg/libavcodec/arm/ |
D | videodsp_init_arm.c | 26 av_cold void ff_videodsp_init_arm(VideoDSPContext *ctx, int bpc) in ff_videodsp_init_arm() argument 29 if (have_armv5te(cpu_flags)) ff_videodsp_init_armv5te(ctx, bpc); in ff_videodsp_init_arm()
|
D | videodsp_arm.h | 27 void ff_videodsp_init_armv5te(VideoDSPContext* ctx, int bpc);
|
D | videodsp_init_armv5te.c | 28 av_cold void ff_videodsp_init_armv5te(VideoDSPContext *ctx, int bpc) in ff_videodsp_init_armv5te() argument
|
/third_party/ffmpeg/libavcodec/x86/ |
D | cfhddsp_init.c | 38 …z_filter_clip10_sse2(int16_t *output, const int16_t *low, const int16_t *high, int width, int bpc); 39 …z_filter_clip12_sse2(int16_t *output, const int16_t *low, const int16_t *high, int width, int bpc);
|
D | videodsp_init.c | 220 av_cold void ff_videodsp_init_x86(VideoDSPContext *ctx, int bpc) in ff_videodsp_init_x86() argument 228 if (EXTERNAL_SSE2(cpu_flags) && bpc <= 8) { in ff_videodsp_init_x86() 232 if (EXTERNAL_AVX2(cpu_flags) && bpc <= 8) { in ff_videodsp_init_x86()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUSearchableTables.td | 33 class GcnBufferFormatBase<bits<8> f, bits<8> bpc, bits<8> numc, bits<8> nfmt, bits<8> dfmt> { 35 bits<8> BitsPerComp = bpc; 41 …ss Gfx9BufferFormat<bits<8> f, bits<8> bpc, bits<8> numc, bits<8> nfmt, bits<8> dfmt> : GcnBufferF… 42 …x10PlusBufferFormat<bits<8> f, bits<8> bpc, bits<8> numc, bits<8> nfmt, bits<8> dfmt> : GcnBufferF…
|
/third_party/ffmpeg/libavcodec/aarch64/ |
D | videodsp_init.c | 26 av_cold void ff_videodsp_init_aarch64(VideoDSPContext *ctx, int bpc) in ff_videodsp_init_aarch64() argument
|
/third_party/ffmpeg/libavcodec/ppc/ |
D | videodsp.c | 33 av_cold void ff_videodsp_init_ppc(VideoDSPContext *ctx, int bpc) in ff_videodsp_init_ppc() argument
|