• Home
  • Raw
  • Download

Lines Matching refs:ps_sei

90     ps_dec->ps_sei->u1_seq_param_set_id = u1_seq_parameter_set_id;  in ih264d_parse_buffering_period()
152 sei *ps_sei; in ih264d_parse_pic_timing() local
159 ps_sei = (sei *)ps_dec->ps_sei; in ih264d_parse_pic_timing()
196 ps_sei->u1_pic_struct = ih264d_get_bits_h264(ps_bitstrm, 4); in ih264d_parse_pic_timing()
197 ps_dec->u1_pic_struct_copy = ps_sei->u1_pic_struct; in ih264d_parse_pic_timing()
198 ps_sei->u1_is_valid = 1; in ih264d_parse_pic_timing()
236 sei *ps_sei = ps_dec->ps_sei; in ih264d_parse_recovery_point() local
241 ps_sei->u2_recovery_frame_cnt = ih264d_uev(pu4_bitstrm_ofst, in ih264d_parse_recovery_point()
244 + ps_sei->u2_recovery_frame_cnt; in ih264d_parse_recovery_point()
245 ps_sei->u1_exact_match_flag = ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_recovery_point()
246 ps_sei->u1_broken_link_flag = ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_recovery_point()
247 ps_sei->u1_changing_slice_grp_idc = ih264d_get_bits_h264(ps_bitstrm, 2); in ih264d_parse_recovery_point()
277 sei *ps_sei = ps_dec->ps_sei_parse; in ih264d_parse_mdcv() local
284 if((ps_dec == NULL) || (ps_sei == NULL)) in ih264d_parse_mdcv()
289 ps_sei->u1_sei_mdcv_params_present_flag = 1; in ih264d_parse_mdcv()
294 ps_sei->s_sei_mdcv_params.au2_display_primaries_x[u4_count] = in ih264d_parse_mdcv()
297 if((ps_sei->s_sei_mdcv_params.au2_display_primaries_x[u4_count] > in ih264d_parse_mdcv()
299 (ps_sei->s_sei_mdcv_params.au2_display_primaries_x[u4_count] < in ih264d_parse_mdcv()
301 ((ps_sei->s_sei_mdcv_params.au2_display_primaries_x[u4_count] % in ih264d_parse_mdcv()
304 ps_sei->u1_sei_mdcv_params_present_flag = 0; in ih264d_parse_mdcv()
308 ps_sei->s_sei_mdcv_params.au2_display_primaries_y[u4_count] = in ih264d_parse_mdcv()
311 if((ps_sei->s_sei_mdcv_params.au2_display_primaries_y[u4_count] > in ih264d_parse_mdcv()
313 (ps_sei->s_sei_mdcv_params.au2_display_primaries_y[u4_count] < in ih264d_parse_mdcv()
315 ((ps_sei->s_sei_mdcv_params.au2_display_primaries_y[u4_count] % in ih264d_parse_mdcv()
318 ps_sei->u1_sei_mdcv_params_present_flag = 0; in ih264d_parse_mdcv()
324 ps_sei->s_sei_mdcv_params.u2_white_point_x = (UWORD16)ih264d_get_bits_h264(ps_bitstrm, 16); in ih264d_parse_mdcv()
326 if((ps_sei->s_sei_mdcv_params.u2_white_point_x > WHITE_POINT_X_UPPER_LIMIT) || in ih264d_parse_mdcv()
327 (ps_sei->s_sei_mdcv_params.u2_white_point_x < WHITE_POINT_X_LOWER_LIMIT) || in ih264d_parse_mdcv()
328 ((ps_sei->s_sei_mdcv_params.u2_white_point_x % WHITE_POINT_X_DIVISION_FACTOR) != 0)) in ih264d_parse_mdcv()
330 ps_sei->u1_sei_mdcv_params_present_flag = 0; in ih264d_parse_mdcv()
334 ps_sei->s_sei_mdcv_params.u2_white_point_y = (UWORD16)ih264d_get_bits_h264(ps_bitstrm, 16); in ih264d_parse_mdcv()
336 if((ps_sei->s_sei_mdcv_params.u2_white_point_y > WHITE_POINT_Y_UPPER_LIMIT) || in ih264d_parse_mdcv()
337 (ps_sei->s_sei_mdcv_params.u2_white_point_y < WHITE_POINT_Y_LOWER_LIMIT) || in ih264d_parse_mdcv()
338 ((ps_sei->s_sei_mdcv_params.u2_white_point_y % WHITE_POINT_Y_DIVISION_FACTOR) != 0)) in ih264d_parse_mdcv()
340 ps_sei->u1_sei_mdcv_params_present_flag = 0; in ih264d_parse_mdcv()
344 ps_sei->s_sei_mdcv_params.u4_max_display_mastering_luminance = in ih264d_parse_mdcv()
347 if((ps_sei->s_sei_mdcv_params.u4_max_display_mastering_luminance > in ih264d_parse_mdcv()
349 (ps_sei->s_sei_mdcv_params.u4_max_display_mastering_luminance < in ih264d_parse_mdcv()
351 ((ps_sei->s_sei_mdcv_params.u4_max_display_mastering_luminance % in ih264d_parse_mdcv()
354 ps_sei->u1_sei_mdcv_params_present_flag = 0; in ih264d_parse_mdcv()
358 ps_sei->s_sei_mdcv_params.u4_min_display_mastering_luminance = in ih264d_parse_mdcv()
361 if((ps_sei->s_sei_mdcv_params.u4_min_display_mastering_luminance > in ih264d_parse_mdcv()
363 (ps_sei->s_sei_mdcv_params.u4_min_display_mastering_luminance < in ih264d_parse_mdcv()
366 ps_sei->u1_sei_mdcv_params_present_flag = 0; in ih264d_parse_mdcv()
369 if(ps_sei->s_sei_mdcv_params.u4_max_display_mastering_luminance <= in ih264d_parse_mdcv()
370 ps_sei->s_sei_mdcv_params.u4_min_display_mastering_luminance) in ih264d_parse_mdcv()
372 ps_sei->u1_sei_mdcv_params_present_flag = 0; in ih264d_parse_mdcv()
403 sei *ps_sei = ps_dec->ps_sei_parse; in ih264d_parse_cll() local
409 if((ps_dec == NULL) || (ps_sei == NULL)) in ih264d_parse_cll()
414 ps_sei->u1_sei_cll_params_present_flag = 1; in ih264d_parse_cll()
416 ps_sei->s_sei_cll_params.u2_max_content_light_level = in ih264d_parse_cll()
418 ps_sei->s_sei_cll_params.u2_max_pic_average_light_level = in ih264d_parse_cll()
450 sei *ps_sei = ps_dec->ps_sei_parse; in ih264d_parse_ave() local
456 if((ps_dec == NULL) || (ps_sei == NULL)) in ih264d_parse_ave()
461 ps_sei->u1_sei_ave_params_present_flag = 1; in ih264d_parse_ave()
463 ps_sei->s_sei_ave_params.u4_ambient_illuminance = (UWORD32)ih264d_get_bits_h264(ps_bitstrm, 32); in ih264d_parse_ave()
464 if(0 == ps_sei->s_sei_ave_params.u4_ambient_illuminance) in ih264d_parse_ave()
466 ps_sei->u1_sei_ave_params_present_flag = 0; in ih264d_parse_ave()
470 ps_sei->s_sei_ave_params.u2_ambient_light_x = (UWORD16)ih264d_get_bits_h264(ps_bitstrm, 16); in ih264d_parse_ave()
471 if(ps_sei->s_sei_ave_params.u2_ambient_light_x > AMBIENT_LIGHT_X_UPPER_LIMIT) in ih264d_parse_ave()
473 ps_sei->u1_sei_ave_params_present_flag = 0; in ih264d_parse_ave()
477 ps_sei->s_sei_ave_params.u2_ambient_light_y = (UWORD16)ih264d_get_bits_h264(ps_bitstrm, 16); in ih264d_parse_ave()
478 if(ps_sei->s_sei_ave_params.u2_ambient_light_y > AMBIENT_LIGHT_Y_UPPER_LIMIT) in ih264d_parse_ave()
480 ps_sei->u1_sei_ave_params_present_flag = 0; in ih264d_parse_ave()
511 sei *ps_sei = ps_dec->ps_sei_parse; in ih264d_parse_ccv() local
518 if((ps_dec == NULL) || (ps_sei == NULL)) in ih264d_parse_ccv()
523 ps_sei->u1_sei_ccv_params_present_flag = 0; in ih264d_parse_ccv()
525 ps_sei->s_sei_ccv_params.u1_ccv_cancel_flag = (UWORD8)ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_ccv()
527 if(ps_sei->s_sei_ccv_params.u1_ccv_cancel_flag > 1) in ih264d_parse_ccv()
531 if(0 == ps_sei->s_sei_ccv_params.u1_ccv_cancel_flag) in ih264d_parse_ccv()
533 ps_sei->s_sei_ccv_params.u1_ccv_persistence_flag = in ih264d_parse_ccv()
535 if(ps_sei->s_sei_ccv_params.u1_ccv_persistence_flag > 1) in ih264d_parse_ccv()
539 ps_sei->s_sei_ccv_params.u1_ccv_primaries_present_flag = in ih264d_parse_ccv()
541 if(ps_sei->s_sei_ccv_params.u1_ccv_primaries_present_flag > 1) in ih264d_parse_ccv()
545 ps_sei->s_sei_ccv_params.u1_ccv_min_luminance_value_present_flag = in ih264d_parse_ccv()
547 if(ps_sei->s_sei_ccv_params.u1_ccv_min_luminance_value_present_flag > 1) in ih264d_parse_ccv()
551 ps_sei->s_sei_ccv_params.u1_ccv_max_luminance_value_present_flag = in ih264d_parse_ccv()
553 if(ps_sei->s_sei_ccv_params.u1_ccv_max_luminance_value_present_flag > 1) in ih264d_parse_ccv()
557 ps_sei->s_sei_ccv_params.u1_ccv_avg_luminance_value_present_flag = in ih264d_parse_ccv()
559 if(ps_sei->s_sei_ccv_params.u1_ccv_avg_luminance_value_present_flag > 1) in ih264d_parse_ccv()
564 if((ps_sei->s_sei_ccv_params.u1_ccv_primaries_present_flag == 0) && in ih264d_parse_ccv()
565 (ps_sei->s_sei_ccv_params.u1_ccv_min_luminance_value_present_flag == 0) && in ih264d_parse_ccv()
566 (ps_sei->s_sei_ccv_params.u1_ccv_max_luminance_value_present_flag == 0) && in ih264d_parse_ccv()
567 (ps_sei->s_sei_ccv_params.u1_ccv_avg_luminance_value_present_flag == 0)) in ih264d_parse_ccv()
572 ps_sei->s_sei_ccv_params.u1_ccv_reserved_zero_2bits = in ih264d_parse_ccv()
574 if((ps_sei->s_sei_ccv_params.u1_ccv_reserved_zero_2bits != 0)) in ih264d_parse_ccv()
580 if(1 == ps_sei->s_sei_ccv_params.u1_ccv_primaries_present_flag) in ih264d_parse_ccv()
584 ps_sei->s_sei_ccv_params.ai4_ccv_primaries_x[u4_count] = in ih264d_parse_ccv()
586 if((ps_sei->s_sei_ccv_params.ai4_ccv_primaries_x[u4_count] > in ih264d_parse_ccv()
588 (ps_sei->s_sei_ccv_params.ai4_ccv_primaries_x[u4_count] < in ih264d_parse_ccv()
594 ps_sei->s_sei_ccv_params.ai4_ccv_primaries_y[u4_count] = in ih264d_parse_ccv()
596 if((ps_sei->s_sei_ccv_params.ai4_ccv_primaries_y[u4_count] > in ih264d_parse_ccv()
598 (ps_sei->s_sei_ccv_params.ai4_ccv_primaries_y[u4_count] < in ih264d_parse_ccv()
606 if(1 == ps_sei->s_sei_ccv_params.u1_ccv_min_luminance_value_present_flag) in ih264d_parse_ccv()
608 ps_sei->s_sei_ccv_params.u4_ccv_min_luminance_value = in ih264d_parse_ccv()
612 if(1 == ps_sei->s_sei_ccv_params.u1_ccv_max_luminance_value_present_flag) in ih264d_parse_ccv()
614 ps_sei->s_sei_ccv_params.u4_ccv_max_luminance_value = in ih264d_parse_ccv()
616 if((1 == ps_sei->s_sei_ccv_params.u1_ccv_min_luminance_value_present_flag) && in ih264d_parse_ccv()
617 (ps_sei->s_sei_ccv_params.u4_ccv_max_luminance_value < in ih264d_parse_ccv()
618ps_sei->s_sei_ccv_params.u4_ccv_min_luminance_value)) in ih264d_parse_ccv()
623 if(1 == ps_sei->s_sei_ccv_params.u1_ccv_avg_luminance_value_present_flag) in ih264d_parse_ccv()
625 ps_sei->s_sei_ccv_params.u4_ccv_avg_luminance_value = in ih264d_parse_ccv()
627 if((1 == ps_sei->s_sei_ccv_params.u1_ccv_min_luminance_value_present_flag) && in ih264d_parse_ccv()
628 (ps_sei->s_sei_ccv_params.u4_ccv_avg_luminance_value < in ih264d_parse_ccv()
629ps_sei->s_sei_ccv_params.u4_ccv_min_luminance_value)) in ih264d_parse_ccv()
633 if((1 == ps_sei->s_sei_ccv_params.u1_ccv_max_luminance_value_present_flag) && in ih264d_parse_ccv()
634 (ps_sei->s_sei_ccv_params.u4_ccv_max_luminance_value < in ih264d_parse_ccv()
635ps_sei->s_sei_ccv_params.u4_ccv_avg_luminance_value)) in ih264d_parse_ccv()
641 ps_sei->u1_sei_ccv_params_present_flag = 1; in ih264d_parse_ccv()
673 sei *ps_sei; in ih264d_parse_sei_payload() local
675 ps_sei = (sei *)ps_dec->ps_sei_parse; in ih264d_parse_sei_payload()
688 i4_status = ih264d_parse_buffering_period(&ps_sei->s_buf_period, in ih264d_parse_sei_payload()
838 sei *ps_sei, sei *ps_sei_export) in ih264d_export_sei_mdcv_params() argument
840 if((ps_sei_export == NULL) || (ps_sei == NULL)) in ih264d_export_sei_mdcv_params()
845 ps_sei_export->u1_sei_mdcv_params_present_flag = ps_sei->u1_sei_mdcv_params_present_flag; in ih264d_export_sei_mdcv_params()
846 ps_sei_decode_op->u1_sei_mdcv_params_present_flag = ps_sei->u1_sei_mdcv_params_present_flag; in ih264d_export_sei_mdcv_params()
854 memcpy(&ps_sei_export->s_sei_mdcv_params, &ps_sei->s_sei_mdcv_params, in ih264d_export_sei_mdcv_params()
881 sei *ps_sei, sei *ps_sei_export) in ih264d_export_sei_cll_params() argument
883 if((ps_sei_export == NULL) || (ps_sei == NULL)) in ih264d_export_sei_cll_params()
888 ps_sei_export->u1_sei_cll_params_present_flag = ps_sei->u1_sei_cll_params_present_flag; in ih264d_export_sei_cll_params()
889 ps_sei_decode_op->u1_sei_cll_params_present_flag = ps_sei->u1_sei_cll_params_present_flag; in ih264d_export_sei_cll_params()
897 memcpy(&ps_sei_export->s_sei_cll_params, &ps_sei->s_sei_cll_params, in ih264d_export_sei_cll_params()
923 sei *ps_sei, sei *ps_sei_export) in ih264d_export_sei_ave_params() argument
925 if((ps_sei_export == NULL) || (ps_sei == NULL)) in ih264d_export_sei_ave_params()
930 ps_sei_export->u1_sei_ave_params_present_flag = ps_sei->u1_sei_ave_params_present_flag; in ih264d_export_sei_ave_params()
931 ps_sei_decode_op->u1_sei_ave_params_present_flag = ps_sei->u1_sei_ave_params_present_flag; in ih264d_export_sei_ave_params()
939 memcpy(&ps_sei_export->s_sei_ave_params, &ps_sei->s_sei_ave_params, in ih264d_export_sei_ave_params()
966 sei *ps_sei, sei *ps_sei_export) in ih264d_export_sei_ccv_params() argument
968 if((ps_sei_export == NULL) || (ps_sei == NULL)) in ih264d_export_sei_ccv_params()
973 ps_sei_export->u1_sei_ccv_params_present_flag = ps_sei->u1_sei_ccv_params_present_flag; in ih264d_export_sei_ccv_params()
974 ps_sei_decode_op->u1_sei_ccv_params_present_flag = ps_sei->u1_sei_ccv_params_present_flag; in ih264d_export_sei_ccv_params()
982 memcpy(&ps_sei_export->s_sei_ccv_params, &ps_sei->s_sei_ccv_params, in ih264d_export_sei_ccv_params()