Home
last modified time | relevance | path

Searched refs:rate (Results 1 – 25 of 232) sorted by relevance

12345678910

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_KHR_fragment_shading_rate.adoc10 This extension adds the ability to change the rate at which fragments are shaded. Rather than the u…
14 …her, but as resolutions increase, the requirements on device performance increase at the same rate.
16 …el fidelity is not necessarily perceptible - and uniformly increasing the rate at which pixels are…
18 …ent shading, and bandwidth. This proposal focuses on reducing the shading rate, as this is the pri…
23 …uniform rate to be applied across the screen - things like MSAA, sample rate shading, and custom s…
24 … awkward sorting of geometry/draws in order to achieve anything other than a natural per-draw rate.
26 Different applications may want to change the rate per-draw, per-triangle, or per-screen-region.
28 … is to provide a new shading rate state that is independent of multisampling, and enable it to be …
29 In either case, per draw rate can be set by pipeline or dynamic state, but for per-triangle and per…
31 …tial fragility of multisample state, this proposal introduces new shading rate state to the API. A…
[all …]
DVK_EXT_image_compression_control.adoc10 This document proposes adding support for fixed-rate, or 'lossy', image compression.
18 Fixed-rate compression formats have so far not been supported.
22 The fixed-rate compression algorithms are implementation-specific and not standardized.
30 To enable fixed-rate compression, two options were considered:
33 . Add new fixed-rate compressed formats
48 In the end, the "bits per component" terminology was chosen so that the same compression rate descr…
49 For example, `VK_FORMAT_R8G8_UNORM` compressed to half its original size is a rate of 4 bits per ch…
57 Implementations may support fixed-rate compression for any image, including swapchain images.
117 …* `VK_IMAGE_COMPRESSION_DEFAULT_EXT` specifies the default behavior, where fixed-rate compression …
118 …n pick a default fixed-rate compression rate. This option can be used by applications that want to…
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_KHR_fragment_shading_rate.adoc31 This extension adds the ability to change the rate at which fragments are
38 shading rate:
40 - <<primsrast-fragment-shading-rate-pipeline>>, which allows the
41 specification of a rate per-draw.
42 - <<primsrast-fragment-shading-rate-primitive>>, which allows the
43 specification of a rate per primitive, specified during shading.
44 - <<primsrast-fragment-shading-rate-attachment>>, which allows the
45 specification of a rate per-region of the framebuffer, specified in a
58 <<primsrast-fragment-shading-rate-primitive, primitive fragment shading
59 rate>>, and allows querying the final shading rate from a fragment shader.
DVK_NV_fragment_shading_rate_enums.adoc18 This extension builds on the fragment shading rate functionality provided by
21 invocations per pixel as well as a "`no invocations`" shading rate that
22 discards any portions of a primitive that would use that shading rate.
34 Because VK_KHR_fragment_shading_rate specifies the primitive shading rate
39 accepting shading rate enums instead of fragment sizes.
54 . How are the shading rate enums used, and how were the enum values assigned?
68 supersample rates and 15 for the "`no invocations`" rate.
75 rate state in a pipeline.
80 and VK_KHR_fragment_shading_rate; it is an error to enable shading rate
DVK_EXT_image_compression_control.adoc22 This extension enables fixed-rate image compression and adds the ability to
27 With fixed-rate compression, the compression is done at a defined bitrate.
31 The implementation may not be able to use the requested compression rate in
34 scheme and rate that was applied to an image.
DVK_NV_shading_rate_image.adoc26 This extension allows applications to use a variable shading rate when
30 In this extension, applications can bind a _shading rate image_ that can be
40 Each texel in the shading rate image represents a fixed-size rectangle in
44 implementation reads a texel in the bound shading rate image and looks up
45 the fetched value in a palette to determine a base shading rate.
52 fragment shaders to determine the shading rate used for processing the
88 coverage samples for each shading rate and sample count, either as static
100 precise location in the pipeline the shading rate image is accessed (after
110 natural place to access the shading rate image.
DVK_KHR_video_encode_queue.adoc82 rate control and rate control layer change requests, respectively, in
99 ** Fixed the definition of rate control flag bits and added the new
101 implementation-specific automatic rate control
108 the ability to change the state of individual rate control layers
/hardware/qcom/audio/legacy/libalsa-intf/
Darec.c94 unsigned int requestedRate = pcm->rate; in set_params()
118 param_set_int(params, SNDRV_PCM_HW_PARAM_RATE, pcm->rate); in set_params()
178 int record_file(unsigned rate, unsigned channels, int fd, unsigned count, unsigned flags, const ch… in record_file() argument
208 pcm->rate = rate; in record_file()
387 int rec_raw(const char *fg, const char *device, int rate, int ch, in rec_raw() argument
408 count = rate * ch * 2; in rec_raw()
414 ch, rate, 16, format); in rec_raw()
421 return record_file(rate, ch, fd, count, flag, device); in rec_raw()
424 int rec_wav(const char *fg, const char *device, int rate, int ch, const char *fn) in rec_wav() argument
449 hdr.sample_rate = rate; in rec_wav()
[all …]
Daplay.c90 unsigned int requestedRate = pcm->rate; in set_params()
115 param_set_int(params, SNDRV_PCM_HW_PARAM_RATE, pcm->rate); in set_params()
164 static int play_file(unsigned rate, unsigned channels, int fd, in play_file() argument
235 pcm->rate = rate; in play_file()
472 int play_raw(const char *fg, int rate, int ch, const char *device, const char *fn) in play_raw() argument
495 return play_file(rate, ch, fd, flag, device, 0); in play_raw()
498 int play_wav(const char *fg, int rate, int ch, const char *device, const char *fn) in play_wav() argument
516 hdr.sample_rate = rate; in play_wav()
544 hdr.sample_rate = rate; in play_wav()
564 int rate = 44100; in main() local
[all …]
/hardware/google/gchips/gralloc4/src/core/
Dexynos_format_allocation.h110 int setup_sbwc_420_sp_lossy(int width, int height, int rate, int fd_count, plane_info_t *plane) in setup_sbwc_420_sp_lossy() argument
112 plane[0].size = SBWCL_8B_Y_SIZE(width, height, rate); in setup_sbwc_420_sp_lossy()
115 plane[0].byte_stride = SBWCL_8B_STRIDE(width, rate); in setup_sbwc_420_sp_lossy()
118 plane[1].size = SBWCL_8B_CBCR_SIZE(width, height, rate); in setup_sbwc_420_sp_lossy()
121 plane[1].byte_stride = SBWCL_8B_STRIDE(width, rate); in setup_sbwc_420_sp_lossy()
138 int setup_sbwc_420_sp_10bit_lossy(int width, int height, int rate, int fd_count, plane_info_t *plan… in setup_sbwc_420_sp_10bit_lossy() argument
140 plane[0].size = SBWCL_10B_Y_SIZE(width, height, rate); in setup_sbwc_420_sp_10bit_lossy()
143 plane[0].byte_stride = SBWCL_10B_STRIDE(width, rate); in setup_sbwc_420_sp_10bit_lossy()
146 plane[1].size = SBWCL_10B_CBCR_SIZE(width, height, rate); in setup_sbwc_420_sp_10bit_lossy()
149 plane[1].byte_stride = SBWCL_10B_STRIDE(width, rate); in setup_sbwc_420_sp_10bit_lossy()
/hardware/interfaces/automotive/can/1.0/default/libnl++/protocols/generic/families/
DMac80211hwsim.cpp80 for (const auto rate : attr.data<hwsim_tx_rate>().getRaw()) { in hwsim_tx_rateToStream() local
81 if (rate.idx == -1) continue; in hwsim_tx_rateToStream()
83 ss << (int)rate.idx << ": " << (unsigned)rate.count; in hwsim_tx_rateToStream()
/hardware/google/graphics/zuma/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplayModule.cpp68 const int32_t rate) { in setTargetOperationRate() argument
69 if (mDisplayTargetOperationRate == rate) return NO_ERROR; in setTargetOperationRate()
71 OP_MANAGER_LOGI("set target operation rate %d", rate); in setTargetOperationRate()
72 mDisplayTargetOperationRate = rate; in setTargetOperationRate()
97 int32_t ExynosPrimaryDisplayModule::OperationRateManager::onPeakRefreshRate(uint32_t rate) { in onPeakRefreshRate() argument
100 std::sprintf(rateStr, "%d", rate); in onPeakRefreshRate()
102 OP_MANAGER_LOGD("rate=%d", rate); in onPeakRefreshRate()
103 mDisplayPeakRefreshRate = rate; in onPeakRefreshRate()
DExynosPrimaryDisplayModule.h42 int32_t onPeakRefreshRate(uint32_t rate) override;
57 int32_t setTargetOperationRate(const int32_t rate);
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp217 RateLevel rate; in TEST_P() local
218 if (!getDirectChannelSensor(&sensor, &memType, &rate)) { in TEST_P()
223 configDirectReport(sensor.sensorHandle, -1, rate, [](Result result, int32_t /* reportToken */) { in TEST_P()
234 RateLevel rate; in TEST_P() local
236 if (!getDirectChannelSensor(&sensor, &memType, &rate)) { in TEST_P()
252 sensor.sensorHandle, directChannelHandle, rate, in TEST_P()
267 sensor.sensorHandle, directChannelHandle, rate, in TEST_P()
/hardware/qcom/audio/legacy/alsa_sound/
DALSAStreamOps.cpp96 uint32_t *rate, in set() argument
134 if (rate && *rate > 0) { in set()
135 if (mHandle->sampleRate != *rate) in set()
137 } else if (rate) { in set()
138 *rate = mHandle->sampleRate; in set()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dvideo_encode_extensions.adoc149 elink:VkVideoEncodeRateControlModeFlagBitsKHR indicating supported rate
151 * pname:maxRateControlLayers indicates the maximum number of rate control
310 preferred rate control mode to use with the video encode quality level.
312 rate control layers to use with the quality level.
534 The value provided is used to update the implementation's rate control
535 algorithm for the rate control layer this instance of
539 about encode rate control.
577 [open,refpage='VkVideoEncodeRateControlInfoKHR',desc='Structure to set encode stream rate control p…
588 value specifying the encode stream rate control mode.
589 * pname:layerCount specifies the number of rate control layers in the
[all …]
Dprimsrast.adoc591 Multi-pixel fragments defined by a <<primsrast-shading-rate-image, shading
592 rate image>> have one set of samples per pixel.
596 <<primsrast-fragment-shading-rate, fragment shading rate>> have one set of
650 If a <<primsrast-shading-rate-image,shading rate image>> is used and a
658 If the <<primsrast-fragment-shading-rate, fragment shading rate>> is set,
990 [[primsrast-fragment-shading-rate]]
995 control the <<glossary-shading-rate, shading rate>> of a given fragment
998 The fragment shading rate strongly interacts with <<primsrast-multisampling,
1000 be restricted by sample rate.
1081 are supported for this rate.
[all …]
Dvideo_encode_h264_extensions.adoc88 implementation's rate control algorithms expect the application to use a
92 * pname:prefersGopRemainingFrames indicates that the implementation's rate
96 rate control algorithm requires the application to specify the number of
289 picture type when using rate control mode
526 * pname:constantQp is the QP to use for the slice if the current rate
558 [open,refpage='VkVideoEncodeH264RateControlInfoEXT',desc='Structure describing H.264 stream rate co…
568 elink:VkVideoEncodeH264RateControlFlagBitsEXT specifying H.264 rate
584 In order to provide H.264-specific stream rate control parameters, add a
591 apply various rate control heuristics.
604 [open,refpage='VkVideoEncodeH264RateControlFlagBitsEXT',desc='H.264 encode rate control bits',type=…
[all …]
/hardware/qcom/audio/hal/audio_extn/
Dhfp.c75 .rate = 8000,
433 int rate; in audio_extn_hfp_set_parameters() local
457 rate = atoi(value); in audio_extn_hfp_set_parameters()
458 if (rate == 8000){ in audio_extn_hfp_set_parameters()
460 pcm_config_hfp.rate = rate; in audio_extn_hfp_set_parameters()
461 } else if (rate == 16000){ in audio_extn_hfp_set_parameters()
463 pcm_config_hfp.rate = rate; in audio_extn_hfp_set_parameters()
/hardware/google/graphics/common/libhwc2.1/libvrr/RefreshRateCalculator/
DPeriodRefreshRateCalculator.cpp96 for (const auto& [rate, count] : mStatistics) { in onMeasure()
98 auto durationNs = freqToDurationNs(rate); in onMeasure()
102 majorRefreshRate = rate; in onMeasure()
/hardware/interfaces/tv/tuner/1.0/
Dtypes.hal102 * 1/2 conv. code rate
106 * 1/3 conv. code rate
110 * 1/4 conv. code rate
114 * 1/5 conv. code rate
118 * 2/3 conv. code rate
122 * 2/5 conv. code rate
126 * 2/9 conv. code rate
130 * 3/4 conv. code rate
134 * 3/5 conv. code rate
138 * 4/5 conv. code rate
[all …]
/hardware/interfaces/sensors/1.0/
DISensors.hal84 * be lost: transitioning from one sampling rate to the other cannot cause
176 * This function start, modify rate or stop direct report of a sensor in a
180 * with STOP rate, sensorHandle can be -1 to denote all active
183 * @param rate rate level, see RateLevel enum.
186 * rate level is not supported by sensor, channelHandle does not
190 * the same type in a single direct channel. Ignored if rate is
194 int32_t sensorHandle, int32_t channelHandle, RateLevel rate)
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/common/src/
Dvidc_common.cpp392 rate(0),
400 int rate, int scale, int frameCount) : in IvfFileHeader() argument
404 this->rate = rate; in IvfFileHeader()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/common/src/
Dvidc_common.cpp386 rate(0),
394 int rate, int scale, int frameCount) : in IvfFileHeader() argument
398 this->rate = rate; in IvfFileHeader()
/hardware/interfaces/automotive/vehicle/aidl/impl/proto/android/hardware/automotive/vehicle/
DVehiclePropConfig.proto46 /* Min sample rate in Hz.
51 * Max sample rate in Hz. */

12345678910