Lines Matching refs:p_frame
183 SchroFrame *p_frame;
199 p_frame = schro_frame_new();
200 p_frame->format = schro_frame_fmt;
201 p_frame->width = y_width;
202 p_frame->height = y_height;
203 schro_frame_set_free_callback(p_frame, free_schro_frame, (void *)p_pic);
206 p_frame->components[i].width = i ? uv_width : y_width;
207 p_frame->components[i].stride = p_pic->linesize[i];
208 p_frame->components[i].height = i ? uv_height : y_height;
209 p_frame->components[i].length =
210 p_frame->components[i].stride * p_frame->components[i].height;
211 p_frame->components[i].data = p_pic->data[i];
214 p_frame->components[i].v_shift =
215 SCHRO_FRAME_FORMAT_V_SHIFT(p_frame->format);
216 p_frame->components[i].h_shift =
217 SCHRO_FRAME_FORMAT_H_SHIFT(p_frame->format);
221 return p_frame;