Home
last modified time | relevance | path

Searched refs:_img (Results 1 – 3 of 3) sorted by relevance

/external/libvpx/libvpx/
Dy4minput.c1066 int y4m_input_fetch_frame(y4m_input *_y4m, FILE *_fin, vpx_image_t *_img) { in y4m_input_fetch_frame() argument
1104 memset(_img, 0, sizeof(*_img)); in y4m_input_fetch_frame()
1106 _img->fmt = _y4m->vpx_fmt; in y4m_input_fetch_frame()
1107 _img->w = _img->d_w = _y4m->pic_w; in y4m_input_fetch_frame()
1108 _img->h = _img->d_h = _y4m->pic_h; in y4m_input_fetch_frame()
1109 _img->x_chroma_shift = _y4m->dst_c_dec_h >> 1; in y4m_input_fetch_frame()
1110 _img->y_chroma_shift = _y4m->dst_c_dec_v >> 1; in y4m_input_fetch_frame()
1111 _img->bps = _y4m->bps; in y4m_input_fetch_frame()
1119 _img->stride[VPX_PLANE_Y] = _img->stride[VPX_PLANE_ALPHA] = in y4m_input_fetch_frame()
1121 _img->stride[VPX_PLANE_U] = _img->stride[VPX_PLANE_V] = c_w; in y4m_input_fetch_frame()
[all …]
/external/libaom/libaom/common/
Dy4minput.c1094 int y4m_input_fetch_frame(y4m_input *_y4m, FILE *_fin, aom_image_t *_img) { in y4m_input_fetch_frame() argument
1132 memset(_img, 0, sizeof(*_img)); in y4m_input_fetch_frame()
1134 _img->fmt = _y4m->aom_fmt; in y4m_input_fetch_frame()
1135 _img->w = _img->d_w = _y4m->pic_w; in y4m_input_fetch_frame()
1136 _img->h = _img->d_h = _y4m->pic_h; in y4m_input_fetch_frame()
1137 _img->x_chroma_shift = _y4m->dst_c_dec_h >> 1; in y4m_input_fetch_frame()
1138 _img->y_chroma_shift = _y4m->dst_c_dec_v >> 1; in y4m_input_fetch_frame()
1139 _img->bps = _y4m->bps; in y4m_input_fetch_frame()
1147 _img->stride[AOM_PLANE_Y] = _y4m->pic_w * bytes_per_sample; in y4m_input_fetch_frame()
1148 _img->stride[AOM_PLANE_U] = _img->stride[AOM_PLANE_V] = c_w; in y4m_input_fetch_frame()
[all …]
/external/wayland/cursor/
Dwayland-cursor.c161 wl_cursor_image_get_buffer(struct wl_cursor_image *_img) in wl_cursor_image_get_buffer() argument
163 struct cursor_image *image = (struct cursor_image *) _img; in wl_cursor_image_get_buffer()
170 _img->width, _img->height, in wl_cursor_image_get_buffer()
171 _img->width * 4, in wl_cursor_image_get_buffer()
179 wl_cursor_image_destroy(struct wl_cursor_image *_img) in wl_cursor_image_destroy() argument
181 struct cursor_image *image = (struct cursor_image *) _img; in wl_cursor_image_destroy()