Searched defs:webm_ctx (Results 1 - 4 of 4) sorted by relevance

/external/libvpx/libvpx/
H A Dwebmdec.cc21 void reset(struct WebmInputContext *const webm_ctx) { argument
22 if (webm_ctx->reader != NULL) {
24 reinterpret_cast<mkvparser::MkvReader *>(webm_ctx->reader);
27 if (webm_ctx->segment != NULL) {
29 reinterpret_cast<mkvparser::Segment *>(webm_ctx->segment);
32 if (webm_ctx->buffer != NULL) {
33 delete[] webm_ctx->buffer;
35 webm_ctx->reader = NULL;
36 webm_ctx->segment = NULL;
37 webm_ctx
47 get_first_cluster(struct WebmInputContext *const webm_ctx) argument
54 rewind_and_reset(struct WebmInputContext *const webm_ctx, struct VpxInputContext *const vpx_ctx) argument
62 file_is_webm(struct WebmInputContext *webm_ctx, struct VpxInputContext *vpx_ctx) argument
121 webm_read_frame(struct WebmInputContext *webm_ctx, uint8_t **buffer, size_t *buffer_size) argument
198 webm_guess_framerate(struct WebmInputContext *webm_ctx, struct VpxInputContext *vpx_ctx) argument
224 webm_free(struct WebmInputContext *webm_ctx) argument
[all...]
H A Dwebmenc.cc23 void write_webm_file_header(struct WebmOutputContext *webm_ctx, argument
27 mkvmuxer::MkvWriter *const writer = new mkvmuxer::MkvWriter(webm_ctx->stream);
37 if (!webm_ctx->debug) {
63 if (webm_ctx->debug) {
66 webm_ctx->writer = writer;
67 webm_ctx->segment = segment;
70 void write_webm_block(struct WebmOutputContext *webm_ctx, argument
74 reinterpret_cast<mkvmuxer::Segment *>(webm_ctx->segment);
77 if (pts_ns <= webm_ctx->last_pts_ns) pts_ns = webm_ctx
85 write_webm_file_footer(struct WebmOutputContext *webm_ctx) argument
[all...]
H A Dvpxdec.c47 struct WebmInputContext *webm_ctx; member in struct:VpxDecInputContext
243 return webm_read_frame(input->webm_ctx, buf, bytes_in_buffer);
543 struct WebmInputContext webm_ctx; local
544 memset(&(webm_ctx), 0, sizeof(webm_ctx));
545 input.webm_ctx = &webm_ctx;
675 else if (file_is_webm(input.webm_ctx, input.vpx_input_ctx))
710 if (webm_guess_framerate(input.webm_ctx, input.vpx_input_ctx)) {
1030 webm_free(input.webm_ctx);
[all...]
H A Dvpxenc.c847 struct WebmOutputContext webm_ctx; member in struct:stream_state
1078 stream->webm_ctx.last_pts_ns = -1;
1079 stream->webm_ctx.writer = NULL;
1080 stream->webm_ctx.segment = NULL;
1084 stream->webm_ctx.debug = global->debug;
1450 stream->webm_ctx.stream = stream->file;
1451 write_webm_file_header(&stream->webm_ctx, cfg, stream->config.stereo_fmt,
1471 write_webm_file_footer(&stream->webm_ctx);
1679 write_webm_block(&stream->webm_ctx, cfg, pkt);

Completed in 91 milliseconds