Lines Matching defs:templat
529 struct pipe_video_codec templat = {};
531 templat.profile = enc_TranslateOMXProfileToPipe(priv->profile_level.eProfile);
532 templat.level = enc_TranslateOMXLevelToPipe(priv->profile_level.eLevel);
533 templat.entrypoint = PIPE_VIDEO_ENTRYPOINT_ENCODE;
534 templat.chroma_format = PIPE_VIDEO_CHROMA_FORMAT_420;
535 templat.width = priv->scale_buffer[priv->current_scale_buffer] ?
537 templat.height = priv->scale_buffer[priv->current_scale_buffer] ?
540 if (templat.profile == PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE) {
542 templat.max_references = 1;
549 templat.max_references = OMX_VID_ENC_P_PERIOD_DEFAULT;
552 priv->codec = priv->s_pipe->create_video_codec(priv->s_pipe, &templat);