Home
last modified time | relevance | path

Searched refs:Frame (Results 1 – 25 of 111) sorted by relevance

12345

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/include/
H A Dsbc_frame.h30 class Frame {
48 Frame();
51 ssize_t Pack(uint8_t* bufStream, const Frame& frame, int joint);
55 int UnpackFrameStream(Frame& frame, const uint8_t* bufStream, size_t len);
56 void SbcCalculateBits(const Frame& frame, int (*bits)[8]);
57 void SbcCaculateLevelsAndSampleDelta(const Frame& frame, int (*bits)[8],
59 void SbcCalculateBitsNormal(const Frame& frame, int (*bits)[8]);
60 void SbcCalculateBitsStereo(const Frame& frame, int (*bits)[8]);
62 int SbcCalculateBitsMaxStereo(const Frame& frame, const int subbands, int (*bits)[8]);
63 int SbcCalculateBitsMaxStereoSNR(const Frame& frame, const int subbands, int (*bits)[8]);
[all …]
H A Dsbc_decoder.h34 void Init(const Frame& frame);
35 int Synthesize(const Frame& frame);
36 void Synthesize4(const Frame &frame, int ch, int blk);
37 void Synthesize8(const Frame &frame, int ch, int blk);
43 Frame frame_ {};
H A Dsbc_encoder.h36 void Init(const Frame& frame);
50 int Analyze4Subbands(int position, int16_t x[2][BUFFER_SIZE], Frame& frame, int increment);
51 int Analyze8Subbands(int position, int16_t x[2][BUFFER_SIZE], Frame& frame, int increment);
70 Frame frame_ {};
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/src/
H A Dsbc_frame.cpp105 int Frame::SbcCalculateLoudness(const Frame& frame, int channel, int subband) in SbcCalculateLoudness()
119 void Frame::SbcCalculateBitsNormal(const Frame& frame, int (*bits)[VALUE8]) in SbcCalculateBitsNormal()
186 int Frame::SbcCalculateBitsMax(const Frame& frame, const int channel, int subbands, in SbcCalculateBitsMax()
294 void Frame::SbcCalculateBitsStereo(const Frame& frame, int (*bits)[VALUE8]) in SbcCalculateBitsStereo()
346 void Frame::SbcCalculateBits(const Frame& frame, int (*bits)[VALUE8]) in SbcCalculateBits()
363 int Frame::UnpackFrameStream(Frame& frame, const uint8_t* bufStream, size_t len) in UnpackFrameStream()
466 Frame::Frame() {} in Frame() function in sbc::Frame
518 bool Frame::IsValid() const in IsValid()
559 void Frame::SbcCaculateLevelsAndSampleDelta(const Frame& frame, int (*bits)[VALUE8], in SbcCaculateLevelsAndSampleDelta()
572 ssize_t Frame::PackFrameInternal(const Frame& frame, uint8_t* bufStream, in PackFrameInternal()
[all …]
H A Dsbc_decoder.cpp69 void Decoder::Init(const Frame& frame) in Init()
120 int Decoder::Synthesize(const Frame& frame) in Synthesize()
154 void Decoder::Synthesize4(const Frame &frame, int ch, int blk) in Synthesize4()
197 void Decoder::Synthesize8(const Frame &frame, int ch, int blk) in Synthesize8()
/ohos5.0/docs/en/application-dev/graphics/
H A DReadme-EN.md4 - Using Variable Frame Rates
5 - [Introduction to Variable Frame Rates](displaysync-overview.md)
6 - [Requesting Frame Rates for Animations](displaysync-animation.md)
7 - [Requesting Frame Rates for UI Components](displaysync-ui.md)
8 - [Requesting Frame Rates for Custom Content](displaysync-xcomponent.md)
H A Ddisplaysync-overview.md1 # Introduction to Variable Frame Rates
16 … property animations or explicit animations. For details, see [Requesting Frame Rates for Animatio…
17 - Request an independent frame rate for UI components. For details, see [Requesting Frame Rates for…
18 …rough the **XComponent** on the native side. For details, see [Requesting Frame Rates for Custom C…
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/
H A Dmanager.rs45 input_tx: UnboundedSender<Frame>,
127 input_tx: UnboundedSender<Frame>, in new() argument
293 frame: Frame, in poll_recv_frame() argument
401 frame: Frame, in recv_go_away_frame() argument
443 frame: Frame, in recv_reset_frame() argument
463 frame: Frame, in recv_header_frame() argument
562 let frame = Frame::new( in manage_stream_error()
612 let frame = Frame::new( in manage_conn_error()
652 let frame = Frame::new( in poll_deal_with_go_away()
666 frame: Frame, in send_peer_goaway() argument
[all …]
H A Dstreams.rs20 use ylong_http::h2::{Data, ErrorCode, Frame, FrameFlags, H2Error, Payload};
42 Ready(Frame),
43 Finish(Frame),
119 pub(crate) header: Option<Frame>,
124 pub(crate) header: Frame,
374 sender: &UnboundedSender<Frame>, in window_update_conn() argument
386 sender: &UnboundedSender<Frame>, in window_update_streams() argument
407 pub(crate) fn headers(&mut self, id: u32) -> Result<Option<Frame>, H2Error> { in headers() argument
472 Ok(DataReadState::Ready(Frame::new( in poll_sized_data()
481 Ok(DataReadState::Finish(Frame::new( in poll_sized_data()
[all …]
H A Dinput.rs21 use ylong_http::h2::{ErrorCode, Frame, FrameEncoder, H2Error, Payload, Setting, Settings};
30 req_rx: UnboundedReceiver<Frame>,
122 req_rx: UnboundedReceiver<Frame>, in new() argument
190 fn poll_recv_frame(&mut self, cx: &mut Context<'_>) -> Poll<Result<Frame, DispatchErrorKind>> { in poll_recv_frame() argument
205 fn update_settings(&mut self, frame: &Frame) -> SettingState { in update_settings()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/
H A Ddecoder.rs154 Complete(Frame),
897 Frame: {
972 Frame: {
1106 Frame: { in ut_frame_decoder_with_complete_data_frame()
1128 Frame: { in ut_frame_decoder_with_complete_padded_data_frame()
1161 Frame: { in ut_frame_decoder_with_segmented_data_frame()
1172 Frame: { in ut_frame_decoder_with_segmented_data_frame()
1194 Frame: { in ut_frame_decoder_with_complete_padded_priority_headers_frame()
1219 Frame: { in ut_frame_decoder_with_complete_response_headers_frame()
1278 Frame: { in ut_frame_decoder_with_series_request_frames()
[all …]
H A Dencoder.rs92 current_frame: Option<Frame>,
424 frame: &Frame, in iterate_headers_header() argument
570 frame: &Frame, in iterate_data_header() argument
694 frame: &Frame, in iterate_goaway_header() argument
812 frame: &Frame, in iterate_window_update_header() argument
911 frame: &Frame, in iterate_settings_header() argument
1035 frame: &Frame, in iterate_priority_header() argument
1234 frame: &Frame, in iterate_ping_header() argument
1604 let frame = Frame::new( in ut_rst_stream_frame_encoding()
1649 let frame = Frame::new( in ut_window_update_frame_encoding()
[all …]
H A Dframe.rs51 pub struct Frame { struct
201 impl Frame { implementation
210 Frame { id, flags, payload } in new()
391 pub fn ack() -> Frame { in ack()
392 Frame::new( in ack()
591 pub fn ack(ping: Ping) -> Frame { in ack() argument
592 Frame::new(0, FrameFlags::new(0x1), Payload::Ping(ping)) in ack()
/ohos5.0/foundation/resourceschedule/frame_aware_sched/
H A DREADME.md1 # The Part of Frame Aware Sched
6 - [The component of Frame Information Collection ](#section_collection)
7 - [The component of Frame Aware Policy](#section_policy)
13 The part of Frame Aware Sched belongs to subsystem named *Resource Schedule Subsystem*.
41 …e *Farme Aware Sched* is devided into two parts, which are *Frame Aware Collector* and *Frame Awar…
43 - *Frame Aware Collector*: which is the core strategy of drawing frames, including frame event proc…
51 - *Frame Aware Policy*: which is consists of four part: event processing module, application manage…
63 ### The component of Frame Information Collection<a name="section_collection"></a>
71 ### The component of Frame Aware Policy<a name="section_Policy"></a>
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Ddispatcher.rs160 ErrorCode, Frame, FrameDecoder, FrameEncoder, FrameFlags, Goaway, H2Error, Payload,
185 Output(Frame),
190 Output(Frame),
330 input_channel: (UnboundedSender<Frame>, UnboundedReceiver<Frame>), in launch() argument
500 input_tx: &UnboundedSender<Frame>, in poll_blocked_message() argument
517 let frame = Frame::new( in poll_blocked_message()
549 pub(crate) async fn recv(&mut self) -> Result<Frame, HttpClientError> { in recv() argument
581 ) -> Poll<Result<Frame, HttpClientError>> { in poll_recv() argument
623 pub(crate) fn create_initial_settings(config: &H2Config) -> Frame { in create_initial_settings() argument
632 Frame::new(0, FrameFlags::new(0), Payload::Settings(settings)) in create_initial_settings()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/conn/
H A Dhttp2.rs22 use ylong_http::h2::{ErrorCode, Frame, FrameFlags, H2Error, Payload, PseudoHeaders};
67 headers_frame: Frame, in frame_2_response() argument
129 ) -> Result<Frame, HttpError> { in build_headers_frame() argument
142 Ok(Frame::new( in build_headers_frame()
200 pub(crate) remain: Option<Frame>,
240 poll_result: Poll<Frame>, in match_channel_message() argument
449 use ylong_http::h2::{Data, Frame, FrameFlags}; in ut_http2_body_poll_read()
462 let data_1 = Frame::new( in ut_http2_body_poll_read()
467 let data_2 = Frame::new( in ut_http2_body_poll_read()
472 let data_3 = Frame::new( in ut_http2_body_poll_read()
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Dcross-thread-serialization-time-consumption-analysis.md53 2. 启动应用,点击Profiler,选择Frame模板,选择当前应用进程,点击Create Session,然后开始录制Frame insight场景数据,录制过程中可正常操作应用。
55 **图2 录制Frame insight场景数据**
77 2. 启动应用,点击Profiler,选择Frame模板,点击Anomaly泳道中的options,在弹出的输入框中输入超时阈值。
H A Ddelay_related_performance.md43 在设备相关debug开关打开后,通过Frame或SmartPerf Host等工具抓取场景Trace,开发者在抓取时,应结合问题现象,使Trace短小而有针对性,以方便后续问题定位。
92 …Stack调用栈,查看耗时任务,如发现耗时任务,则继续查看耗时原因,一般结合应用进程UI主线程查看;如未发现耗时任务(比如idle状态),则查看此时Frame应用侧是否有渲染任务和对应的Compo…
94 2. 在FLING结束点,往后查看Frame应用侧帧渲染情况,是否出现异常帧、超长帧。此时一般结合应用进程UI主线程查看具体的组件渲染详情。
101 |Frame/应用线程|送帧平滑|超长帧|异常帧|
H A Dapplication-performance-guide.md7 本文主要是以Trace数据为切入点进行分析,相应的工具可以使用SmartPerf Host或DevEco Studio内置的Frame等。若开发者需要补充SmartPerf Host工具和Trace…
132 例如,可以结合DevEco Studio中Frame工具,方便地跳回源码,定位具体是哪一个自定义组件绘制时间较长。
134 **图12 Frame工具抓取应用信息图**
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/buffer/
H A Dwindow.rs16 use ylong_http::h2::{ErrorCode, Frame, FrameFlags, H2Error, Payload, WindowUpdate};
119 pub(crate) fn check_window_update(&mut self, id: u32) -> Option<Frame> { in check_window_update() argument
123 let frame = Frame::new( in check_window_update()
H A Dsettings.rs16 use ylong_http::h2::{Frame, H2Error};
34 pub(crate) fn check_conn_recv_window_update(&mut self) -> Option<Frame> { in check_conn_recv_window_update() argument
/ohos5.0/docs/en/application-dev/performance/
H A Dreadme-EN.md6 - Reducing Frame Freezing
13 - [Reducing Animation Frame Loss](reduce-animation-frame-loss.md)
21 …- [Reducing Redundant Operations on First Frame Drawing](reduce-redundant-operations-when-render-f…
/ohos5.0/foundation/resourceschedule/ffrt/tools/ffrt_trace_process/
H A Dffrt_trace_process_gui.pyw219 self.frame00 = Frame(self.window, width=1280, height=200)
224 self.frame001 = Frame(self.frame00, width=50, height=200)
235 self.frame002 = Frame(self.frame00, width=50, height=200)
248 self.frame003 = Frame(self.frame00, width=200, height=200)
269 self.frame004 = Frame(self.frame00, width=70, height=200)
280 self.frame10 = Frame(self.window, bd=5, width=1280, height=330, relief="groove")
/ohos5.0/docs/en/application-dev/reference/apis-camera-kit/
H A D_camera___video_profile.md22 | [Camera_FrameRateRange](_camera___frame_rate_range.md) [range](#range) | Frame rate, in frames pe…
45 Frame rate, in FPS.
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/
H A Dframe.rs35 pub struct Frame { struct
107 impl Frame { impl
109 Frame { ty, len, payload } in new()

12345