Searched defs:input_ctx (Results 1 - 8 of 8) sorted by relevance

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

Completed in 194 milliseconds