Searched refs:buffer_ref (Results 1 – 3 of 3) sorted by relevance
24 jobject buffer_ref = env->NewGlobalRef(buffer); in Java_org_brotli_wrapper_common_CommonJNI_nativeSetDictionaryData() local25 if (!buffer_ref) { in Java_org_brotli_wrapper_common_CommonJNI_nativeSetDictionaryData()30 env->DeleteGlobalRef(buffer_ref); in Java_org_brotli_wrapper_common_CommonJNI_nativeSetDictionaryData()38 env->DeleteGlobalRef(buffer_ref); in Java_org_brotli_wrapper_common_CommonJNI_nativeSetDictionaryData()
33 auto& buffer_ref = *buffer; in MaybeResetBuffer() local34 if (!buffer_ref.get() || buffer_ref->num_frames() != config.num_frames() || in MaybeResetBuffer()35 buffer_ref->num_channels() != config.num_channels()) { in MaybeResetBuffer()36 buffer_ref.reset(new ChannelBuffer<float>(config.num_frames(), in MaybeResetBuffer()
542 linked_ptr<BitstreamBufferRef>& buffer_ref = decoder_input_queue_.front(); in DecodeBufferTask() local543 if (decoder_delay_bitstream_buffer_id_ == buffer_ref->input_id) { in DecodeBufferTask()549 decoder_current_bitstream_buffer_.reset(buffer_ref.release()); in DecodeBufferTask()