/hardware/qcom/msm8998/original-kernel-headers/linux/ |
H A D | msm_audio_aac.h | 56 signed short format; member in struct:msm_audio_aac_config
|
/hardware/qcom/msm8x84/kernel-headers/linux/ |
H A D | msm_audio_aac.h | 59 signed short format; member in struct:msm_audio_aac_config
|
/hardware/qcom/msm8x84/original-kernel-headers/linux/ |
H A D | msm_audio_aac.h | 56 signed short format; member in struct:msm_audio_aac_config
|
/hardware/google/av/codec2/hidl/1.0/utils/ |
H A D | InputSurface.cpp | 172 PixelFormat format, 177 width, height, format, usage, getFrameTimestamps, _hidl_cb); 237 PixelFormat format, 239 return mBase->allocateBuffers(width, height, format, usage); 169 dequeueBuffer( uint32_t width, uint32_t height, PixelFormat format, uint32_t usage, bool getFrameTimestamps, dequeueBuffer_cb _hidl_cb) argument 234 allocateBuffers( uint32_t width, uint32_t height, PixelFormat format, uint32_t usage) argument
|
/hardware/google/av/codec2/vndk/platform/ |
H A D | C2BqBuffer.cpp | 143 uint32_t format; local 149 handle, &width, &height, &format, &usage, &stride, &igbp_id, &igbp_slot); 173 uint32_t format, 180 PixelFormat pixelFormat = static_cast<PixelFormat>(format); 267 mBuffers[slot]->format, 314 uint32_t format, 333 width, height, format, usage, &alloc); 346 c2_status_t status = fetchFromIgbp_l(width, height, format, usage, block); 455 uint32_t format, 459 return mImpl->fetchGraphicBlock(width, height, format, usag 170 fetchFromIgbp_l( uint32_t width, uint32_t height, uint32_t format, C2MemoryUsage usage, std::shared_ptr<C2GraphicBlock> *block ) argument 311 fetchGraphicBlock( uint32_t width, uint32_t height, uint32_t format, C2MemoryUsage usage, std::shared_ptr<C2GraphicBlock> *block ) argument 452 fetchGraphicBlock( uint32_t width, uint32_t height, uint32_t format, C2MemoryUsage usage, std::shared_ptr<C2GraphicBlock> *block ) argument [all...] |
/hardware/google/av/media/codecs/cmds/ |
H A D | codec2.cpp | 202 sp<AMessage> format; local 203 (void) convertMetaDataToMessage(source->getFormat(), &format); 206 format->findBuffer("csd-0", &csd0); 207 format->findBuffer("csd-1", &csd1);
|
/hardware/google/av/media/codecs/vpx/ |
H A D | C2SoftVpxDec.cpp | 452 uint32_t format = HAL_PIXEL_FORMAT_YV12; local 454 c2_status_t err = pool->fetchGraphicBlock(align(mWidth, 16) * bpp, mHeight, format, usage, &block);
|
/hardware/google/av/media/sfplugin/ |
H A D | Codec2Buffer.cpp | 88 format()->setBuffer("image-data", imageData); 92 format()->setInt32(KEY_STRIDE, stride); 95 format()->setInt32(KEY_SLICE_HEIGHT, vstride); 113 const sp<AMessage> &format, const std::shared_ptr<C2Buffer> &buffer) 114 : Codec2Buffer(format, new ABuffer(nullptr, 1)), 137 const sp<AMessage> &format, const std::shared_ptr<C2LinearBlock> &block) { 142 return new LinearBlockBuffer(format, std::move(writeView), block); 158 const sp<AMessage> &format, 161 : Codec2Buffer(format, new ABuffer(writeView.data(), writeView.size())), 170 const sp<AMessage> &format, cons 112 DummyContainerBuffer( const sp<AMessage> &format, const std::shared_ptr<C2Buffer> &buffer) argument 136 Allocate( const sp<AMessage> &format, const std::shared_ptr<C2LinearBlock> &block) argument 157 LinearBlockBuffer( const sp<AMessage> &format, C2WriteView&& writeView, const std::shared_ptr<C2LinearBlock> &block) argument 169 Allocate( const sp<AMessage> &format, const std::shared_ptr<C2Buffer> &buffer) argument 183 ConstLinearBlockBuffer( const sp<AMessage> &format, C2ReadView&& readView, const std::shared_ptr<C2Buffer> &buffer) argument 497 Allocate( const sp<AMessage> &format, const std::shared_ptr<C2GraphicBlock> &block, std::function<sp<ABuffer>(size_t)> alloc) argument 534 GraphicBlockBuffer( const sp<AMessage> &format, const sp<ABuffer> &buffer, C2GraphicView &&view, const std::shared_ptr<C2GraphicBlock> &block, const sp<ABuffer> &imageData, bool wrapped) argument 560 GraphicMetadataBuffer( const sp<AMessage> &format, const std::shared_ptr<C2Allocator> &alloc) argument 606 Allocate( const sp<AMessage> &format, const std::shared_ptr<C2Buffer> &buffer, std::function<sp<ABuffer>(size_t)> alloc) argument 651 AllocateEmpty( const sp<AMessage> &format, std::function<sp<ABuffer>(size_t)> alloc) argument 670 ConstGraphicBlockBuffer( const sp<AMessage> &format, const sp<ABuffer> &aBuffer, std::unique_ptr<const C2GraphicView> &&view, const std::shared_ptr<C2Buffer> &buffer, const sp<ABuffer> &imageData, bool wrapped) argument 757 EncryptedLinearBlockBuffer( const sp<AMessage> &format, const std::shared_ptr<C2LinearBlock> &block, const sp<IMemory> &memory, int32_t heapSeqNum) argument [all...] |
/hardware/intel/common/libmix/videoencoder/ |
H A D | VideoEncoderUtils.cpp | 44 static int gfx_alloc(uint32_t w, uint32_t h, int format, argument 56 err = gralloc_device_alloc_img(gGralloc, w, h, format, usage, handle, 60 w, h, format, usage, err, strerror(-err)); 205 vinfo.format = h->iFormat; 304 if (HAL_PIXEL_FORMAT_NV12 == tmp.format || OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar == tmp.format) 307 //allocate new gfx buffer if format is not NV12 310 //use same size with original and HAL_PIXEL_FORMAT_NV12 format 364 //keep src color format is NV12, then do copy 410 LOG_V("%s: Format=%x, lumaStride=%d, width=%d, height=%d\n", mode, mVinfo.format, mVinf [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
H A D | HwcLayerList.cpp | 83 // check buffer format 86 VLOGTRACE("plane type %d: (bad buffer format)", planeType); 142 uint32_t format = hwcLayer->getFormat(); local 143 if (format != HAL_PIXEL_FORMAT_BGRA_8888 && 144 format != HAL_PIXEL_FORMAT_BGRX_8888) { 212 uint32_t format = hwcLayer->getFormat(); local 213 if (format != HAL_PIXEL_FORMAT_BGRA_8888 && 214 format != HAL_PIXEL_FORMAT_RGBA_8888) { 215 WLOGTRACE("unexpected color format %u for cursor", format); [all...] |
/hardware/interfaces/audio/core/all-versions/default/include/core/all-versions/default/ |
H A D | Stream.impl.h | 91 Return<void> Stream::getSupportedSampleRates(AudioFormat format, argument 94 context.addInt(String8(AUDIO_PARAMETER_STREAM_FORMAT), int(format)); 105 // Note that this method must succeed (non empty list) if the format is supported. 118 Return<void> Stream::getSupportedChannelMasks(AudioFormat format, argument 121 context.addInt(String8(AUDIO_PARAMETER_STREAM_FORMAT), int(format)); 134 // Note that this method must succeed (non empty list) if the format is supported. 179 Return<Result> Stream::setFormat(AudioFormat format) { argument 180 return setParam(AudioParameter::keyFormat, static_cast<int>(format));
|
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/ |
H A D | Gralloc1On0Adapter.cpp | 255 descriptor->height, descriptor->format, usage); 258 static_cast<int>(descriptor->height), descriptor->format, 398 int format = HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED; local 404 bufferHandle, &format); 412 descriptor.setFormat(format);
|
/hardware/interfaces/graphics/composer/2.1/utils/vts/ |
H A D | ComposerVts.cpp | 173 PixelFormat format, Dataspace dataspace) { 174 Error error = mClient->getClientTargetSupport(display, width, height, format, dataspace); 172 getClientTargetSupport(Display display, uint32_t width, uint32_t height, PixelFormat format, Dataspace dataspace) argument
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
H A D | media_hidl_test_common.cpp | 87 // get/set video component port format 125 ALOGE("setting default color format %x", (int)arrColorFormat[0]); 137 ALOGE("setting default compression format %x", 152 // get/set audio component port format 183 ALOGE("setting default Port format %x", (int)arrEncoding[0]); 197 int format) { 214 descriptorInfo.format = static_cast<PixelFormat>(format); 252 buffer->omxBuffer.attr.anwBuffer.format = descriptorInfo.format; 194 allocateGraphicBuffers(sp<IOmxNode> omxNode, OMX_U32 portIndex, BufferInfo* buffer, uint32_t nFrameWidth, uint32_t nFrameHeight, int32_t* nStride, int format) argument [all...] |
/hardware/libhardware/include/hardware/ |
H A D | tv_input.h | 279 /* OUT: Client must allocate a buffer with this format. */ 280 uint32_t format; member in struct:buffer_producer_stream 369 * producer streams. The buffer should be created with size, format and
|
/hardware/libhardware/modules/audio/ |
H A D | audio_policy.c | 100 audio_format_t format, 127 audio_format_t format, 97 ap_get_output(struct audio_policy *pol, audio_stream_type_t stream, uint32_t sampling_rate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *info) argument 125 ap_get_input(struct audio_policy *pol, audio_source_t inputSource, uint32_t sampling_rate, audio_format_t format, audio_channel_mask_t channelMask, audio_in_acoustics_t acoustics) argument
|
/hardware/libhardware/modules/camera/3_4/arc/ |
H A D | exif_utils.cpp | 278 // Since the exif format is undefined, NULL termination is not necessary. 384 ExifIfd ifd, ExifTag tag, ExifFormat format, uint64_t components, 409 entry->format = format; 383 AddVariableLengthEntry( ExifIfd ifd, ExifTag tag, ExifFormat format, uint64_t components, unsigned int size) argument
|
/hardware/libhardware/modules/camera/3_4/ |
H A D | v4l2_wrapper.cpp | 142 HAL_LOGE("Stream format must be set before turning on stream."); 158 // Can't have turned on the stream without format being set, 276 // is on, and if so, lock it off while setting format. Need to look 332 HAL_LOGE("Failed to get frame sizes for format: 0x%x", pixel_format); 373 for (auto& format : qualified_formats_) { 374 unique_fourccs.insert(format.fourcc); 415 HAL_LOGV("Standard size %u x %u is too small for format %d", 422 HAL_LOGV("Standard size %u x %u is too big for format %d", 498 HAL_LOGV("Already in correct format, skipping format settin 517 SupportedFormat format; local [all...] |
/hardware/libhardware_legacy/audio/ |
H A D | A2dpAudioInterface.cpp | 65 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 69 return mHardwareInterface->openOutputStream(devices, format, channels, sampleRate, status); 83 if ((err = out->set(devices, format, channels, sampleRate)) == NO_ERROR) { 108 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, 111 return mHardwareInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics); 203 size_t A2dpAudioInterface::getInputBufferSize(uint32_t sampleRate, int format, int channelCount) argument 205 return mHardwareInterface->getInputBufferSize(sampleRate, format, channelCount); 246 if (lFormat == 0) lFormat = format(); 251 if ((lFormat != format()) || 254 if (pFormat) *pFormat = format(); 64 openOutputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument 107 openInputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, AudioSystem::audio_in_acoustics acoustics) argument [all...] |
H A D | AudioDumpInterface.cpp | 60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 68 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status); 70 lFormat = outFinal->format(); 74 if (format != 0) { 75 if (*format != 0) { 76 lFormat = *format; 78 *format = lFormat; 126 AudioStreamIn* AudioDumpInterface::openInputStream(uint32_t devices, int *format, uint32_t *channels, argument 134 inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics); 136 lFormat = inFinal->format(); 59 openOutputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument 251 getInputBufferSize(uint32_t sampleRate, int format, int channelCount) argument 258 AudioStreamOutDump(AudioDumpInterface *interface, int id, AudioStreamOut* finalStream, uint32_t devices, int format, uint32_t channels, uint32_t sampleRate) argument 329 int AudioStreamOutDump::format() const function in class:android::AudioStreamOutDump 419 AudioStreamInDump(AudioDumpInterface *interface, int id, AudioStreamIn* finalStream, uint32_t devices, int format, uint32_t channels, uint32_t sampleRate) argument 533 int AudioStreamInDump::format() const function in class:android::AudioStreamInDump [all...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
H A D | aplay.c | 47 static int format = SNDRV_PCM_FORMAT_S16_LE; variable 61 {"format", 1, 0, 'F'}, 103 param_set_mask(params, SNDRV_PCM_HW_PARAM_FORMAT, pcm->format); 237 pcm->format = format; 493 fprintf(stderr, "aplay: Playing '%s': format %s ch = %d\n", 494 fn, get_format_desc(format), ch ); 535 fprintf(stderr, "Aplay:aplay: '%s' is not pcm format\n", fn); 554 fprintf(stderr, "aplay: Playing '%s':%s\n", fn, get_format_desc(format) ); 612 format [all...] |
H A D | arec.c | 53 static int format = SNDRV_PCM_FORMAT_S16_LE; variable 66 {"format", 1, 0, 'F'}, 106 param_set_mask(params, SNDRV_PCM_HW_PARAM_FORMAT, pcm->format); 210 pcm->format = format; 413 fprintf(stderr, "arec: %d ch, %d hz, %d bit, format %x\n", 414 ch, rate, 16, format); 566 format = (int)get_format(optarg); 608 if (format == SNDRV_PCM_FORMAT_S16_LE)
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/ |
H A D | mm_jpegdec_test.c | 76 int format; member in struct:__anon2495 208 void chromaScale(mm_jpeg_color_format format, double *cScale) argument 212 switch(format) { 232 LOGE("color format Error"); 255 chromaScale(p_input->format, &cScale); 272 p_params->color_format = p_input->format; 278 p_params->dest_buf[0].format = MM_JPEG_FMT_YUV; 294 p_params->src_main_buf[0].format = MM_JPEG_FMT_BITSTREAM; 328 fprintf(stderr, " -F FORMAT\t\tDefault image format:\n"); 365 int format local [all...] |
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-lib2d-interface/test/ |
H A D | mm_lib2d_test.c | 102 * @format: format of the input yuv frame 110 cam_format_t format; member in struct:input_yuv_data_t 140 // assuming buffer format is always ARGB 141 void lib2d_dump_tga(void *addr, cam_format_t format, int width, argument 347 cam_format_t format = CAM_FORMAT_YUV_420_NV21; local 392 format = (uint32_t)atoi(argv[6]); 399 "<stride> <offset> <format> \n"); 410 format = input_nv21[index].format; [all...] |
/hardware/qcom/display/msm8084/libcopybit/ |
H A D | copybit.h | 43 * graphics/PixelFormat.java, ui/PixelFormat.h, pixelflinger/format.h 133 /* format COPYBIT_FORMAT_xxx */ 134 int32_t format; member in struct:copybit_image_t
|