Home
last modified time | relevance | path

Searched refs:input_ctx (Results 1 – 5 of 5) sorted by relevance

/external/libvpx/libvpx/
Divfdec.c40 int file_is_ivf(struct VpxInputContext *input_ctx) { in file_is_ivf() argument
44 if (fread(raw_hdr, 1, 32, input_ctx->file) == 32) { in file_is_ivf()
53 input_ctx->fourcc = mem_get_le32(raw_hdr + 8); in file_is_ivf()
54 input_ctx->width = mem_get_le16(raw_hdr + 12); in file_is_ivf()
55 input_ctx->height = mem_get_le16(raw_hdr + 14); in file_is_ivf()
56 input_ctx->framerate.numerator = mem_get_le32(raw_hdr + 16); in file_is_ivf()
57 input_ctx->framerate.denominator = mem_get_le32(raw_hdr + 20); in file_is_ivf()
58 fix_framerate(&input_ctx->framerate.numerator, in file_is_ivf()
59 &input_ctx->framerate.denominator); in file_is_ivf()
64 rewind(input_ctx->file); in file_is_ivf()
[all …]
Dtools_common.c81 int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame) { in read_yuv_frame() argument
82 FILE *f = input_ctx->file; in read_yuv_frame()
83 struct FileTypeDetectionBuffer *detect = &input_ctx->detect; in read_yuv_frame()
Dtools_common.h128 int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame);
Dvpxenc.c102 static int read_frame(struct VpxInputContext *input_ctx, vpx_image_t *img) { in read_frame() argument
103 FILE *f = input_ctx->file; in read_frame()
104 y4m_input *y4m = &input_ctx->y4m; in read_frame()
107 if (input_ctx->file_type == FILE_TYPE_Y4M) { in read_frame()
111 shortread = read_yuv_frame(input_ctx, img); in read_frame()
/external/libvpx/libvpx/examples/
Dvp9_spatial_svc_encoder.c138 struct VpxInputContext input_ctx; member