/third_party/ffmpeg/libswscale/ |
D | rgb2rgb.h | 35 extern void (*rgb24tobgr32)(const uint8_t *src, uint8_t *dst, int src_size); 36 extern void (*rgb24tobgr16)(const uint8_t *src, uint8_t *dst, int src_size); 37 extern void (*rgb24tobgr15)(const uint8_t *src, uint8_t *dst, int src_size); 38 extern void (*rgb32tobgr24)(const uint8_t *src, uint8_t *dst, int src_size); 39 extern void (*rgb32to16)(const uint8_t *src, uint8_t *dst, int src_size); 40 extern void (*rgb32to15)(const uint8_t *src, uint8_t *dst, int src_size); 41 extern void (*rgb15to16)(const uint8_t *src, uint8_t *dst, int src_size); 42 extern void (*rgb15tobgr24)(const uint8_t *src, uint8_t *dst, int src_size); 43 extern void (*rgb15to32)(const uint8_t *src, uint8_t *dst, int src_size); 44 extern void (*rgb16to15)(const uint8_t *src, uint8_t *dst, int src_size); [all …]
|
D | rgb2rgb.c | 35 void (*rgb32tobgr24)(const uint8_t *src, uint8_t *dst, int src_size); 36 void (*rgb32tobgr16)(const uint8_t *src, uint8_t *dst, int src_size); 37 void (*rgb32tobgr15)(const uint8_t *src, uint8_t *dst, int src_size); 38 void (*rgb24tobgr32)(const uint8_t *src, uint8_t *dst, int src_size); 39 void (*rgb24tobgr24)(const uint8_t *src, uint8_t *dst, int src_size); 40 void (*rgb24tobgr16)(const uint8_t *src, uint8_t *dst, int src_size); 41 void (*rgb24tobgr15)(const uint8_t *src, uint8_t *dst, int src_size); 42 void (*rgb16tobgr24)(const uint8_t *src, uint8_t *dst, int src_size); 43 void (*rgb15tobgr24)(const uint8_t *src, uint8_t *dst, int src_size); 45 void (*rgb32to16)(const uint8_t *src, uint8_t *dst, int src_size); [all …]
|
D | rgb2rgb_template.c | 32 int src_size) in rgb24tobgr32_c() argument 36 const uint8_t *end = s + src_size; in rgb24tobgr32_c() 56 int src_size) in rgb32tobgr24_c() argument 60 const uint8_t *end = s + src_size; in rgb32tobgr24_c() 85 static inline void rgb15to16_c(const uint8_t *src, uint8_t *dst, int src_size) in rgb15to16_c() argument 89 register const uint8_t *end = s + src_size; in rgb15to16_c() 104 static inline void rgb16to15_c(const uint8_t *src, uint8_t *dst, int src_size) in rgb16to15_c() argument 108 register const uint8_t *end = s + src_size; in rgb16to15_c() 123 static inline void rgb32to16_c(const uint8_t *src, uint8_t *dst, int src_size) in rgb32to16_c() argument 127 const uint8_t *end = s + src_size; in rgb32to16_c() [all …]
|
/third_party/lz4/examples/ |
D | compress_functions.c | 115 const size_t src_size, in bench() argument 132 rv = LZ4_compress_default(src, dst, src_size, max_dst_size); in bench() 139 LZ4_compress_default(src, dst, src_size, max_dst_size); in bench() 145 rv = LZ4_compress_fast(src, dst, src_size, max_dst_size, acceleration); in bench() 152 LZ4_compress_fast(src, dst, src_size, max_dst_size, acceleration); in bench() 158 rv = LZ4_compress_fast_extState(&state, src, dst, src_size, max_dst_size, acceleration); in bench() 165 LZ4_compress_fast_extState(&state, src, dst, src_size, max_dst_size, acceleration); in bench() 191 rv = LZ4_decompress_safe(src, dst, comp_size, src_size); in bench() 194 if (memcmp(known_good_dst, dst, src_size) != 0) in bench() 198 LZ4_decompress_safe(src, dst, comp_size, src_size); in bench() [all …]
|
D | simple_buffer.c | 43 const int src_size = (int)(strlen(src) + 1); in main() local 45 const int max_dst_size = LZ4_compressBound(src_size); in main() 53 …const int compressed_data_size = LZ4_compress_default(src, compressed_data, src_size, max_dst_size… in main() 59 (float) compressed_data_size/src_size); in main() 76 char* const regen_buffer = (char*)malloc(src_size); in main() 82 …mpressed_size = LZ4_decompress_safe(compressed_data, regen_buffer, compressed_data_size, src_size); in main() 90 if (decompressed_size != src_size) in main() 95 if (memcmp(src, regen_buffer, src_size) != 0) in main()
|
/third_party/skia/third_party/externals/microhttpd/src/microspdy/ |
D | compression.c | 252 size_t src_size, in SPDYF_zlib_deflate() argument 268 if(src_size > SPDYF_ZLIB_CHUNK) in SPDYF_zlib_deflate() 271 src_size -= SPDYF_ZLIB_CHUNK; in SPDYF_zlib_deflate() 279 strm->avail_in = src_size; in SPDYF_zlib_deflate() 352 size_t src_size, in SPDYF_zlib_inflate() argument 366 if(src_size > SPDYF_ZLIB_CHUNK) in SPDYF_zlib_inflate() 369 src_size -= SPDYF_ZLIB_CHUNK; in SPDYF_zlib_inflate() 373 strm->avail_in = src_size; in SPDYF_zlib_inflate() 374 src_size = 0; in SPDYF_zlib_inflate()
|
D | compression.h | 71 size_t src_size, 113 size_t src_size,
|
/third_party/ffmpeg/libavcodec/ |
D | dca.c | 54 int avpriv_dca_convert_bitstream(const uint8_t *src, int src_size, uint8_t *dst, in avpriv_dca_convert_bitstream() argument 61 if ((unsigned) src_size > (unsigned) max_size) in avpriv_dca_convert_bitstream() 62 src_size = max_size; in avpriv_dca_convert_bitstream() 68 memcpy(dst, src, src_size); in avpriv_dca_convert_bitstream() 69 return src_size; in avpriv_dca_convert_bitstream() 71 for (i = 0; i < (src_size + 1) >> 1; i++) { in avpriv_dca_convert_bitstream() 76 return src_size; in avpriv_dca_convert_bitstream() 80 for (i = 0; i < (src_size + 1) >> 1; i++, src += 2) { in avpriv_dca_convert_bitstream()
|
D | dxtory.c | 93 const uint8_t *src, int src_size, in dxtory_decode_v1_rgb() argument 101 if (src_size < get_raw_size(id, avctx->width, avctx->height)) { in dxtory_decode_v1_rgb() 125 const uint8_t *src, int src_size, in dxtory_decode_v1_410() argument 135 if (src_size < get_raw_size(AV_PIX_FMT_YUV410P, avctx->width, avctx->height)) { in dxtory_decode_v1_410() 221 const uint8_t *src, int src_size, in dxtory_decode_v1_420() argument 231 if (src_size < get_raw_size(AV_PIX_FMT_YUV420P, avctx->width, avctx->height)) { in dxtory_decode_v1_420() 294 const uint8_t *src, int src_size, in dxtory_decode_v1_444() argument 302 if (src_size < get_raw_size(AV_PIX_FMT_YUV444P, avctx->width, avctx->height)) { in dxtory_decode_v1_444() 354 const uint8_t *src, int src_size, in check_slice_size() argument 359 if (slice_size > src_size - off) { in check_slice_size() [all …]
|
D | cpia.c | 58 int src_size; in cpia_decode_frame() local 92 src_size = avpkt->size - FRAME_HEADER_SIZE; in cpia_decode_frame() 109 i++, src += linelength, src_size -= linelength in cpia_decode_frame() 114 src_size -= 2; in cpia_decode_frame() 116 if (src_size < linelength) { in cpia_decode_frame()
|
D | dsicinvideo.c | 93 static int cin_decode_huffman(const unsigned char *src, int src_size, in cin_decode_huffman() argument 100 const unsigned char *src_end = src + src_size; in cin_decode_huffman() 128 static int cin_decode_lzss(const unsigned char *src, int src_size, in cin_decode_lzss() argument 134 const unsigned char *src_end = src + src_size; in cin_decode_lzss() 166 static int cin_decode_rle(const unsigned char *src, int src_size, in cin_decode_rle() argument 171 const unsigned char *src_end = src + src_size; in cin_decode_rle()
|
D | g2meet.c | 204 static void jpg_unescape(const uint8_t *src, int src_size, in jpg_unescape() argument 207 const uint8_t *src_end = src + src_size; in jpg_unescape() 269 const uint8_t *src, int src_size, in jpg_decode_data() argument 282 src_size + AV_INPUT_BUFFER_PADDING_SIZE)) < 0) in jpg_decode_data() 284 jpg_unescape(src, src_size, c->buf, &unesc_size); in jpg_decode_data() 863 const uint8_t *src, size_t src_size, in epic_jb_decode_tile() argument 871 if (!src_size) in epic_jb_decode_tile() 876 src_size--; in epic_jb_decode_tile() 879 if (extrabytes > 3 || src_size < extrabytes) { in epic_jb_decode_tile() 887 src_size--; in epic_jb_decode_tile() [all …]
|
D | lagarith.c | 430 const uint8_t *src, int src_size) in lag_decode_arith_plane() argument 439 const uint8_t *src_end = src + src_size; in lag_decode_arith_plane() 445 if(src_size < 2) in lag_decode_arith_plane() 451 if(src_size < 5) in lag_decode_arith_plane() 458 if ((ret = init_get_bits8(&gb, src + offset, src_size - offset)) < 0) in lag_decode_arith_plane() 479 src_size --; in lag_decode_arith_plane() 490 if (src_size < width * height) in lag_decode_arith_plane()
|
D | ralf.c | 435 int src_size; in decode_frame() local 451 src_size = RALF_MAX_PKT_SIZE + avpkt->size; in decode_frame() 463 src_size = avpkt->size; in decode_frame() 472 if (src_size < 5) { in decode_frame() 478 if (src_size < table_bytes + 3) { in decode_frame() 497 bytes_left = src_size - table_bytes - 2; in decode_frame()
|
D | sgirledec.c | 66 const uint8_t *src, int src_size, in decode_sgirle8() argument 69 const uint8_t *src_end = src + src_size; in decode_sgirle8()
|
/third_party/ffmpeg/libswscale/x86/ |
D | rgb2rgb_template.c | 68 static inline void RENAME(rgb24tobgr32)(const uint8_t *src, uint8_t *dst, int src_size) in RENAME() 74 end = s + src_size; in RENAME() 146 static inline void RENAME(rgb32tobgr24)(const uint8_t *src, uint8_t *dst, int src_size) in RENAME() 152 end = s + src_size; in RENAME() 189 static inline void RENAME(rgb15to16)(const uint8_t *src, uint8_t *dst, int src_size) in RENAME() 195 end = s + src_size; in RENAME() 232 static inline void RENAME(rgb16to15)(const uint8_t *src, uint8_t *dst, int src_size) in RENAME() 238 end = s + src_size; in RENAME() 280 static inline void RENAME(rgb32to16)(const uint8_t *src, uint8_t *dst, int src_size) in RENAME() 286 end = s + src_size; in RENAME() [all …]
|
D | rgb2rgb.c | 141 void ff_shuffle_bytes_2103_mmxext(const uint8_t *src, uint8_t *dst, int src_size); 142 void ff_shuffle_bytes_2103_ssse3(const uint8_t *src, uint8_t *dst, int src_size); 143 void ff_shuffle_bytes_0321_ssse3(const uint8_t *src, uint8_t *dst, int src_size); 144 void ff_shuffle_bytes_1230_ssse3(const uint8_t *src, uint8_t *dst, int src_size); 145 void ff_shuffle_bytes_3012_ssse3(const uint8_t *src, uint8_t *dst, int src_size); 146 void ff_shuffle_bytes_3210_ssse3(const uint8_t *src, uint8_t *dst, int src_size);
|
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
D | mhd2spdy_structures.c | 146 copy_buffer(const void *src, size_t src_size, void **dst, size_t *dst_size) in copy_buffer() argument 148 if(0 == src_size) in copy_buffer() 152 *dst = malloc(src_size); in copy_buffer() 154 *dst = realloc(*dst, src_size + *dst_size); in copy_buffer() 158 memcpy(*dst + *dst_size, src, src_size); in copy_buffer() 159 *dst_size += src_size; in copy_buffer()
|
/third_party/mesa3d/src/util/format/ |
D | u_format_pack.py | 348 src_size = src_channel.size 353 if src_type == FLOAT and src_size == 16: 355 src_size = 32 359 …if src_type == UNSIGNED and src_norm and src_size == 8 and dst_channel.type == FLOAT and dst_chann… 361 …if src_type == FLOAT and src_size == 32 and dst_channel.type == UNSIGNED and dst_channel.norm and … 381 …tmp_native_type = intermediate_native_type(src_size + dst_channel.size, src_channel.sign and dst_c… 391 if src_size <= 23: 395 src_size = 32 399 src_size = 64 402 if src_size <= 23 or dst_channel.size <= 32: [all …]
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_fs_register_coalesce.cpp | 195 int src_size = 0; in register_coalesce() local 216 src_size = alloc.sizes[inst->src[0].nr]; in register_coalesce() 217 assert(src_size <= MAX_VGRF_SIZE); in register_coalesce() 219 channels_remaining = src_size; in register_coalesce() 229 for (int i = 0; i < src_size; i++) { in register_coalesce() 256 for (int i = 0; i < src_size; i++) { in register_coalesce() 279 for (int i = 0; i < src_size; i++) { in register_coalesce() 321 for (int i = 0; i < src_size; i++) { in register_coalesce()
|
/third_party/ffmpeg/tests/checkasm/ |
D | llviddsp.c | 169 int src_size, stride; in check_add_gradient_pred() local 175 src_size = (stride + 32) * 2; /* dsp need previous line, and ignore the start of the line */ in check_add_gradient_pred() 176 src0 = av_mallocz(src_size); in check_add_gradient_pred() 177 src1 = av_mallocz(src_size); in check_add_gradient_pred() 179 init_buffer(src0, src1, uint8_t, src_size); in check_add_gradient_pred()
|
/third_party/skia/third_party/externals/microhttpd/src/spdy2http/ |
D | proxy.c | 312 store_in_buffer(const void *src, size_t src_size, void **dst, size_t *dst_size) in store_in_buffer() argument 314 if(0 == src_size) in store_in_buffer() 318 *dst = malloc(src_size); in store_in_buffer() 320 *dst = realloc(*dst, src_size + *dst_size); in store_in_buffer() 324 memcpy(*dst + *dst_size, src, src_size); in store_in_buffer() 325 *dst_size += src_size; in store_in_buffer() 332 get_from_buffer(void **src, size_t *src_size, void *dst, size_t max_size) in get_from_buffer() argument 337 if(max_size >= *src_size) in get_from_buffer() 339 ret = *src_size; in get_from_buffer() 345 if(NULL == (newbody = malloc(*src_size - max_size))) in get_from_buffer() [all …]
|
/third_party/mesa3d/src/util/ |
D | vl_vlc.h | 65 …truct vl_vlc_entry *dst, unsigned dst_size, const struct vl_vlc_compressed *src, unsigned src_size) in vl_vlc_init_table() argument 70 assert(src && src_size); in vl_vlc_init_table() 77 for(; src_size > 0; --src_size, ++src) { in vl_vlc_init_table()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | avisubtitle.c | 119 check_correct_buffer (guint8 * src_data, guint src_size, guint8 * dst_data, in check_correct_buffer() argument 122 GstBuffer *buffer = gst_buffer_new_allocate (NULL, src_size, 0); in check_correct_buffer() 128 gst_buffer_fill (buffer, 0, src_data, src_size); in check_correct_buffer()
|
/third_party/pulseaudio/src/pulsecore/ffmpeg/ |
D | resample2.c | 210 int av_resample(AVResampleContext *c, short *dst, short *src, int *consumed, int src_size, int dst_… in av_resample() argument 221 dst_size= FFMIN(dst_size, (src_size-1-index) * (int64_t)c->src_incr / c->dst_incr); in av_resample() 239 val += src[FFABS(sample_index + i) % src_size] * filter[i]; in av_resample() 240 }else if(sample_index + c->filter_length > src_size){ in av_resample()
|