Home
last modified time | relevance | path

Searched refs:frame_buffer (Results 1 – 17 of 17) sorted by relevance

/third_party/alsa-utils/axfer/test/
Dgenerator.c88 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, unsigned int samples_per_frame); in test_frame_count()
[all …]
Dmapper-test.c43 void *frame_buffer, unsigned int frame_count, in test_demuxer() argument
60 err = mapper_context_process_frames(mapper, frame_buffer, in test_demuxer()
74 void *frame_buffer, unsigned int frame_count, in test_demux() argument
116 samples_per_frame, frames_per_buffer, frame_buffer, in test_demux()
134 void *frame_buffer, unsigned int frame_count, in test_muxer() argument
151 err = mapper_context_process_frames(mapper, frame_buffer, in test_muxer()
165 void *frame_buffer, unsigned int frame_count, in test_mux() argument
206 frames_per_buffer, frame_buffer, frame_count, cntrs, in test_mux()
223 unsigned int frames_per_second, void *frame_buffer, in test_mapper() argument
254 frames_per_second, frames_per_buffer, frame_buffer, in test_mapper()
[all …]
Dcontainer-test.c42 void *frame_buffer, unsigned int frame_count, in test_builder() argument
69 err = container_context_process_frames(cntr, frame_buffer, in test_builder()
88 void *frame_buffer, unsigned int frame_count, in test_parser() argument
114 err = container_context_process_frames(cntr, frame_buffer, in test_parser()
129 unsigned int samples_per_frame, void *frame_buffer, in callback() argument
172 frames_per_second, frame_buffer, frame_count, in callback()
185 err = memcmp(buf, frame_buffer, size); in callback()
Dgenerator.h20 void *frame_buffer, unsigned int frame_count);
/third_party/vk-gl-cts/external/amber/src/src/
Dverifier_test.cc70 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()
[all …]
/third_party/ffmpeg/libavcodec/
Dkgv1dec.c34 uint16_t *frame_buffer; member
42 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()
Droqaudioenc.c39 int16_t *frame_buffer; member
48 av_freep(&context->frame_buffer); in roq_dpcm_encode_close()
70 context->frame_buffer = av_malloc(8 * ROQ_FRAME_SIZE * avctx->channels * in roq_dpcm_encode_init()
71 sizeof(*context->frame_buffer)); in roq_dpcm_encode_init()
72 if (!context->frame_buffer) in roq_dpcm_encode_init()
134 memcpy(&context->frame_buffer[context->buffered_samples * avctx->channels], in roq_dpcm_encode_frame()
145 in = context->frame_buffer; in roq_dpcm_encode_frame()
Deatgv.c45 uint8_t *frame_buffer; member
291 av_freep(&s->frame_buffer); in tgv_decode_frame()
318 if (!s->frame_buffer && in tgv_decode_frame()
319 !(s->frame_buffer = av_mallocz(s->width * s->height))) in tgv_decode_frame()
322 if (unpack(buf, buf_end, s->frame_buffer, s->avctx->width, s->avctx->height) < 0) { in tgv_decode_frame()
328 s->frame_buffer + y * s->width, in tgv_decode_frame()
356 av_freep(&s->frame_buffer); in tgv_decode_end()
D4xm.c140 uint16_t *frame_buffer; member
435 uint16_t *dst = f->frame_buffer; in decode_p_frame()
562 uint16_t *dst = f->frame_buffer + y * stride + x; in idct_put()
729 uint16_t *dst = f->frame_buffer; in decode_i2_frame()
960 (const uint8_t*)f->frame_buffer, avctx->width * 2, in decode_frame()
962 FFSWAP(uint16_t *, f->frame_buffer, f->last_frame_buffer); in decode_frame()
976 av_freep(&f->frame_buffer); in decode_end()
1007 f->frame_buffer = av_mallocz(avctx->width * avctx->height * 2); in decode_init()
1009 if (!f->frame_buffer || !f->last_frame_buffer) { in decode_init()
/third_party/alsa-utils/axfer/
Dmapper.c121 void *frame_buffer, in mapper_context_process_frames() argument
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()
Dmapper.h57 void *frame_buffer,
70 void *frame_buffer, unsigned int *frame_count,
Dcontainer.c360 void *frame_buffer, in container_context_process_frames() argument
363 char *buf = frame_buffer; in container_context_process_frames()
371 assert(frame_buffer); in container_context_process_frames()
Dcontainer.h74 void *frame_buffer,
/third_party/vk-gl-cts/external/amber/src/
DAndroid.mk64 src/vulkan/frame_buffer.cc \
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
DCMakeLists.txt25 frame_buffer.cc
DBUILD.gn69 "//third_party/vk-gl-cts/external/amber/src/src/vulkan/frame_buffer.cc",
/third_party/gstreamer/gstplugins_bad/sys/winscreencap/
Ddxgicapture.c586 PBYTE frame_buffer; in dxgicap_copy_buffer() local
590 frame_buffer = GST_VIDEO_FRAME_PLANE_DATA (&vframe, 0); in dxgicap_copy_buffer()
594 p_dst = frame_buffer; in dxgicap_copy_buffer()
617 _draw_pointer (self, frame_buffer, dst_rect, stride_dst); in dxgicap_copy_buffer()