Home
last modified time | relevance | path

Searched refs:rb (Results 1 – 25 of 28) sorted by relevance

12

/hardware/nxp/secure_element/libese-spi/p73/utils/
Dringbuffer.cpp44 void ringbuffer_free(ringbuffer_t* rb) { in ringbuffer_free() argument
45 if (rb != NULL) free(rb->base); in ringbuffer_free()
46 free(rb); in ringbuffer_free()
49 size_t ringbuffer_available(const ringbuffer_t* rb) { in ringbuffer_available() argument
50 assert(rb); in ringbuffer_available()
51 return rb->available; in ringbuffer_available()
54 size_t ringbuffer_size(const ringbuffer_t* rb) { in ringbuffer_size() argument
55 assert(rb); in ringbuffer_size()
56 return rb->total - rb->available; in ringbuffer_size()
59 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length) { in ringbuffer_insert() argument
[all …]
Dringbuffer.h37 void ringbuffer_free(ringbuffer_t* rb);
40 size_t ringbuffer_available(const ringbuffer_t* rb);
43 size_t ringbuffer_size(const ringbuffer_t* rb);
48 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length);
54 size_t ringbuffer_peek(const ringbuffer_t* rb, off_t offset, uint8_t* p,
58 size_t ringbuffer_pop(ringbuffer_t* rb, uint8_t* p, size_t length);
62 size_t ringbuffer_delete(ringbuffer_t* rb, size_t length);
/hardware/qcom/sm8150/display/libhistogram/
Dringbuffer_test.cpp53 void insertFrameIncrementTimeline(histogram::Ringbuffer &rb, TickingTimeKeeper &tk, in insertFrameIncrementTimeline() argument
55 rb.insert(frame); in insertFrameIncrementTimeline()
74 auto rb = histogram::Ringbuffer::create(4, std::make_unique<TimeKeeperWrapper>(tk)); in createFilledRingbuffer() local
75 insertFrameIncrementTimeline(*rb, *tk, frame0); in createFilledRingbuffer()
76 insertFrameIncrementTimeline(*rb, *tk, frame1); in createFilledRingbuffer()
77 insertFrameIncrementTimeline(*rb, *tk, frame2); in createFilledRingbuffer()
78 insertFrameIncrementTimeline(*rb, *tk, frame3); in createFilledRingbuffer()
79 return rb; in createFilledRingbuffer()
108 auto rb = histogram::Ringbuffer::create(1, std::make_unique<TickingTimeKeeper>()); in TEST_F() local
110 std::tie(numFrames, bins) = rb->collect_ringbuffer_all(); in TEST_F()
[all …]
/hardware/qcom/sdm845/display/libhistogram/
Dringbuffer_test.cpp53 void insertFrameIncrementTimeline(histogram::Ringbuffer &rb, TickingTimeKeeper &tk, in insertFrameIncrementTimeline() argument
55 rb.insert(frame); in insertFrameIncrementTimeline()
74 auto rb = histogram::Ringbuffer::create(4, std::make_unique<TimeKeeperWrapper>(tk)); in createFilledRingbuffer() local
75 insertFrameIncrementTimeline(*rb, *tk, frame0); in createFilledRingbuffer()
76 insertFrameIncrementTimeline(*rb, *tk, frame1); in createFilledRingbuffer()
77 insertFrameIncrementTimeline(*rb, *tk, frame2); in createFilledRingbuffer()
78 insertFrameIncrementTimeline(*rb, *tk, frame3); in createFilledRingbuffer()
79 return rb; in createFilledRingbuffer()
108 auto rb = histogram::Ringbuffer::create(1, std::make_unique<TickingTimeKeeper>()); in TEST_F() local
110 std::tie(numFrames, bins) = rb->collect_ringbuffer_all(); in TEST_F()
[all …]
/hardware/qcom/sm8150/display/sdm/include/private/
Dcolor_params.h339 uint32_t rb = 0; member
359 uint32_t rb = 0; member
/hardware/qcom/sdm845/display/sdm/include/private/
Dcolor_params.h322 uint32_t rb = 0; member
342 uint32_t rb = 0; member
/hardware/qcom/display/msm8996/sdm/include/private/
Dcolor_params.h223 uint32_t rb = 0; member
/hardware/qcom/msm8x27/original-kernel-headers/linux/
Dmsm_mdp.h416 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
/hardware/qcom/msm8x27/kernel-headers/linux/
Dmsm_mdp.h396 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_mdp.h442 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_mdp.h458 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
/hardware/qcom/msm8x09/kernel-headers/linux/
Dmsm_mdp.h549 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
552 uint32_t c, r, g, b, rg, gb, rb, rgb; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_mdp.h682 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
686 uint32_t c, r, g, b, rg, gb, rb, rgb; member
/hardware/qcom/msm8998/original-kernel-headers/linux/
Dmsm_mdp.h660 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
664 uint32_t c, r, g, b, rg, gb, rb, rgb; member
/hardware/qcom/msm8998/kernel-headers/linux/
Dmsm_mdp.h697 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
701 uint32_t c, r, g, b, rg, gb, rb, rgb; member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_mdp.h646 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
650 uint32_t c, r, g, b, rg, gb, rb, rgb; member
/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_color_manager_drm.cpp262 mdp_pcc_coeffs->rb = sde_pcc_coeffs->rb; in GetDrmPCC()
/hardware/qcom/msm8x09/original-kernel-headers/linux/
Dmsm_mdp.h645 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
649 uint32_t c, r, g, b, rg, gb, rb, rgb; member
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_color_manager_drm.cpp401 mdp_pcc_coeffs->rb = sde_pcc_coeffs->rb; in GetDrmPCC()
/hardware/qcom/display/msm8909w_3100/sdm/include/private/
Dcolor_params.h321 uint32_t rb = 0; member
/hardware/qcom/display/msm8998/sdm/include/private/
Dcolor_params.h317 uint32_t rb = 0; member
/hardware/qcom/display/msm8909/sdm/include/private/
Dcolor_params.h322 uint32_t rb = 0; member
/hardware/qcom/msm8x26/kernel-headers/linux/
Dmsm_mdp.h689 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_mdp.h675 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_mdp.h728 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member

12