Lines Matching refs:base
58 struct pipe_video_codec base;
194 switch (u_reduce_video_profile(dec->base.profile)) {
222 unsigned width = align(dec->base.width, VL_MACROBLOCK_WIDTH);
223 unsigned height = align(dec->base.height, VL_MACROBLOCK_HEIGHT);
225 unsigned max_references = dec->base.max_references + 1;
234 switch (dec->base.level) {
275 unsigned width = align(dec->base.width, VL_MACROBLOCK_WIDTH);
276 unsigned height = align(dec->base.height, VL_MACROBLOCK_HEIGHT);
278 unsigned max_references = dec->base.max_references + 1;
280 if (dec->base.width * dec->base.height >= 4096 * 2000)
297 unsigned width = align(dec->base.width, VL_MACROBLOCK_WIDTH);
298 unsigned height = align(dec->base.height, VL_MACROBLOCK_HEIGHT);
302 unsigned max_references = dec->base.max_references + 1;
304 if (dec->base.width * dec->base.height >= 4096 * 2000)
339 unsigned width = align(dec->base.width, VL_MACROBLOCK_WIDTH);
340 unsigned height = align(dec->base.height, VL_MACROBLOCK_HEIGHT);
343 unsigned max_references = dec->base.max_references + 1;
354 switch (u_reduce_video_profile(dec->base.profile)) {
362 switch (dec->base.level) {
413 if (dec->base.width * dec->base.height >= 4096 * 2000)
420 if (dec->base.profile == PIPE_VIDEO_PROFILE_HEVC_MAIN_10)
493 switch (pic->base.profile) {
512 result.level = dec->base.level;
526 switch (dec->base.chroma_format) {
696 vl_video_buffer_set_associated_data(target, &dec->base, (void *)(uintptr_t)result.curr_idx,
706 ref_pic = (uintptr_t)vl_video_buffer_get_associated_data(ref, &dec->base);
743 if (pic->base.profile == PIPE_VIDEO_PROFILE_HEVC_MAIN_10) {
778 switch (pic->base.profile) {
819 if (pic->base.profile != PIPE_VIDEO_PROFILE_VC1_SIMPLE) {
855 frame = (uintptr_t)vl_video_buffer_get_associated_data(ref, &dec->base);
925 result.video_object_layer_width = dec->base.width;
926 result.video_object_layer_height = dec->base.height;
1105 dec->msg->body.decode.width_in_samples = dec->base.width;
1106 dec->msg->body.decode.height_in_samples = dec->base.height;
1119 dec->msg->body.decode.db_pitch = align(dec->base.width, get_db_pitch_alignment(dec));
1140 if (dec->base.profile == PIPE_VIDEO_PROFILE_HEVC_MAIN_10)
1254 dec->base = *templ;
1255 dec->base.context = context;
1256 dec->base.width = width;
1257 dec->base.height = height;
1259 dec->base.destroy = ruvd_destroy;
1260 dec->base.begin_frame = ruvd_begin_frame;
1261 dec->base.decode_macroblock = ruvd_decode_macroblock;
1262 dec->base.decode_bitstream = ruvd_decode_bitstream;
1263 dec->base.end_frame = ruvd_end_frame;
1264 dec->base.flush = ruvd_flush;
1346 dec->msg->body.create.width_in_samples = dec->base.width;
1347 dec->msg->body.create.height_in_samples = dec->base.height;
1356 return &dec->base;