Lines Matching refs:pic_hdr
269 ret_code |= viddec_pm_get_bits(parent, &parser->info.pic_hdr.temporal_reference, 10);
272 ret_code |= viddec_pm_get_bits(parent, &parser->info.pic_hdr.picture_coding_type, 3);
276 if ((parser->info.pic_hdr.picture_coding_type != MPEG2_PC_TYPE_I) &&
277 (parser->info.pic_hdr.picture_coding_type != MPEG2_PC_TYPE_P) &&
278 (parser->info.pic_hdr.picture_coding_type != MPEG2_PC_TYPE_B))
286 if (parser->info.pic_hdr.picture_coding_type != MPEG2_PC_TYPE_I)
295 if (parser->info.pic_hdr.picture_coding_type == MPEG2_PC_TYPE_B)
312 parser->info.pic_hdr.picture_coding_type = MPEG2_PC_TYPE_I;
323 if ((MPEG2_PC_TYPE_P == parser->info.pic_hdr.picture_coding_type) ||
324 (MPEG2_PC_TYPE_B == parser->info.pic_hdr.picture_coding_type))
326 ret_code |= viddec_pm_get_bits(parent, &parser->info.pic_hdr.full_pel_forward_vect, 1);
327 ret_code |= viddec_pm_get_bits(parent, &parser->info.pic_hdr.forward_f_code, 3);
331 parser->info.pic_hdr.full_pel_forward_vect = 0;
332 parser->info.pic_hdr.forward_f_code = 0;
337 if (MPEG2_PC_TYPE_B == parser->info.pic_hdr.picture_coding_type)
339 ret_code |= viddec_pm_get_bits(parent, &parser->info.pic_hdr.full_pel_backward_vect, 1);
340 ret_code |= viddec_pm_get_bits(parent, &parser->info.pic_hdr.backward_f_code, 3);
344 parser->info.pic_hdr.full_pel_backward_vect = 0;
345 parser->info.pic_hdr.backward_f_code = 0;
610 if (parser->mpeg2_prev_temp_ref != parser->info.pic_hdr.temporal_reference)
658 parser->mpeg2_prev_temp_ref = parser->info.pic_hdr.temporal_reference;