| /OK3568_Linux_fs/external/rockit/mpi/example/common/ |
| H A D | test_comm_imgproc.cpp | 472 RK_U32 frame_count) { in TEST_COMM_FillImage() argument 486 p[x] = x + y + frame_count * 3; in TEST_COMM_FillImage() 493 p[x * 2 + 0] = 128 + y + frame_count * 2; in TEST_COMM_FillImage() 494 p[x * 2 + 1] = 64 + x + frame_count * 5; in TEST_COMM_FillImage() 503 p[x] = x + y + frame_count * 3; in TEST_COMM_FillImage() 510 p[x * 2 + 0] = 128 + y / 2 + frame_count * 2; in TEST_COMM_FillImage() 511 p[x * 2 + 1] = 64 + x + frame_count * 5; in TEST_COMM_FillImage() 520 p[x] = x + y + frame_count * 3; in TEST_COMM_FillImage() 527 p[x] = 128 + y + frame_count * 2; in TEST_COMM_FillImage() 534 p[x] = 64 + x + frame_count * 5; in TEST_COMM_FillImage() [all …]
|
| /OK3568_Linux_fs/external/mpp/utils/ |
| H A D | utils.c | 617 RK_U32 frame_count) in fill_MPP_FMT_YUV420SP() argument 626 p[x] = x + y + frame_count * 3; in fill_MPP_FMT_YUV420SP() 633 p[x * 2 + 0] = 128 + y + frame_count * 2; in fill_MPP_FMT_YUV420SP() 634 p[x * 2 + 1] = 64 + x + frame_count * 5; in fill_MPP_FMT_YUV420SP() 641 RK_U32 frame_count) in fill_MPP_FMT_YUV422SP() argument 650 p[x] = x + y + frame_count * 3; in fill_MPP_FMT_YUV422SP() 657 p[x * 2 + 0] = 128 + y / 2 + frame_count * 2; in fill_MPP_FMT_YUV422SP() 658 p[x * 2 + 1] = 64 + x + frame_count * 5; in fill_MPP_FMT_YUV422SP() 1029 RK_U32 frame_count) in fill_image() argument 1040 fill_MPP_FMT_YUV420SP(buf, width, height, hor_stride, ver_stride, frame_count); in fill_image() [all …]
|
| /OK3568_Linux_fs/external/mpp/test/ |
| H A D | mpi_dec_multi_test.c | 51 RK_S32 frame_count; member 65 RK_S32 frame_count; member 96 if (data->frame_num < 0 || data->frame_num > data->frame_count) { in multi_dec_simple() 212 data->frame_count); in multi_dec_simple() 214 data->frame_count++; in multi_dec_simple() 231 if ((data->frame_num > 0 && (data->frame_count >= data->frame_num)) || in multi_dec_simple() 240 if ((data->frame_num > 0 && (data->frame_count >= data->frame_num)) || in multi_dec_simple() 337 mpp_log_q(quiet, "%p decoded frame %d\n", ctx, data->frame_count); in multi_dec_advanced() 338 data->frame_count++; in multi_dec_advanced() 347 if (data->frame_count >= data->frame_num) in multi_dec_advanced() [all …]
|
| H A D | mpi_dec_test.c | 47 RK_S32 frame_count; member 83 if (data->frame_num < 0 || data->frame_num > data->frame_count) { in dec_simple() 257 "decode get frame %d", data->frame_count); in dec_simple() 275 data->frame_count++; in dec_simple() 309 if ((data->frame_num > 0 && (data->frame_count >= data->frame_num)) || in dec_simple() 318 if ((data->frame_num > 0 && (data->frame_count >= data->frame_num)) || in dec_simple() 422 mpp_log_q(quiet, "%p decoded frame %d\n", ctx, data->frame_count); in dec_advanced() 423 data->frame_count++; in dec_advanced() 432 if (data->frame_count >= data->frame_num) in dec_advanced() 513 data->frame_count = data->frame_count; in thread_decode() [all …]
|
| H A D | mpi_dec_nt_test.c | 47 RK_S32 frame_count; member 83 if (data->frame_num < 0 || data->frame_num > data->frame_count) { in dec_loop() 234 "decode get frame %d", data->frame_count); in dec_loop() 252 data->frame_count++; in dec_loop() 279 if (data->frame_count >= data->frame_num) { in dec_loop() 346 data->frame_count = data->frame_count; in thread_decode() 347 data->frame_rate = (float)data->frame_count * 1000000 / data->elapsed_time; in thread_decode() 351 data->frame_count, (RK_S64)(data->elapsed_time / 1000), in thread_decode() 494 data.frame_count = 0; in dec_nt_decode()
|
| H A D | mpi_enc_test.c | 48 RK_S32 frame_count; member 129 RK_S32 frame_count; member 591 if (p->frame_num < 0 || p->frame_count < p->frame_num) { in test_mpp_run() 604 p->ver_stride, p->fmt, p->frame_count); in test_mpp_run() 654 if ((p->frame_count & 10) == 0) { in test_mpp_run() 684 mpi_enc_gen_osd_plt(&p->osd_plt, p->frame_count); in test_mpp_run() 698 p->height, p->frame_count); in test_mpp_run() 776 mpp_log("p->frame_count=%d, len=%d\n", p->frame_count, len); in test_mpp_run() 781 "encoded frame %-4d", p->frame_count); in test_mpp_run() 820 p->frame_count += eoi; in test_mpp_run() [all …]
|
| H A D | mpi_dec_mt_test.c | 52 RK_S32 frame_count; member 86 if (data->frame_num < 0 || data->frame_count < data->frame_num) { in thread_input() 198 "decode get frame %d", data->frame_count); in thread_output() 216 data->frame_count++; in thread_output() 226 if ((data->frame_num > 0 && (data->frame_count >= data->frame_num)) || in thread_output() 341 data.frame_count = 0; in mt_dec_decode()
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/dummy/ |
| H A D | dummy_dec_api.c | 49 RK_U32 frame_count; member 190 RK_U32 frame_count; in dummy_dec_parse() local 202 frame_count = p->frame_count; in dummy_dec_parse() 212 } else if (frame_count >= 2) { in dummy_dec_parse() 270 RK_U32 replace_index = frame_count & 1; in dummy_dec_parse() 278 p->frame_count = ++frame_count; in dummy_dec_parse()
|
| /OK3568_Linux_fs/kernel/drivers/net/ |
| H A D | thunderbolt.c | 62 u32 frame_count; member 672 u32 frame_id, frame_count, frame_size, frame_index; in tbnet_check_frame() local 690 frame_count = le32_to_cpu(hdr->frame_count); in tbnet_check_frame() 703 if (net->skb && net->rx_hdr.frame_count) { in tbnet_check_frame() 705 if (frame_count != net->rx_hdr.frame_count) { in tbnet_check_frame() 728 if (frame_count == 0 || frame_count > TBNET_RING_SIZE / 4) { in tbnet_check_frame() 811 net->rx_hdr.frame_count = le32_to_cpu(hdr->frame_count); in tbnet_poll() 814 last = net->rx_hdr.frame_index == net->rx_hdr.frame_count - 1; in tbnet_poll() 903 struct tbnet_frame **frames, u32 frame_count) in tbnet_xmit_csum_and_map() argument 918 for (i = 0; i < frame_count; i++) { in tbnet_xmit_csum_and_map() [all …]
|
| /OK3568_Linux_fs/kernel/sound/usb/6fire/ |
| H A D | pcm.c | 196 int frame_count; in usb6fire_pcm_capture() local 211 frame_count = (urb->packets[i].actual_length - 4) in usb6fire_pcm_capture() 214 frame_count = 0; in usb6fire_pcm_capture() 224 for (frame = 0; frame < frame_count; frame++) { in usb6fire_pcm_capture() 244 int frame_count; in usb6fire_pcm_playback() local 267 frame_count = (urb->packets[i].length - 4) in usb6fire_pcm_playback() 270 frame_count = 0; in usb6fire_pcm_playback() 272 for (frame = 0; frame < frame_count; frame++) { in usb6fire_pcm_playback() 294 int frame_count; in usb6fire_pcm_in_urb_handler() local 357 frame_count = (out_urb->packets[i].length - 4) in usb6fire_pcm_in_urb_handler() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_demo/utils/ |
| H A D | mpp_decoder.cpp | 108 loop_data.frame_count = 0; in Init() 245 data->frame_count++; in Decode() 298 if (data->frame_num > 0 && data->frame_count >= data->frame_num) { in Decode() 308 if (data->frame_num > 0 && data->frame_count >= data->frame_num) { in Decode() 310 LOGD("reach max frame number %d ", data->frame_count); in Decode()
|
| /OK3568_Linux_fs/kernel/arch/s390/lib/ |
| H A D | test_unwind.c | 43 int frame_count, prev_is_func2, seen_func2_func1; in test_unwind() local 56 frame_count = 0; in test_unwind() 63 if (frame_count++ == max_frames) in test_unwind() 80 frame_count += 1; in test_unwind() 95 if (frame_count == max_frames) { in test_unwind()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_drm_debugfs.c | 56 int rockchip_drm_dump_plane_buffer(struct vop_dump_info *dump_info, int frame_count) in rockchip_drm_dump_plane_buffer() argument 91 "_AFBC_" : "_", frame_count, "bin"); in rockchip_drm_dump_plane_buffer() 178 rockchip_crtc->frame_count); in rockchip_drm_dump_buffer_write() 181 rockchip_crtc->frame_count++; in rockchip_drm_dump_buffer_write() 209 rockchip_crtc->frame_count = 0; in rockchip_drm_add_dump_buffer()
|
| H A D | rockchip_drm_debugfs.h | 57 int rockchip_drm_dump_plane_buffer(struct vop_dump_info *dump_info, int frame_count); 67 rockchip_drm_dump_plane_buffer(struct vop_dump_info *dump_info, int frame_count) in rockchip_drm_dump_plane_buffer() argument
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ebc-dev/tcon/ |
| H A D | ebc_tcon.h | 38 int (*lut_data_set)(struct ebc_tcon *tcon, unsigned int *lut_data, int frame_count, int lut_32); 70 …t ebc_tcon_lut_data_set(struct ebc_tcon *tcon, unsigned int *lut_data, int frame_count, int lut_32) in ebc_tcon_lut_data_set() argument 72 return tcon->lut_data_set(tcon, lut_data, frame_count, lut_32); in ebc_tcon_lut_data_set()
|
| H A D | ebc_tcon.c | 255 static int tcon_lut_data_set(struct ebc_tcon *tcon, unsigned int *lut_data, int frame_count, int lu… in tcon_lut_data_set() argument 260 if ((!lut_32 && frame_count > 256) || (lut_32 && frame_count > 64)) { in tcon_lut_data_set() 266 lut_size = frame_count * 64; in tcon_lut_data_set() 268 lut_size = frame_count * 16; in tcon_lut_data_set()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | tx.c | 919 tx_resp->frame_count) & IEEE80211_MAX_SN; in iwlagn_get_scd_ssn() 941 agg->wait_for_ba = (tx_resp->frame_count > 1); in iwl_rx_reply_tx_agg() 947 if (tx_resp->bt_kill_count && tx_resp->frame_count == 1 && in iwl_rx_reply_tx_agg() 953 if (tx_resp->frame_count == 1) in iwl_rx_reply_tx_agg() 959 iwlagn_get_scd_ssn(tx_resp), tx_resp->frame_count); in iwl_rx_reply_tx_agg() 962 for (i = 0; i < tx_resp->frame_count; i++) { in iwl_rx_reply_tx_agg() 1104 u8 frame_count, u32 status) in iwl_check_abort_status() argument 1106 if (frame_count == 1 && status == TX_STATUS_FAIL_RFKILL_FLUSH) { in iwl_check_abort_status() 1150 if (tx_resp->frame_count == 1) { in iwlagn_rx_reply_tx() 1215 tx_resp->frame_count, cmd_index); in iwlagn_rx_reply_tx() [all …]
|
| /OK3568_Linux_fs/kernel/sound/aoa/soundbus/i2sbus/ |
| H A D | pcm.c | 577 pi->frame_count = in_le32(&i2sdev->intfregs->frame_count); in i2sbus_pcm_trigger() 618 fc = in_le32(&i2sdev->intfregs->frame_count); in i2sbus_pcm_pointer() 619 fc = fc - pi->frame_count; in i2sbus_pcm_pointer() 654 pi->frame_count += runtime->buffer_size; in handle_interrupt() 662 fc = in_le32(&i2sdev->intfregs->frame_count); in handle_interrupt() 664 if (fc < pi->frame_count + nframes) in handle_interrupt() 665 pi->frame_count = fc - nframes; in handle_interrupt()
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/vehicle/ |
| H A D | vehicle_flinger.c | 719 static int frame_count; in rk_flinger_rga_scaler() local 730 frame_count++, frame_len); in rk_flinger_rga_scaler() 755 static int frame_count; in rk_flinger_rga_scaler() local 767 frame_count++, frame_len); in rk_flinger_rga_scaler() 1001 static int frame_count; in rk_flinger_rga_render() local 1012 frame_count++, frame_len); in rk_flinger_rga_render() 1072 static int frame_count; in rk_drm_vehicle_commit() local 1081 frame_count++, frame_len); in rk_drm_vehicle_commit() 1144 static int frame_count; in rk_flinger_vop_show() local 1155 frame_count++, frame_len); in rk_flinger_vop_show() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/rk_eink/ |
| H A D | rk_ebc_tcon.c | 401 int frame_count, int lut_32) in ebc_tcon_lut_data_set() argument 406 if ((!lut_32 && frame_count > 256) || (lut_32 && frame_count > 64)) { in ebc_tcon_lut_data_set() 412 lut_size = frame_count * 64; in ebc_tcon_lut_data_set() 414 lut_size = frame_count * 16; in ebc_tcon_lut_data_set()
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/mpg4/ |
| H A D | mpg4d_api.c | 46 RK_U32 frame_count; member 311 p->frame_count++; in mpg4d_parse() 335 … p_Dec->frame_count, task_dec->output, task_err, ctx->hard_err, task_dec->flags.used_for_ref, in mpg4d_callback()
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/gspca/m5602/ |
| H A D | m5602_core.c | 325 sd->frame_count++; in m5602_urb_complete() 331 sd->frame_count); in m5602_urb_complete() 343 sd->frame_count, len); in m5602_urb_complete()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43/ |
| H A D | xmit.c | 869 if (status->frame_count == 0) { in b43_fill_txstatus_report() 881 report->status.rates[1].count = status->frame_count; in b43_fill_txstatus_report() 883 if (status->frame_count > retry_limit) { in b43_fill_txstatus_report() 885 report->status.rates[1].count = status->frame_count - in b43_fill_txstatus_report() 889 report->status.rates[0].count = status->frame_count; in b43_fill_txstatus_report()
|
| /OK3568_Linux_fs/kernel/drivers/staging/vc04_services/bcm2835-camera/ |
| H A D | bcm2835-camera.c | 347 if (dev->capture.frame_count) { in buffer_cb() 358 &dev->capture.frame_count, in buffer_cb() 359 sizeof(dev->capture.frame_count)); in buffer_cb() 375 if (!dev->capture.frame_count) { in buffer_cb() 414 &dev->capture.frame_count, in buffer_cb() 415 sizeof(dev->capture.frame_count)); in buffer_cb() 523 dev->capture.frame_count = 1; in start_streaming() 589 &dev->capture.frame_count, in start_streaming() 590 sizeof(dev->capture.frame_count)); in start_streaming() 606 dev->capture.frame_count = 0; in stop_streaming() [all …]
|
| /OK3568_Linux_fs/external/rockit/mpi/example/include/ |
| H A D | test_comm_imgproc.h | 33 RK_U32 frame_count);
|