Home
last modified time | relevance | path

Searched refs:in_buf (Results 1 – 18 of 18) sorted by relevance

/aosp12/frameworks/av/media/libstagefright/
H A DSimpleDecodingSource.cpp271 MediaBufferBase *in_buf; in doRead() local
273 in_buf = NULL; in doRead()
275 res = mSource->read(&in_buf, options); in doRead()
278 if (in_buf != NULL) { in doRead()
279 in_buf->release(); in doRead()
280 in_buf = NULL; in doRead()
305 } else if (in_buf->range_length() != 0) { in doRead()
308 in_buf->release(); in doRead()
311 if (in_buf != NULL) { in doRead()
320 memcpy(in_buffer->base(), (uint8_t *)in_buf->data() + in_buf->range_offset(), in doRead()
[all …]
/aosp12/system/media/audio_utils/
H A Dresampler.c36 int16_t *in_buf; // input buffer member
105 rsmp->in_buf = (int16_t *)realloc(rsmp->in_buf, in resampler_resample_from_provider()
114 memcpy(rsmp->in_buf + rsmp->frames_in * rsmp->channel_count, in resampler_resample_from_provider()
126 rsmp->in_buf, in resampler_resample_from_provider()
132 rsmp->in_buf, in resampler_resample_from_provider()
144 memmove(rsmp->in_buf, in resampler_resample_from_provider()
145 rsmp->in_buf + inFrames * rsmp->channel_count, in resampler_resample_from_provider()
235 rsmp->in_buf = NULL; in create_resampler()
259 free(rsmp->in_buf); in release_resampler()
/aosp12/system/keymaster/tests/fuzzers/
H A Dbuffer_fuzz.cpp47 std::unique_ptr<uint8_t[]> in_buf = std::unique_ptr<uint8_t[]>(new uint8_t[buf_size]); in __anon2caa59c60602() local
48 buf->Reinitialize(in_buf.get(), buf_size); in __anon2caa59c60602()
52 std::unique_ptr<uint8_t[]> in_buf = std::unique_ptr<uint8_t[]>(new uint8_t[buf_size]); in __anon2caa59c60702() local
53 const uint8_t* data_ptr = in_buf.get(); in __anon2caa59c60702()
65 std::vector<uint8_t> in_buf = fdp->ConsumeBytes<uint8_t>(buf_size); in __anon2caa59c60902() local
66 buf->write(in_buf.data(), fdp->ConsumeIntegralInRange<int16_t>(0, buf_size)); in __anon2caa59c60902()
H A Dmessage_serializable_fuzz.cpp30 std::unique_ptr<uint8_t[]> in_buf = std::unique_ptr<uint8_t[]>(new uint8_t[buf_size]); in RunDeserialize() local
31 const uint8_t* data_ptr = in_buf.get(); in RunDeserialize()
/aosp12/packages/apps/Gallery2/jni_jpegstream/src/
H A Djpegstream.cpp227 jbyte* in_buf = (jbyte*) env->GetByteArrayElements(inBuffer, 0); in OutputStream_writeInputBytes() local
228 if (env->ExceptionCheck() || in_buf == NULL) { in OutputStream_writeInputBytes()
232 int8_t* in_bytes = static_cast<int8_t*>(in_buf); in OutputStream_writeInputBytes()
242 env->ReleaseByteArrayElements(inBuffer, in_buf, JNI_ABORT); in OutputStream_writeInputBytes()
253 jbyte* in_buf = (jbyte*) env->GetByteArrayElements(inBuffer, 0); in InputStream_readDecodedBytes() local
254 if (env->ExceptionCheck() || in_buf == NULL) { in InputStream_readDecodedBytes()
257 int8_t* in_bytes = static_cast<int8_t*>(in_buf); in InputStream_readDecodedBytes()
269 env->ReleaseByteArrayElements(inBuffer, in_buf, JNI_ABORT); in InputStream_readDecodedBytes()
271 env->ReleaseByteArrayElements(inBuffer, in_buf, JNI_COMMIT); in InputStream_readDecodedBytes()
/aosp12/system/extras/app-launcher/
H A Dcomputestats.c20 char in_buf[BUFSIZE]; variable
58 while (fgets(in_buf, BUFSIZE, in_fp)) { in main()
64 sscanf(in_buf, "%ju", &data_items[num_data_items]); in main()
H A Dcomputestatsf.c20 char in_buf[BUFSIZE]; variable
58 while (fgets(in_buf, BUFSIZE, in_fp)) { in main()
64 sscanf(in_buf, "%lf", &data_items[num_data_items]); in main()
/aosp12/bionic/libc/kernel/uapi/linux/
H A Dndctl.h40 __u8 in_buf[0]; member
45 __u8 in_buf[0]; member
/aosp12/frameworks/av/media/codecs/amrwb/enc/src/
H A Dwb_vad.c761 Word16 in_buf[] /* i : samples of the input frame */ in wb_vad() argument
773 L_temp = L_mac(L_temp, in_buf[i], in_buf[i]); in wb_vad()
788 filter_bank(st, in_buf, level); in wb_vad()
/aosp12/frameworks/av/media/codecs/amrwb/enc/inc/
H A Dwb_vad.h74 Word16 wb_vad(VadVars * st, Word16 in_buf[]);
/aosp12/frameworks/av/media/codecs/amrnb/common/include/
H A Dvad1.h182 Word16 in_buf[], /* i : samples of the input frame
/aosp12/frameworks/av/media/codecs/amrnb/common/src/
H A Dvad1.cpp2290 Word16 in_buf[], /* i : samples of the input frame */ in vad1() argument
2303 pow_sum = L_mac(pow_sum, in_buf[i-LOOKAHEAD], in_buf[i-LOOKAHEAD], pOverflow); in vad1()
2325 filter_bank(st, in_buf, level, pOverflow); in vad1()
/aosp12/system/extras/ioshark/
H A Dcompile_ioshark.c33 char in_buf[2048]; variable
564 while (fgets(in_buf, 2048, fp)) { in main()
565 s = in_buf; in main()
/aosp12/hardware/qcom/msm8996/kernel-headers/linux/
H A Dqseecom.h132 uint8_t * in_buf; member
/aosp12/hardware/qcom/msm8x09/kernel-headers/linux/
H A Dqseecom.h132 uint8_t * in_buf; member
/aosp12/hardware/qcom/msm8996/original-kernel-headers/linux/
H A Dqseecom.h184 uint8_t *in_buf; member
/aosp12/hardware/qcom/msm8x09/original-kernel-headers/
H A Dqseecom.h184 uint8_t *in_buf; member
/aosp12/hardware/qcom/camera/msm8998/usbcamcore/src/
H A DQualcommUsbCamera.cpp119 static int convert_YUYV_to_420_NV12(char *in_buf, char *out_buf, int wd, int ht);
718 static int convert_YUYV_to_420_NV12(char *in_buf, char *out_buf, int wd, int ht) in convert_YUYV_to_420_NV12() argument
728 out_buf[row * wd + col / 2] = in_buf[row * wd * 2 + col]; in convert_YUYV_to_420_NV12()
735 out_buf[uv_row * wd + col / 2]= in_buf[row * wd * 2 + col + 2]; in convert_YUYV_to_420_NV12()
736 out_buf[uv_row * wd + col / 2 + 1] = in_buf[row * wd * 2 + col]; in convert_YUYV_to_420_NV12()