Searched refs:input_ctx (Results 1 – 5 of 5) sorted by relevance
40 int file_is_ivf(struct VpxInputContext *input_ctx) { in file_is_ivf() argument44 if (fread(raw_hdr, 1, 32, input_ctx->file) == 32) { in file_is_ivf()54 input_ctx->fourcc = mem_get_le32(raw_hdr + 8); in file_is_ivf()55 input_ctx->width = mem_get_le16(raw_hdr + 12); in file_is_ivf()56 input_ctx->height = mem_get_le16(raw_hdr + 14); in file_is_ivf()57 input_ctx->framerate.numerator = mem_get_le32(raw_hdr + 16); in file_is_ivf()58 input_ctx->framerate.denominator = mem_get_le32(raw_hdr + 20); in file_is_ivf()59 fix_framerate(&input_ctx->framerate.numerator, in file_is_ivf()60 &input_ctx->framerate.denominator); in file_is_ivf()65 rewind(input_ctx->file); in file_is_ivf()[all …]
77 int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame) { in read_yuv_frame() argument78 FILE *f = input_ctx->file; in read_yuv_frame()79 struct FileTypeDetectionBuffer *detect = &input_ctx->detect; in read_yuv_frame()
130 int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame);
98 static int read_frame(struct VpxInputContext *input_ctx, vpx_image_t *img) { in read_frame() argument99 FILE *f = input_ctx->file; in read_frame()100 y4m_input *y4m = &input_ctx->y4m; in read_frame()103 if (input_ctx->file_type == FILE_TYPE_Y4M) { in read_frame()106 shortread = read_yuv_frame(input_ctx, img); in read_frame()
152 struct VpxInputContext input_ctx; member