/third_party/alsa-utils/axfer/test/ |
H A D | generator.c | 88 static int fill_buf(int fd, void *frame_buffer, snd_pcm_access_t access, in fill_buf() argument 98 len = read(fd, frame_buffer, size); in fill_buf() 107 static int fill_vector(int fd, void *frame_buffer, snd_pcm_access_t access, in fill_vector() argument 111 char **bufs = frame_buffer; in fill_vector() 131 static void deallocate_buf(void *frame_buffer, unsigned int samples_per_frame) in deallocate_buf() argument 133 free(frame_buffer); in deallocate_buf() 136 static void deallocate_vector(void *frame_buffer, in deallocate_vector() argument 139 char **bufs = frame_buffer; in deallocate_vector() 157 int (*fill)(int fd, void *frame_buffer, snd_pcm_access_t access, in test_frame_count() 160 void (*deallocator)(void *frame_buffer, unsigne in test_frame_count() 161 void *frame_buffer; test_frame_count() local [all...] |
H A D | mapper-test.c | 43 void *frame_buffer, unsigned int frame_count, in test_demuxer() 60 err = mapper_context_process_frames(mapper, frame_buffer, in test_demuxer() 74 void *frame_buffer, unsigned int frame_count, in test_demux() 116 samples_per_frame, frames_per_buffer, frame_buffer, in test_demux() 134 void *frame_buffer, unsigned int frame_count, in test_muxer() 151 err = mapper_context_process_frames(mapper, frame_buffer, in test_muxer() 165 void *frame_buffer, unsigned int frame_count, in test_mux() 206 frames_per_buffer, frame_buffer, frame_count, cntrs, in test_mux() 223 unsigned int frames_per_second, void *frame_buffer, in test_mapper() 254 frames_per_second, frames_per_buffer, frame_buffer, in test_mapper() 39 test_demuxer(struct mapper_context *mapper, snd_pcm_access_t access, unsigned int bytes_per_sample, unsigned int samples_per_frame, unsigned int frames_per_buffer, void *frame_buffer, unsigned int frame_count, struct container_context *cntrs, unsigned int cntr_count, bool verbose) test_demuxer() argument 69 test_demux(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, unsigned int frames_per_buffer, void *frame_buffer, unsigned int frame_count, int *cntr_fds, unsigned int cntr_count) test_demux() argument 130 test_muxer(struct mapper_context *mapper, snd_pcm_access_t access, unsigned int bytes_per_sample, unsigned int samples_per_frame, unsigned int frames_per_buffer, void *frame_buffer, unsigned int frame_count, struct container_context *cntrs, unsigned int cntr_count, bool verbose) test_muxer() argument 160 test_mux(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, unsigned int frames_per_buffer, void *frame_buffer, unsigned int frame_count, int *cntr_fds, unsigned int cntr_count) test_mux() argument 220 test_mapper(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, void *check_buffer, unsigned int frame_count, unsigned int cntr_count) test_mapper() argument 279 test_i_buf(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, unsigned int cntr_count) test_i_buf() argument 319 test_vector(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, unsigned int cntr_count) test_vector() argument 378 test_n_buf(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, unsigned int cntr_count) test_n_buf() argument 406 callback(struct test_generator *gen, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, void *frame_buffer, unsigned int frame_count) callback() argument [all...] |
H A D | container-test.c | 42 void *frame_buffer, unsigned int frame_count, in test_builder() 69 err = container_context_process_frames(cntr, frame_buffer, in test_builder() 88 void *frame_buffer, unsigned int frame_count, in test_parser() 114 err = container_context_process_frames(cntr, frame_buffer, in test_parser() 129 unsigned int samples_per_frame, void *frame_buffer, in callback() 172 frames_per_second, frame_buffer, frame_count, in callback() 185 err = memcmp(buf, frame_buffer, size); in callback() 36 test_builder(struct container_context *cntr, int fd, enum container_format format, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, bool verbose) test_builder() argument 83 test_parser(struct container_context *cntr, int fd, enum container_format format, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, bool verbose) test_parser() argument 127 callback(struct test_generator *gen, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, void *frame_buffer, unsigned int frame_count) callback() argument
|
H A D | generator.h | 20 void *frame_buffer, unsigned int frame_count);
|
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | verifier_test.cc | 70 const uint8_t frame_buffer[3][3][4] = { in TEST_F() local 90 static_cast<const void*>(frame_buffer)); in TEST_F() 111 uint8_t frame_buffer[10][10][4] = {}; in TEST_F() local 114 frame_buffer[y][x][0] = 128; in TEST_F() 115 frame_buffer[y][x][1] = 64; in TEST_F() 116 frame_buffer[y][x][2] = 51; in TEST_F() 117 frame_buffer[y][x][3] = 204; in TEST_F() 123 static_cast<const void*>(frame_buffer)); in TEST_F() 144 uint8_t frame_buffer[250][250][4] = {}; in TEST_F() local 148 static_cast<const void*>(frame_buffer)); in TEST_F() 172 uint8_t frame_buffer[10][10][4] = {}; TEST_F() local 201 uint8_t frame_buffer[4] = {255, 14, 75, 8}; TEST_F() local 228 uint16_t frame_buffer[4] = {65535, 14, 1875, 8}; TEST_F() local 255 uint32_t frame_buffer[4] = {6, 14, 1171875, 8}; TEST_F() local 282 uint64_t frame_buffer[4] = {6, 14, 1171875, 8}; TEST_F() local 309 int8_t frame_buffer[4] = {-6, 14, 75, 8}; TEST_F() local 336 int16_t frame_buffer[4] = {-6, 14, 1875, 8}; TEST_F() local 363 int32_t frame_buffer[4] = {-6, 14, 1171875, 8}; TEST_F() local 390 int64_t frame_buffer[4] = {-6, 14, 1171875, 8}; TEST_F() local 417 float frame_buffer[4] = {-6.0f, 14.0f, 0.1171875f, 0.8f}; TEST_F() local 444 double frame_buffer[4] = {-6.0, 14.0, 0.1171875, 0.8}; TEST_F() local 466 uint64_t frame_buffer = 0; TEST_F() local 508 uint64_t frame_buffer = 0; TEST_F() local 550 uint64_t frame_buffer = 0; TEST_F() local 585 uint8_t frame_buffer[10][10][4] = {}; TEST_F() local 621 const uint8_t frame_buffer[3][3][4] = { TEST_F() local 653 const uint8_t frame_buffer[4] = {128, 64, 51, 255}; TEST_F() local 1479 uint8_t frame_buffer[4] = {255, 14, 75, 8}; TEST_F() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | kgv1dec.c | 35 uint16_t *frame_buffer; member 43 av_freep(&c->frame_buffer); in decode_flush() 69 av_freep(&c->frame_buffer); in decode_frame() 75 if (!c->frame_buffer) { in decode_frame() 76 c->frame_buffer = av_mallocz(avctx->width * avctx->height * 2); in decode_frame() 78 if (!c->frame_buffer || !c->last_frame_buffer) { in decode_frame() 88 out = (uint8_t*)c->frame_buffer; in decode_frame() 157 (const uint8_t*)c->frame_buffer, avctx->width * 2, in decode_frame() 159 FFSWAP(uint16_t *, c->frame_buffer, c->last_frame_buffer); in decode_frame()
|
H A D | roqaudioenc.c | 40 int16_t *frame_buffer; member 49 av_freep(&context->frame_buffer); in roq_dpcm_encode_close() 72 context->frame_buffer = av_malloc(8 * ROQ_FRAME_SIZE * channels * in roq_dpcm_encode_init() 73 sizeof(*context->frame_buffer)); in roq_dpcm_encode_init() 74 if (!context->frame_buffer) in roq_dpcm_encode_init() 137 memcpy(&context->frame_buffer[context->buffered_samples * channels], in roq_dpcm_encode_frame() 148 in = context->frame_buffer; in roq_dpcm_encode_frame()
|
H A D | eatgv.c | 46 uint8_t *frame_buffer; member 290 av_freep(&s->frame_buffer); in tgv_decode_frame() 317 if (!s->frame_buffer && in tgv_decode_frame() 318 !(s->frame_buffer = av_mallocz(s->width * s->height))) in tgv_decode_frame() 321 if (unpack(buf, buf_end, s->frame_buffer, s->avctx->width, s->avctx->height) < 0) { in tgv_decode_frame() 327 s->frame_buffer + y * s->width, in tgv_decode_frame() 355 av_freep(&s->frame_buffer); in tgv_decode_end()
|
H A D | 4xm.c | 142 uint16_t *frame_buffer; member 437 uint16_t *dst = f->frame_buffer; in decode_p_frame() 564 uint16_t *dst = f->frame_buffer + y * stride + x; in idct_put() 731 uint16_t *dst = f->frame_buffer; in decode_i2_frame() 963 (const uint8_t*)f->frame_buffer, avctx->width * 2, in decode_frame() 965 FFSWAP(uint16_t *, f->frame_buffer, f->last_frame_buffer); in decode_frame() 979 av_freep(&f->frame_buffer); in decode_end() 1011 f->frame_buffer = av_mallocz(avctx->width * avctx->height * 2); in decode_init() 1013 if (!f->frame_buffer || !f->last_frame_buffer) in decode_init()
|
/third_party/alsa-utils/axfer/ |
H A D | mapper.c | 121 void *frame_buffer, in mapper_context_process_frames() 126 assert(frame_buffer); in mapper_context_process_frames() 131 return mapper->ops->process_frames(mapper, frame_buffer, frame_count, in mapper_context_process_frames() 120 mapper_context_process_frames(struct mapper_context *mapper, void *frame_buffer, unsigned int *frame_count, struct container_context *cntrs) mapper_context_process_frames() argument
|
H A D | mapper.h | 57 void *frame_buffer, 70 void *frame_buffer, unsigned int *frame_count,
|
H A D | container.c | 360 void *frame_buffer, in container_context_process_frames() 363 char *buf = frame_buffer; in container_context_process_frames() 371 assert(frame_buffer); in container_context_process_frames() 359 container_context_process_frames(struct container_context *cntr, void *frame_buffer, unsigned int *frame_count) container_context_process_frames() argument
|
H A D | container.h | 78 void *frame_buffer,
|
/third_party/vk-gl-cts/external/amber/src/ |
H A D | Android.mk | 62 src/vulkan/frame_buffer.cc \
|