Home
last modified time | relevance | path

Searched refs:vstatus (Results 1 – 24 of 24) sorted by relevance

/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/mjpeg/
Dvmjpeg.c424 int vmjpeg_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vmjpeg_dec_status() argument
429 vstatus->frame_width = frame_width; in vmjpeg_dec_status()
430 vstatus->frame_height = frame_height; in vmjpeg_dec_status()
432 vstatus->frame_rate = 96000 / frame_dur; in vmjpeg_dec_status()
434 vstatus->frame_rate = 96000; in vmjpeg_dec_status()
435 vstatus->error_count = 0; in vmjpeg_dec_status()
436 vstatus->status = stat; in vmjpeg_dec_status()
437 vstatus->bit_rate = gvs->bit_rate; in vmjpeg_dec_status()
438 vstatus->frame_dur = frame_dur; in vmjpeg_dec_status()
439 vstatus->frame_data = gvs->frame_data; in vmjpeg_dec_status()
[all …]
Dvmjpeg_multi.c453 static int vmjpeg_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vmjpeg_dec_status() argument
460 vstatus->frame_width = hw->frame_width; in vmjpeg_dec_status()
461 vstatus->frame_height = hw->frame_height; in vmjpeg_dec_status()
463 vstatus->frame_rate = 96000 / hw->frame_dur; in vmjpeg_dec_status()
465 vstatus->frame_rate = 96000; in vmjpeg_dec_status()
466 vstatus->error_count = 0; in vmjpeg_dec_status()
467 vstatus->status = hw->stat; in vmjpeg_dec_status()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/mpeg4/
Dvmpeg4.c747 int vmpeg4_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vmpeg4_dec_status() argument
752 vstatus->frame_width = vmpeg4_amstream_dec_info.width; in vmpeg4_dec_status()
753 vstatus->frame_height = vmpeg4_amstream_dec_info.height; in vmpeg4_dec_status()
755 vstatus->frame_rate = in vmpeg4_dec_status()
758 vstatus->frame_rate = -1; in vmpeg4_dec_status()
759 vstatus->error_count = READ_VREG(MP4_ERR_COUNT); in vmpeg4_dec_status()
760 vstatus->status = stat; in vmpeg4_dec_status()
761 vstatus->bit_rate = gvs->bit_rate; in vmpeg4_dec_status()
762 vstatus->frame_dur = frame_dur; in vmpeg4_dec_status()
763 vstatus->frame_data = gvs->frame_data; in vmpeg4_dec_status()
[all …]
Dvmpeg4_multi.c1593 static int dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in dec_status() argument
1601 vstatus->frame_width = hw->frame_width; in dec_status()
1602 vstatus->frame_height = hw->frame_height; in dec_status()
1604 vstatus->frame_rate = DURATION_UNIT / in dec_status()
1607 vstatus->frame_rate = DURATION_UNIT; in dec_status()
1608 vstatus->error_count = READ_VREG(MP4_ERR_COUNT); in dec_status()
1609 vstatus->status = hw->stat; in dec_status()
1610 vstatus->frame_dur = hw->frame_dur; in dec_status()
1611 snprintf(vstatus->vdec_name, sizeof(vstatus->vdec_name), in dec_status()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/vc1/
Dvvc1.c732 int vvc1_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vvc1_dec_status() argument
737 vstatus->frame_width = vvc1_amstream_dec_info.width; in vvc1_dec_status()
738 vstatus->frame_height = vvc1_amstream_dec_info.height; in vvc1_dec_status()
740 vstatus->frame_rate = 96000 / vvc1_amstream_dec_info.rate; in vvc1_dec_status()
742 vstatus->frame_rate = -1; in vvc1_dec_status()
743 vstatus->error_count = READ_VREG(AV_SCRATCH_C); in vvc1_dec_status()
744 vstatus->status = stat; in vvc1_dec_status()
745 vstatus->bit_rate = gvs->bit_rate; in vvc1_dec_status()
746 vstatus->frame_dur = vvc1_amstream_dec_info.rate; in vvc1_dec_status()
747 vstatus->frame_data = gvs->frame_data; in vvc1_dec_status()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/h264/
Dvh264_4k2k.c970 int vh264_4k2k_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vh264_4k2k_dec_status() argument
972 vstatus->frame_width = frame_width; in vh264_4k2k_dec_status()
973 vstatus->frame_height = frame_height; in vh264_4k2k_dec_status()
975 vstatus->frame_rate = 96000 / frame_dur; in vh264_4k2k_dec_status()
977 vstatus->frame_rate = -1; in vh264_4k2k_dec_status()
978 vstatus->error_count = 0; in vh264_4k2k_dec_status()
979 vstatus->status = stat | fatal_error; in vh264_4k2k_dec_status()
980 vstatus->frame_dur = frame_dur; in vh264_4k2k_dec_status()
981 vstatus->frame_data = gvs->frame_data; in vh264_4k2k_dec_status()
982 vstatus->total_data = gvs->total_data; in vh264_4k2k_dec_status()
[all …]
Dvh264_mvc.c1145 int vh264mvc_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vh264mvc_dec_status() argument
1147 vstatus->frame_width = frame_width; in vh264mvc_dec_status()
1148 vstatus->frame_height = frame_height; in vh264mvc_dec_status()
1150 vstatus->frame_rate = 96000 / frame_dur; in vh264mvc_dec_status()
1152 vstatus->frame_rate = -1; in vh264mvc_dec_status()
1153 vstatus->error_count = READ_VREG(AV_SCRATCH_D); in vh264mvc_dec_status()
1154 vstatus->status = stat; in vh264mvc_dec_status()
1155 vstatus->bit_rate = gvs->bit_rate; in vh264mvc_dec_status()
1156 vstatus->frame_dur = frame_dur; in vh264mvc_dec_status()
1157 vstatus->frame_data = gvs->frame_data; in vh264mvc_dec_status()
[all …]
Dvh264.c3487 int vh264_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vh264_dec_status() argument
3495 vstatus->frame_width = frame_width; in vh264_dec_status()
3496 vstatus->frame_height = frame_height; in vh264_dec_status()
3498 vstatus->frame_rate = 96000 / frame_dur; in vh264_dec_status()
3500 vstatus->frame_rate = -1; in vh264_dec_status()
3501 vstatus->error_count = READ_VREG(AV_SCRATCH_D); in vh264_dec_status()
3502 vstatus->status = stat; in vh264_dec_status()
3504 vstatus->status |= fatal_error_flag; in vh264_dec_status()
3505 vstatus->bit_rate = gvs->bit_rate; in vh264_dec_status()
3506 vstatus->frame_dur = frame_dur; in vh264_dec_status()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/avs/
Davs.c811 int vavs_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vavs_dec_status() argument
816 vstatus->frame_width = frame_width; in vavs_dec_status()
817 vstatus->frame_height = frame_height; in vavs_dec_status()
819 vstatus->frame_rate = 96000 / frame_dur; in vavs_dec_status()
821 vstatus->frame_rate = -1; in vavs_dec_status()
822 vstatus->error_count = READ_VREG(AV_SCRATCH_C); in vavs_dec_status()
823 vstatus->status = stat; in vavs_dec_status()
824 vstatus->bit_rate = gvs->bit_rate; in vavs_dec_status()
825 vstatus->frame_dur = frame_dur; in vavs_dec_status()
826 vstatus->frame_data = gvs->frame_data; in vavs_dec_status()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/mpeg12/
Dvmpeg12.c1375 int vmpeg12_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vmpeg12_dec_status() argument
1380 vstatus->frame_width = frame_width; in vmpeg12_dec_status()
1381 vstatus->frame_height = frame_height; in vmpeg12_dec_status()
1383 vstatus->frame_rate = 96000 / frame_dur; in vmpeg12_dec_status()
1385 vstatus->frame_rate = -1; in vmpeg12_dec_status()
1386 vstatus->error_count = READ_VREG(AV_SCRATCH_C); in vmpeg12_dec_status()
1387 vstatus->status = stat; in vmpeg12_dec_status()
1388 vstatus->bit_rate = gvs->bit_rate; in vmpeg12_dec_status()
1389 vstatus->frame_dur = frame_dur; in vmpeg12_dec_status()
1390 vstatus->frame_data = gvs->frame_data; in vmpeg12_dec_status()
[all …]
Dvmpeg12_multi.c2354 static int vmmpeg12_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vmmpeg12_dec_status() argument
2362 vstatus->frame_width = hw->frame_width; in vmmpeg12_dec_status()
2363 vstatus->frame_height = hw->frame_height; in vmmpeg12_dec_status()
2365 vstatus->frame_rate = 96000 / hw->frame_dur; in vmmpeg12_dec_status()
2367 vstatus->frame_rate = -1; in vmmpeg12_dec_status()
2368 vstatus->error_count = READ_VREG(AV_SCRATCH_C); in vmmpeg12_dec_status()
2369 vstatus->status = hw->stat; in vmmpeg12_dec_status()
2370 vstatus->bit_rate = hw->gvs.bit_rate; in vmmpeg12_dec_status()
2371 vstatus->frame_dur = hw->frame_dur; in vmmpeg12_dec_status()
2372 vstatus->frame_data = hw->gvs.frame_data; in vmmpeg12_dec_status()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/real/
Dvreal.c522 int vreal_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vreal_dec_status() argument
527 vstatus->frame_width = vreal_amstream_dec_info.width; in vreal_dec_status()
528 vstatus->frame_height = vreal_amstream_dec_info.height; in vreal_dec_status()
530 vstatus->frame_rate = 96000 / vreal_amstream_dec_info.rate; in vreal_dec_status()
532 vstatus->frame_rate = 96000; in vreal_dec_status()
533 vstatus->error_count = real_err_count; in vreal_dec_status()
534 vstatus->status = in vreal_dec_status()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/amports/
Damstream.c2377 struct vdec_info vstatus; in amstream_ioctl_get_ex() local
2380 memset(&vstatus, 0, sizeof(vstatus)); in amstream_ioctl_get_ex()
2383 if (vdec_status(priv->vdec, &vstatus) == -1) { in amstream_ioctl_get_ex()
2389 p->vstatus.width = vstatus.frame_width; in amstream_ioctl_get_ex()
2390 p->vstatus.height = vstatus.frame_height; in amstream_ioctl_get_ex()
2391 p->vstatus.fps = vstatus.frame_rate; in amstream_ioctl_get_ex()
2392 p->vstatus.error_count = vstatus.error_count; in amstream_ioctl_get_ex()
2393 p->vstatus.status = vstatus.status; in amstream_ioctl_get_ex()
2394 p->vstatus.euAspectRatio = in amstream_ioctl_get_ex()
2396 vstatus.ratio_control); in amstream_ioctl_get_ex()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/avs_multi/
Davs_multi.c1607 int vavs_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vavs_dec_status() argument
1616 vstatus->frame_width = hw->frame_width; in vavs_dec_status()
1617 vstatus->frame_height = hw->frame_height; in vavs_dec_status()
1619 vstatus->frame_rate = 96000 / hw->frame_dur; in vavs_dec_status()
1621 vstatus->frame_rate = -1; in vavs_dec_status()
1622 vstatus->error_count = READ_VREG(AV_SCRATCH_C); in vavs_dec_status()
1623 vstatus->status = hw->stat; in vavs_dec_status()
1624 vstatus->bit_rate = hw->gvs->bit_rate; in vavs_dec_status()
1625 vstatus->frame_dur = hw->frame_dur; in vavs_dec_status()
1626 vstatus->frame_data = hw->gvs->frame_data; in vavs_dec_status()
[all …]
/device/soc/amlogic/a311d/hardware/media/libamcodec/include/amports/
Damstream.h276 struct vdec_status vstatus; member
439 struct vdec_status vstatus; member
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/utils/
Dvdec.h242 int (*dec_status)(struct vdec_s *vdec, struct vdec_info *vstatus);
387 extern int vdec_status(struct vdec_s *vdec, struct vdec_info *vstatus);
Dvdec.c837 int vdec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vdec_status() argument
842 return vdec->dec_status(vdec, vstatus); in vdec_status()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/avs2/
Dvavs2.c6136 int vavs2_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) argument
6144 vstatus->frame_width = dec->frame_width;
6145 vstatus->frame_height = dec->frame_height;
6148 vstatus->frame_rate = 96000 / dec->frame_dur;
6150 vstatus->frame_rate = -1;
6151 vstatus->error_count = 0;
6152 vstatus->status = dec->stat | dec->fatal_error;
6153 vstatus->frame_dur = dec->frame_dur;
6154 vstatus->bit_rate = dec->gvs->bit_rate;
6155 vstatus->frame_data = dec->gvs->frame_data;
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/utils/
Damstream.h393 struct vdec_status vstatus; member
711 struct vdec_status vstatus; member
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/vp9/
Dvvp9.c8896 int vvp9_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vvp9_dec_status() argument
8904 vstatus->frame_width = frame_width; in vvp9_dec_status()
8905 vstatus->frame_height = frame_height; in vvp9_dec_status()
8907 vstatus->frame_rate = 96000 / vp9->frame_dur; in vvp9_dec_status()
8909 vstatus->frame_rate = -1; in vvp9_dec_status()
8910 vstatus->error_count = 0; in vvp9_dec_status()
8911 vstatus->status = vp9->stat | vp9->fatal_error; in vvp9_dec_status()
8912 vstatus->frame_dur = vp9->frame_dur; in vvp9_dec_status()
8913 vstatus->bit_rate = vp9->gvs->bit_rate; in vvp9_dec_status()
8914 vstatus->frame_data = vp9->gvs->frame_data; in vvp9_dec_status()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/vav1/
Dvav1.c7995 int vav1_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vav1_dec_status() argument
8003 vstatus->frame_width = frame_width; in vav1_dec_status()
8004 vstatus->frame_height = frame_height; in vav1_dec_status()
8006 vstatus->frame_rate = 96000 / av1->frame_dur; in vav1_dec_status()
8008 vstatus->frame_rate = -1; in vav1_dec_status()
8009 vstatus->error_count = 0; in vav1_dec_status()
8010 vstatus->status = av1->stat | av1->fatal_error; in vav1_dec_status()
8011 vstatus->frame_dur = av1->frame_dur; in vav1_dec_status()
8013 vstatus->bit_rate = gvs->bit_rate; in vav1_dec_status()
8014 vstatus->frame_data = gvs->frame_data; in vav1_dec_status()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/h265/
Dvh265.c11118 int vh265_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vh265_dec_status() argument
11120 int vh265_dec_status(struct vdec_info *vstatus) in vh265_dec_status()
11132 vstatus->frame_width = hevc->frame_width; in vh265_dec_status()
11134 vstatus->frame_height = in vh265_dec_status()
11137 vstatus->frame_rate = 96000 / hevc->frame_dur; in vh265_dec_status()
11139 vstatus->frame_rate = -1; in vh265_dec_status()
11140 vstatus->error_count = hevc->gvs->error_frame_count; in vh265_dec_status()
11141 vstatus->status = hevc->stat | hevc->fatal_error; in vh265_dec_status()
11142 vstatus->bit_rate = hevc->gvs->bit_rate; in vh265_dec_status()
11143 vstatus->frame_dur = hevc->frame_dur; in vh265_dec_status()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/h264_multi/
Dvmh264.c6921 static int dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in dec_status() argument
6929 vstatus->frame_width = hw->frame_width; in dec_status()
6930 vstatus->frame_height = hw->frame_height; in dec_status()
6932 vstatus->frame_dur = hw->frame_dur; in dec_status()
6933 vstatus->frame_rate = 96000 / hw->frame_dur; in dec_status()
6936 vstatus->frame_rate = -1; in dec_status()
6937 vstatus->error_count = hw->gvs.error_frame_count; in dec_status()
6938 vstatus->status = hw->stat; in dec_status()
6948 vstatus->ratio_control = in dec_status()
6951 vstatus->error_frame_count = hw->gvs.error_frame_count; in dec_status()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Ddhd_pcie.c10679 bcm_fwsign_verif_status_t vstatus; local
10682 bzero(&vstatus, sizeof(vstatus));
10684 ret = dhdpcie_download_rtlv(bus, DNGL_RTLV_TYPE_FWSIGN_STATUS, sizeof(vstatus),
10685 (uint8*)&vstatus);
10687 bus->fwstat_download_len = sizeof(vstatus);
10706 memmap.vstatus.start = bus->fwstat_download_addr;
10707 memmap.vstatus.end = memmap.vstatus.start + bus->fwstat_download_len;
10713 memmap.vstatus.start, memmap.vstatus.end,
10921 meminfo.vstatus.start, meminfo.vstatus.end);